Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

refactor: migrate to theme-ui from rebass

Abdullah Attad81f5dba6579
diff --git a/.eslintrc.js b/.eslintrc.js
index d9f9fb936..940594bd7 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,24 @@
+const LICENSE = [
+ "",
+ "This file is part of the Notesnook project (https://notesnook.com/)",
+ "",
+ "Copyright (C) 2022 Streetwriters (Private) Limited",
+ "",
+ "This program is free software: you can redistribute it and/or modify",
+ "it under the terms of the GNU General Public License as published by",
+ "the Free Software Foundation, either version 3 of the License, or",
+ "(at your option) any later version.",
+ "",
+ "This program is distributed in the hope that it will be useful,",
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of",
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
+ "GNU General Public License for more details.",
+ "",
+ "You should have received a copy of the GNU General Public License",
+ "along with this program. If not, see <http://www.gnu.org/licenses/>.",
+ ""
+];
+
module.exports = {
env: {
browser: true,
@@ -28,7 +49,7 @@ module.exports = {
"detox",
"jest",
"react-native",
- "license-header",
+ "header",
"react-hooks"
],
rules: {
@@ -57,7 +78,7 @@ module.exports = {
semi: ["error", "always"],
"@typescript-eslint/no-empty-function": "off",
"react/prop-types": "off",
- "license-header/header": ["error", "./resources/license-header.js"]
+ "header/header": ["error", "block", LICENSE, 1]
},
settings: {
react: {
diff --git a/apps/mobile/app/app.js b/apps/mobile/app/app.js
index 59e66a08b..a4248af61 100644
--- a/apps/mobile/app/app.js
+++ b/apps/mobile/app/app.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import { GestureHandlerRootView } from "react-native-gesture-handler";
diff --git a/apps/mobile/app/assets/images/assets.js b/apps/mobile/app/assets/images/assets.js
index 20c613f74..599713c7d 100644
--- a/apps/mobile/app/assets/images/assets.js
+++ b/apps/mobile/app/assets/images/assets.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const LAUNCH_ROCKET = (color) =>
`<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" width="748.82965" height="557.20035" viewBox="0 0 748.82965 557.20035" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M276.60133,642.057c-3.59968,0-7.20676.1709-10.72934.51563l-.51267.0498c-23.36542,2.37793-40.45611,16.17286-39.75323,32.08985l.13588,2.87793c.08961,1.81933.18508,3.77539.26367,5.94531.04255,1.07031,1.31106,1.8916,2.88946,1.8916H803.62751c40.52148-.2832,80.89606-.63965,119.9956-1.05957a177.65216,177.65216,0,0,0,21.95374-1.30957c10.86591-1.48047,18.40759-4.415,23.05841-8.97168h.00147c5.78332-5.65039,5.96551-12.76562,5.6159-20.80469-.71246-16.23242-1.419-33.28515-2.12414-50.28613-.62281-14.9834-1.24274-29.92676-1.86261-44.2334-.38343-8.49023-1.23536-15.98437-7.80317-21.71191-7.11865-6.19434-20.10137-9.334-38.58831-9.334-.22333,0-.44507,0-.67133.001-57.9361.23731-115.34192,23.1709-142.8454,57.06732-3.16711,3.90332-6.11822,8.082-8.97247,12.124a158.91584,158.91584,0,0,1-13.7804,17.66406,66.94863,66.94863,0,0,1-9.10321,8.16894c-.22326.17774-.47888.36817-.7492.54883-.61847.46387-1.26477.91114-1.895,1.30957a62.04148,62.04148,0,0,1-11.60926,6.07617l-.40692.15723c-.30627.126-.6383.252-.97027.36719a68.20886,68.20886,0,0,1-7.17,2.20605c-10.484,2.66016-22.40545,3.29785-35.43151,1.89356a151.75182,151.75182,0,0,1-35.2295-8.26465c-12.06244-4.38867-23.3529-9.86035-34.27173-15.15137-4.79614-2.32519-9.75683-4.72851-14.711-7.00586-.93134-.42871-1.84723-.84765-2.7771-1.2666-6.05066-2.71484-11.5365-4.957-16.77045-6.85449a146.28118,146.28118,0,0,0-39.96478-8.52149c-14.40918-.9082-27.10688.80469-37.73191,5.07911a60.6496,60.6496,0,0,0-8.53469,4.23339c-12.58466,7.52344-20.343,18.627-27.845,29.36524-9.33233,13.35644-18.98275,27.16894-38.0382,34.3291-21.98825,8.26953-54.08371,4.834-76.791-1.14062-7.13919-1.87891-14.26956-4.04-21.16565-6.13086q-4.17768-1.26719-8.36136-2.51661c-5.48071-1.6289-9.96621-2.877-14.116-3.93066l-1.31253-.33594c-.73008-.18261-1.46088-.36523-2.20493-.53906-4.92911-1.19141-9.51892-2.12891-14.03891-2.86621l-1.06943-.17969c-2.144-.32519-4.14834-.5957-6.11526-.82324l-.78516-.08984A109.23844,109.23844,0,0,0,276.60133,642.057Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M343.64,685.3514a1.19069,1.19069,0,0,1,1.18683-1.19452h510.294a1.19069,1.19069,0,0,1,0,2.38135h-510.294A1.19066,1.19066,0,0,1,343.64,685.3514Z" transform="translate(-225.58517 -171.39982)" fill="#cacaca"/><path d="M746.00469,214.43986a42.86006,42.86006,0,0,1-11.46,29.24c-.56.61-1.15,1.2-1.75,1.77a650.40347,650.40347,0,0,0-69.84-46.89c.3-.76.62-1.51.97-2.25a43.04295,43.04295,0,0,1,82.08,18.13Z" transform="translate(-225.58517 -171.39982)" fill="#ff6584"/><path d="M780.91466,302.03984l-.04.45q-42.465-2.925-84.92-5.86c-20.45-1.41-41.61-3.01-59.68-12.69-6.86005-3.67-13.54-8.57-21.32-8.91-9.65-.43-18.07,6.32-24.69,13.36-39.13,41.68-50.46,105.41-94.36,142.02a1394.13755,1394.13755,0,0,1,98.86-197.31c7.04-11.65,15.39-24.09,28.46-27.89,12.47-3.63,25.23,1.67,36.71,8.47,2.46,1.46,4.86,2.99,7.18,4.51q26.535,17.36994,52.2,36.06995Q750.82971,277.19487,780.91466,302.03984Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M872.47466,390.43986a670.65125,670.65125,0,0,0-104.75-116.27q-16.965-14.91-34.93-28.72a650.40347,650.40347,0,0,0-69.84-46.89q-11.94-6.93-24.16-13.31c-6.33-3.29-13.07-6.3-20.37-5.83a27.10218,27.10218,0,0,0-14.07,5.41c-8.97,6.55-14.91,16.78-19.8,26.53-4.28,8.55-8.27,17.27-12.34,25.94-1.73,3.69-3.46,7.37-5.25,11.03q-9.36008,19.23-19.16,38.25-12.63,24.51-25.99,48.65-28.065,50.745-59.23,99.66-45.81006,71.895-98.02,139.43c-4.27,5.51-6.03,6.79-10.36,12.26-1,1.28-2.78-.52-1.79-1.79,36.11005-45.64,67.55005-88.76,99.25-137.58q35.85-55.215,67.76-112.88,10.245-18.49494,20.06-37.22,15.885-30.315,30.67-61.2,3.9-8.13,7.72-16.32c8.09-17.33,19.87-43.1,42.62-42.75,6.69.1,12.9,2.81,18.76,5.81,5.97,3.07,11.83,6.33,17.68,9.64q3.51,1.98,6.99,4.02,13.785,8.00994,27.16,16.69,22.32,14.47494,43.46,30.68,10.035,7.695,19.77,15.74a673.54712,673.54712,0,0,1,109.09,114.31q5.74493,7.635,11.25,15.44C875.59472,390.49986,873.40472,391.75981,872.47466,390.43986Z" transform="translate(-225.58517 -171.39982)" fill="#e4e4e4"/><path d="M769.97685,261.4421c1.32186-1.47358,2.63549-2.94715,3.966-4.42072C784.43462,245.418,795.6924,233.94944,810.1,227.2973a52.4571,52.4571,0,0,1,21.97735-5.09434c7.86453.02529,15.55227,2.08825,22.819,4.97649,3.43559,1.37253,6.79554,2.93029,10.10449,4.58908,3.781,1.903,7.4945,3.93237,11.19076,5.97852q10.40791,5.75957,20.54571,12.02432,20.17137,12.46641,39.07925,26.83584,9.80167,7.45209,19.19878,15.39253,8.74029,7.37624,17.127,15.14831c1.19563,1.10307,2.98086-.68205,1.78523-1.78512-1.47357-1.37253-2.964-2.73664-4.45443-4.08388q-6.31532-5.70906-12.8329-11.19919-11.885-10.0287-24.38547-19.2827-19.43869-14.39893-40.21568-26.84427-10.38264-6.21425-21.051-11.90647c-2.14745-1.14516-4.32-2.26509-6.51759-3.32607a103.89918,103.89918,0,0,0-15.49347-6.30688,55.11725,55.11725,0,0,0-23.40035-2.29875,60.92335,60.92335,0,0,0-21.59005,7.46889c-14.14612,7.90678-25.11773,20.13318-35.795,32.06494C767.11358,260.86109,768.89058,262.65464,769.97685,261.4421Z" transform="translate(-225.58517 -171.39982)" fill="#e4e4e4"/><path d="M480.12667,381.68342l-33.89782-12.39828-16.83038-6.15579c-5.48137-2.00484-10.94957-4.28719-16.616-5.72275a26.21362,26.21362,0,0,0-15.03952.19162,34.66256,34.66256,0,0,0-11.73046,7.27166,95.19524,95.19524,0,0,0-9.62144,10.275c-3.66428,4.40365-7.27444,8.85345-10.90079,13.28835q-22.45,27.45558-44.6064,55.14948-22.1559,27.69344-44.01554,55.62218-21.91307,27.997-43.52474,56.22818-2.64747,3.45842-5.2904,6.92031c-.97346,1.275-3.16844.018-2.18124-1.275q21.77112-28.515,43.84571-56.79666,22.1289-28.3492,44.56359-56.45793,22.43425-28.10817,45.17171-55.97256,5.66458-6.94185,11.34787-13.86842c3.196-3.89521,6.356-7.83243,9.86155-11.45793,6.43462-6.65486,14.47386-12.536,24.09692-12.69554,5.65786-.09382,11.13345,1.70155,16.3902,3.60326,5.667,2.05012,11.32041,4.1386,16.98015,6.20868l34.13486,12.485,8.53372,3.12124c1.51441.55391.8602,2.99613-.67154,2.43589Z" transform="translate(-225.58517 -171.39982)" fill="#e4e4e4"/><path d="M814.56088,241.89784c17.22612-8.85335,39.28657-7.11936,55.11616,3.94157a786.11526,786.11526,0,0,0-89.43729,20.87423C792.44014,259.5639,801.98377,248.36189,814.56088,241.89784Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M869.84659,245.80893l3.31625,2.69552c-1.12172-.94344-2.28786-1.828-3.4858-2.665C869.73362,245.82965,869.79,245.8187,869.84659,245.80893Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M387.28886,381.80727c3.33682-4.06177,6.94448-8.31469,11.93551-9.96449l4.65975.18379A528.5525,528.5525,0,0,1,263.10428,532.971Q325.19657,457.38918,387.28886,381.80727Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M736.79357,610.34291l-28.21714-12.44874V587.19183l10.0561-.05651a7.46918,7.46918,0,0,0,7.044-5.10714l7.06437-21.193a7.46924,7.46924,0,0,0-7.08594-9.83122h-17.0785v-9.959h21.44024a7.46925,7.46925,0,0,0,7.27937-5.79584l4.865-21.16286a7.46923,7.46923,0,0,0-7.27937-9.14265H708.57643v-2.48975a4.97949,4.97949,0,0,0-9.959,0v2.48975H522.26028v-2.48975a4.9795,4.9795,0,0,0-9.959,0v2.48975h-20.9108a7.46923,7.46923,0,0,0-7.27937,9.14265l4.865,21.16286a7.46925,7.46925,0,0,0,7.27937,5.79584h16.04578v9.959H500.617a7.46923,7.46923,0,0,0-7.10927,9.76L500.7181,583.141a7.46925,7.46925,0,0,0,7.15123,5.17837l4.432-.0249v9.59968l-22.82269,12.44874a7.46922,7.46922,0,0,0-7.46924,7.46922v0a7.46925,7.46925,0,0,0,7.46924,7.46925h22.82269v54.77446a4.9795,4.9795,0,0,0,9.959,0V625.2814H698.61744v54.77446a4.9795,4.9795,0,0,0,9.959,0V625.2814h28.21714a7.46925,7.46925,0,0,0,7.46925-7.46925v0A7.46922,7.46922,0,0,0,736.79357,610.34291Zm-214.53329-69.298H698.61744v9.959H522.26028Zm0,56.84925v-9.65563l176.35716-.99076v10.64639Z" transform="translate(-225.58517 -171.39982)" fill="#ccc"/><path d="M315.95555,589.21408l7.98486-26.00457a87.77022,87.77022,0,0,0-35.0839-23.50552c13.12443,21.74329.40683,50.10772,5.70643,74.94591a52.79391,52.79391,0,0,0,28.27717,35.97783l12.11706,15.0135a88.46589,88.46589,0,0,0,6.50218-73.78667,85.453,85.453,0,0,0-9.89442-19.0176C324.36444,581.302,315.95555,589.21408,315.95555,589.21408Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M272.05023,592.53665l-4.45075-26.83629a87.7702,87.7702,0,0,0-41.8846-5.39169c21.444,13.60792,22.71121,44.6671,38.53194,64.53481a52.79391,52.79391,0,0,0,41.3547,19.59061l17.541,8.03374a88.466,88.466,0,0,0-27.08773-68.942,85.45248,85.45248,0,0,0-17.3374-12.60883C276.04789,581.70478,272.05023,592.53665,272.05023,592.53665Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M902.5106,479.11845,885.044,458.26383a87.77019,87.77019,0,0,1,23.18573-35.29606c-3.63882,25.13524,19.10562,46.32412,23.87929,71.26873a52.79386,52.79386,0,0,1-12.06557,44.141l-5.327,18.54322a88.4659,88.4659,0,0,1-34.67683-65.45432,85.45238,85.45238,0,0,1,1.72257-21.36823C891.68721,475.0979,902.5106,479.11845,902.5106,479.11845Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><path d="M944.2538,465.1105,937.92125,438.655a87.77005,87.77005,0,0,1,36.49358-21.25108c-14.46674,20.87426-3.55934,49.98279-10.41151,74.43825a52.79393,52.79393,0,0,1-30.48523,34.127l-13.03785,14.2212a88.46591,88.46591,0,0,1-1.84586-74.0496,85.45328,85.45328,0,0,1,11.0716-18.35724C936.35949,456.68492,944.2538,465.1105,944.2538,465.1105Z" transform="translate(-225.58517 -171.39982)" fill="#f2f2f2"/><polygon points="373.867 536.045 362.393 541.58 335.583 499.958 352.517 491.789 373.867 536.045" fill="#ffb6b6"/><path d="M600.74559,539.92239,590.54818,555.309s-60.63447,40.15326-58.10323,55.09015c.88547,5.22518,4.73286,16.21626,9.68184,28.46477,1.52072,3.76372,8.6663,11.24446,10.34108,15.11482,8.45541,19.54026,12.66545,35.17435,16.72606,37.26588,4.50965,2.33785,4.0477.48289,6.81076,4.74524l16-6s2.492-5.59411,3.72976-8.36482-.70312-4.14914-.70312-4.14914-2.34884,1.25171-1.9409-1.37838.26732-3.45993-.70312-4.14914-4.72555-7.73579-4.72555-7.73579a69.82223,69.82223,0,0,1-8.19389-16.23385c-.89266-2.521-.8037-8.56182-2-11-2.52046-5.13691-3.41208-8.92851-7.48445-11.59957,0,0,51.26687-24.90725,56.0774-36.82s-.13917-51.19588-.13917-51.19588Z" transform="translate(-225.58517 -171.39982)" fill="#2f2e41"/><path d="M605.53555,713.49,566.738,728.60018l-.19114-.49072A16.2068,16.2068,0,0,1,575.766,707.127l.001-.00038,4.99263-8.13674,15.31681.227,3.38679-1.319Z" transform="translate(-225.58517 -171.39982)" fill="#2f2e41"/><polygon points="470.462 475.448 489.209 474.029 486.873 523.483 474.17 524.444 470.462 475.448" fill="#ffb6b6"/><path d="M593.02692,553.52922c-4.3106-18.98155,7.83714,37.61669,20.4366,48.19854,4.95423,4.16091,25.69256-.14621,42.8621,1.16619a87.67112,87.67112,0,0,1,30.31954,8.23641c-2.73885,4.99134.12692,12.43982.6598,19.13657.97215,12.21694,1.951,23.45149,1.951,23.45149s-.00949,7.98466-.54308,9.04866-.26835,1.86279,1.326,3.99393-1.06716,2.12794-1.06716,2.12794-1.06715,2.128,1.326,3.99393,8.07377,7.30057,8.07377,7.30057l15.2371-1.353c.44-5.06062,1.75485-5.72611,4.64021-9.90671,2.74584-3.95613,2.11713-27.69491.18239-49.97665-.13112-1.5101,1.975-6.26147,1.83251-7.75157-1.42952-14.95072-5.64132-25.31417-7.49858-30.90816-1.28141-3.85954-7.43466-7.18789-15.75192-9.99213-1.26923-.42794-2.58886-.84367-3.94927-1.24722-22.9351-6.80347-57.45854-10.145-57.45854-10.145l-18.87706-16.79029Z" transform="translate(-225.58517 -171.39982)" fill="#2f2e41"/><path d="M698.047,693.13029l3.44938-1.14538,11.64877-9.948,9.036,3.07948.001-.00032a16.2068,16.2068,0,0,1,20.48676,10.27369l.16594.49981-39.51465,13.1209Z" transform="translate(-225.58517 -171.39982)" fill="#2f2e41"/><path d="M610.42386,444.23228l-11.34,8.635-13.676,4.20263s-5.65377,79.52833-10.74813,84.62269-.49987,5.23128-1.52352,11.84916-3.51168,20.18377-3.51168,20.18377c34.38707,18.20258,64.03233,18.69086,87.845-2.60926a5.93117,5.93117,0,0,0-3.23608-6.69462c-4.43194-2.35163,4.08556-13.32756.4636-15.16273s1.47241-17.755,1.47241-17.755l-3.34187-33.21557,2.64024-5.30957-6.44317-32.48858-11.18013-4.083-4.466-10.76026Z" transform="translate(-225.58517 -171.39982)" fill="${color}"/><circle cx="396.44756" cy="245.59574" r="22.43078" fill="#ffb6b6"/><path d="M603.31993,585.581a9.8303,9.8303,0,0,0-11.20736-10.08022l-15.98166-31.06366L567.227,560.25692l16.54148,27.07327a9.88361,9.88361,0,0,0,19.55136-1.74918Z" transform="translate(-225.58517 -171.39982)" fill="#ffb6b6"/><path d="M576.40552,577.98205l-34.27838-53.12743.11315-.24444c.12942-.28007,7.89169-17.0446,15.413-32.39983,1.15826-2.36467,2.31081-4.69592,3.42889-6.9284q.72381-1.44525,1.42605-2.83006c3.159-6.22783,5.919-11.37528,7.56649-13.8204A29.01536,29.01536,0,0,1,585.45,456.96784l.15859-.04078.15141.06312a14.72433,14.72433,0,0,1,8.76284,16.19753,104.296,104.296,0,0,1-19.35291,43.755l-5.557,7.32473,19.31154,41.98522Z" transform="translate(-225.58517 -171.39982)" fill="${color}"/><path d="M665.672,597.791v1.42726a3.15238,3.15238,0,0,1-3.1517,3.15168H557.69779a3.15237,3.15237,0,0,1-3.1517-3.15168V597.791a3.15235,3.15235,0,0,1,3.1517-3.15167H559.559a2.65083,2.65083,0,0,1-.10157-.70776V540.43129a2.645,2.645,0,0,1,2.64324-2.64334h96.01673a2.645,2.645,0,0,1,2.64325,2.64334v53.50028a2.49845,2.49845,0,0,1-.10158.70776h1.8612A3.15235,3.15235,0,0,1,665.672,597.791Z" transform="translate(-225.58517 -171.39982)" fill="#3f3d56"/><path d="M612.17439,568.01513a5.99072,5.99072,0,1,1,5.99071-5.99072A5.99747,5.99747,0,0,1,612.17439,568.01513Zm0-10.94882a4.95811,4.95811,0,1,0,4.9581,4.9581A4.96375,4.96375,0,0,0,612.17439,557.06631Z" transform="translate(-225.58517 -171.39982)" fill="#fff"/><circle cx="384.52404" cy="388.55935" r="5.47437" fill="#fff"/><path d="M694.27889,374.33627a9.83029,9.83029,0,0,0,2.35881,14.888l-7.14559,34.1951,16.87861-6.68267,4.19795-31.44773A9.88361,9.88361,0,0,0,694.279,374.33631Z" transform="translate(-225.58517 -171.39982)" fill="#ffb6b6"/><path d="M710.402,397.18741l-6.82552,62.85653-.24182.11865c-.19928.09793-8.84664,4.33935-19.46132,9.3906-1.79066.85213-1.534,4.54333-3.40547,5.42554-1.28914.60769-4.69342-1.5973-5.996-.98816-11.6023,5.42574-23.33421,10.70159-28.00981,12.13114a29.01531,29.01531,0,0,1-19.2887-.621l-.14887-.06818-.07788-.14438a14.72433,14.72433,0,0,1,3.39225-18.10082,104.29609,104.29609,0,0,1,42.58656-21.80405l8.92931-2.19087,11.43611-44.77622Z" transform="translate(-225.58517 -171.39982)" fill="${color}"/><path d="M672.18567,373.68221l2.56841,23.30916A2.84507,2.84507,0,0,0,677.47344,399h11.83939a2.84516,2.84516,0,0,0,2.71966-2.00863l2.12733-17.86534A4.32088,4.32088,0,1,0,695.274,370.998a2.8198,2.8198,0,0,0-2.15867-.998h-18.21A2.84558,2.84558,0,0,0,672.18567,373.68221Zm22.34593,4.23569,1.303-4.23569a2.8158,2.8158,0,0,0,.04308-1.506c.05574-.003.10816-.01661.1645-.01661a3.08511,3.08511,0,0,1,0,6.17022A3.04612,3.04612,0,0,1,694.5316,377.9179Z" transform="translate(-225.58517 -171.39982)" fill="#3f3d56"/><path d="M640.30289,397.72555c-1.84465-5.36654-11.02746-9.08881-25.91418-9.60638s-18.66227,17.02576-18.66227,17.02576c-9.938,8.06174,10.61182,29.64505,11.606,28.86767l-.447-4.05508C606.1452,423.24079,603,418,607,411l3.841.0441q7.441,1.43086,14.882,2.8617l-5.87291-5.17092.1656-.25624a22.7265,22.7265,0,0,0,8.01667,2.43412c3.15652.18554,6.6074-1.0707,8.11933-3.84781a6.46562,6.46562,0,0,0,.72539-2.46008c4.25656,1.70064,6.203,6.94811,6.203,6.94811S642.14753,403.09209,640.30289,397.72555Z" transform="translate(-225.58517 -171.39982)" fill="#2f2e41"/></svg>`;
@@ -24,7 +25,7 @@ export const COMMUNITY_SVG = (color) => `
`;
export const SUPPORT_SVG = () =>
- "<svg data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"979.32677\" height=\"424.8366\" viewBox=\"0 0 979.32677 424.8366\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><path d=\"M993.71816,412.83936H419.142a9.19888,9.19888,0,0,0,0,18.39776H435.417V651.3026a9.19888,9.19888,0,0,0,18.39776,0l.1398-220.06548h461.1557l42.52,220.06548a9.19887,9.19887,0,1,0,18.39775,0l2.67633-220.06548h15.01383a9.19888,9.19888,0,0,0,0-18.39776Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M518.73716,371.85047v38.9547H421.141a19.48915,19.48915,0,1,1-1.35523-38.95474q.67739-.02358,1.35523,0Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M521.13449,410.50552a1.49881,1.49881,0,0,1-1.49822,1.49822H419.40273a20.52615,20.52615,0,0,1,0-41.05229H519.63627a1.49827,1.49827,0,1,1,0,2.99653H419.40273a17.52964,17.52964,0,0,0,0,35.05924H519.63627A1.49883,1.49883,0,0,1,521.13449,410.50552Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#000000\"/><path d=\"M518.73716,380.84H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M518.73716,388.03169H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M518.73716,395.22332H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M518.73716,402.41487H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M500.33941,330.80932v38.95474H402.74324a19.48915,19.48915,0,0,1-1.35522-38.95474q.67737-.02358,1.35522,0Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M502.73673,369.46442a1.49885,1.49885,0,0,1-1.49822,1.49826H401.005a20.52614,20.52614,0,0,1,0-41.05229H501.23851a1.49826,1.49826,0,1,1,0,2.99652H401.005a17.52964,17.52964,0,0,0,0,35.05928H501.23851A1.49884,1.49884,0,0,1,502.73673,369.46442Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#3f3d56\"/><path d=\"M500.33941,339.79886H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M500.33941,346.99054H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M500.33941,354.18217H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M500.33941,361.37376H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M613.87355,550.68347V516.71838a5.661,5.661,0,0,0-5.66085-5.66085H479.4284a5.661,5.661,0,0,0-5.66084,5.66085v33.96509Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><rect x=\"363.43092\" y=\"325.83868\" width=\"140.10602\" height=\"43.87158\" fill=\"#ccc\"/><path d=\"M473.76756,620.02887V653.994a5.661,5.661,0,0,0,5.66084,5.66084H608.2127a5.661,5.661,0,0,0,5.66085-5.66084V620.02887Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><circle cx=\"432.77633\" cy=\"294.70402\" r=\"4.24564\" fill=\"#fff\"/><circle cx=\"432.77633\" cy=\"351.3125\" r=\"4.24564\" fill=\"#fff\"/><circle cx=\"433.00385\" cy=\"406.72228\" r=\"4.24564\" fill=\"#fff\"/><path d=\"M597.989,472.33053v38.9547H500.39287a19.48916,19.48916,0,0,1-1.35647-38.9547q.678-.02358,1.35647,0Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M600.38637,510.98558a1.49881,1.49881,0,0,1-1.49822,1.49822H498.65461a20.52615,20.52615,0,0,1-.0247-41.05229H598.88815a1.49827,1.49827,0,1,1,0,2.99653H498.65461a17.52963,17.52963,0,0,0,0,35.05923H598.88815A1.49885,1.49885,0,0,1,600.38637,510.98558Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#3f3d56\"/><path d=\"M597.989,481.32H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M597.989,488.51175H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M597.989,495.70338H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M597.989,502.89493H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M483.36747,317.81415H438.90162a2.74745,2.74745,0,0,0-1.21689.28306l-11.22288,5.61835a2.0452,2.0452,0,0,0,0,3.76443l11.22288,5.61835a2.74718,2.74718,0,0,0,1.21689.28306h44.46585a2.33381,2.33381,0,0,0,2.4628-2.16532v-11.2367A2.3338,2.3338,0,0,0,483.36747,317.81415Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#3f3d56\"/><path d=\"M485.83027,319.97947v11.2367a2.33383,2.33383,0,0,1-2.4628,2.16532h-8.8589V317.81415h8.8589A2.33383,2.33383,0,0,1,485.83027,319.97947Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#000000\"/><path d=\"M216.78083,537.99332a35.33951,35.33951,0,0,0,34.12552-6.01134c11.95262-10.03214,15.70013-26.56,18.74934-41.864q4.50949-22.63308,9.019-45.26617l-18.88217,13.00153c-13.57891,9.34993-27.46375,18.99939-36.86572,32.54233S209.42082,522.42587,216.975,537.08\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#e6e6e6\"/><path d=\"M218.39489,592.79741c-1.91113-13.92071-3.87625-28.0202-2.53572-42.09016,1.19057-12.4956,5.00277-24.70032,12.764-34.70734a57.73582,57.73582,0,0,1,14.81307-13.42309c1.48131-.935,2.84468,1.41257,1.36983,2.34348a54.88844,54.88844,0,0,0-21.71125,26.19626c-4.72684,12.02273-5.48591,25.12848-4.67135,37.90006.4926,7.72345,1.53656,15.39627,2.58859,23.05926a1.40615,1.40615,0,0,1-.94781,1.66928,1.3653,1.3653,0,0,1-1.6693-.94781Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M236.80246,568.16434a26.01425,26.01425,0,0,0,22.6665,11.69871c11.47417-.54466,21.04-8.55293,29.651-16.15584l25.46969-22.48783-16.85671-.80672c-12.12234-.58011-24.55745-1.12124-36.10356,2.617s-22.19457,12.73508-24.30583,24.68624\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#e6e6e6\"/><path d=\"M212.99392,600.79976c9.19853-16.27621,19.86805-34.36538,38.93262-40.14695A43.445,43.445,0,0,1,268.3022,558.962c1.73863.14991,1.30448,2.82994-.431,2.6803a40.36111,40.36111,0,0,0-26.133,6.91386c-7.36852,5.01554-13.10573,11.98848-17.96161,19.383-2.97439,4.52936-5.63867,9.25082-8.30346,13.966-.85161,1.50687-3.34078.41915-2.47922-1.10534Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M198.25523,617.93168a19.69836,19.69836,0,0,1,12.0709-16.49847v-9.40956h15.782v9.70608a19.68812,19.68812,0,0,1,11.41362,16.202l3.711,43.13835H194.54417Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#f2f2f2\"/><path d=\"M734.973,411.955l-4.69488-1.97685-3.22067-23.53551h-42.889l-3.491,23.43936-4.20031,2.10013a.99744.99744,0,0,0,.44611,1.88955h57.66283A.99739.99739,0,0,0,734.973,411.955Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#e6e6e6\"/><path d=\"M811.1898,389.574H600.50692a4.174,4.174,0,0,1-4.16467-4.174V355.69092H815.35446V385.4A4.17408,4.17408,0,0,1,811.1898,389.574Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/><path d=\"M815.57469,369.73213H596.15V242.61337a5.0375,5.0375,0,0,1,5.03186-5.03167h209.361a5.03755,5.03755,0,0,1,5.03191,5.03167Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#3f3d56\"/><path d=\"M802.46932,360.50584h-193.214a3.88344,3.88344,0,0,1-3.87919-3.87908V250.68707a3.88365,3.88365,0,0,1,3.87919-3.87932h193.214a3.88366,3.88366,0,0,1,3.8792,3.87932V356.62676A3.88345,3.88345,0,0,1,802.46932,360.50584Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#fff\"/><path d=\"M751.57964,397.88662a11.6159,11.6159,0,0,1,17.666,2.27241l26.13446-4.64642,6.69716,15.19317-36.99908,6.04328a11.67883,11.67883,0,0,1-13.49855-18.86244Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ffb6b6\"/><path d=\"M775.77611,417.286l27.24571-.33963,3.44882-.04668,55.43253-.69843s15.05312-14.3609,28.16068-29.1465l-1.83719-13.28833A54.29159,54.29159,0,0,0,870.023,340.1519C851.24988,352.696,840.363,377.52559,840.363,377.52559l-34.37018,8.22071-3.43848.82227-21.35608,5.10326Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#000000\"/><path d=\"M915.25011,498.96167H864.39249c0,2.17915-55.59414,3.94772-55.59414,3.94772a20.30858,20.30858,0,0,0-3.33166,3.15818,19.59694,19.59694,0,0,0-4.58,12.63271v3.15818a19.74588,19.74588,0,0,0,19.73861,19.73861h94.62478a19.75579,19.75579,0,0,0,19.73862-19.73861v-3.15818A19.76607,19.76607,0,0,0,915.25011,498.96167Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#e4e4e4\"/><rect x=\"747.4019\" y=\"303.23122\" width=\"20.52816\" height=\"118.48951\" fill=\"#e4e4e4\"/><path d=\"M799.31222,658.58132c0,2.218,31.10721.858,69.47992.858s69.47991,1.36012,69.47991-.858-31.1072-19.807-69.47991-19.807S799.31222,656.36323,799.31222,658.58132Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#e4e4e4\"/><polygon points=\"675.186 407.461 659.908 407.46 652.64 348.531 675.188 348.532 675.186 407.461\" fill=\"#ffb6b6\"/><path d=\"M789.41863,659.852l-49.2623-.00183v-.62309a19.17528,19.17528,0,0,1,19.17426-19.17395h.00122l30.08773.00122Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#2f2e41\"/><polygon points=\"630.031 407.461 614.753 407.46 607.485 348.531 630.033 348.532 630.031 407.461\" fill=\"#ffb6b6\"/><path d=\"M744.2636,659.852l-49.2623-.00183v-.62309a19.1753,19.1753,0,0,1,19.17426-19.17395h.00122l30.08773.00122Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#2f2e41\"/><circle cx=\"766.88656\" cy=\"41.63615\" r=\"26.56401\" fill=\"#ffb6b6\"/><path d=\"M920.21655,461.22417s8.91308,47.1307-24.99958,53.13247-82.86639,10.21993-82.86639,10.21993L790.36706,627.14324l-29.53443-2.63675s3.928-123.46737,13.5876-133.127,70.71212-38.58282,70.71212-38.58282Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#2f2e41\"/><path d=\"M853.98286,441.47135,839.151,456.35062s-107.0941,17.25-111.22553,41.9852c-6.23747,37.34427-13.60493,118.552-13.60493,118.552l32.1988-2.41491,12.62647-92.31123,51.5182-11.71874L869.27729,478.5Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#2f2e41\"/><path d=\"M902.78526,263.36115c-2.6223-4.94751-5.95413-14.80785-11.24679-16.63657a42.07731,42.07731,0,0,0-9.05841-1.92972l-8.99618,3.46009,4.89616-3.808q-1.42988-.08519-2.85817-.13928l-6.0699,2.33453,3.10542-2.41532c-5.65883-.05808-11.5.53031-15.88468,3.9752-3.73817,2.93677-7.44169,14.06185-8.04057,18.77753a35.9171,35.9171,0,0,0,.6603,13.53055l1.53716,1.46166a18.85936,18.85936,0,0,0,1.206-3.83883,18.18056,18.18056,0,0,1,8.70263-11.80641l.08368-.0472c2.5782-1.451,5.7065-1.3841,8.66308-1.27769l14.04158.50527c3.37829.12158,7.01608.33533,9.64978,2.45443a15.888,15.888,0,0,1,3.85826,5.58929c1.30868,2.6414,3.8661,12.60418,3.8661,12.60418s1.44689-1.88062,2.1404-.48092a48.39766,48.39766,0,0,0,2.01437-11.23347A22.00877,22.00877,0,0,0,902.78526,263.36115Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#2f2e41\"/><path d=\"M995.69426,290.88349A11.61582,11.61582,0,0,0,985.181,305.26136l-21.3614,15.75722,6.40951,15.31674,29.8539-22.67594a11.67883,11.67883,0,0,0-4.38876-22.77589Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ffb6b6\"/><path d=\"M992.25627,323.052l-53.551,59.4744s-25.60913-8.19816-45.41466-17.08624l-8.8977-27.32787a54.34329,54.34329,0,0,1-2.60112-19.66442c27.45606-7.306,59.391,19.87863,59.391,19.87863l40.08517-31.39877Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#000000\"/><path d=\"M867.301,465.6169c-9.554-3.30029-19.43312-6.71277-30.08912-7.99385l-.45773-.05533.12632-.443c11.03073-38.7308,8.27761-63.50657,2.87195-100.72306a37.59072,37.59072,0,0,1,21.5483-39.50121l.06542-.02958,30.43436-1.93391.06935-.00423,22.13437,6.50989a15.18313,15.18313,0,0,1,10.86724,14.83111c-.23987,12.23937.26868,25.9043.80711,40.37114,1.20787,32.45569,2.45686,66.01647-4.63045,87.79166l-.03718.11412-.09462.07416a36.09883,36.09883,0,0,1-23.08086,8.10758C887.90057,472.73235,877.76186,469.23034,867.301,465.6169Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#000000\"/><path d=\"M1088.24817,662.4183H111.75183a1.41521,1.41521,0,1,1,0-2.83042h976.49634a1.41521,1.41521,0,1,1,0,2.83042Z\" transform=\"translate(-110.33661 -237.5817)\" fill=\"#ccc\"/></svg>";
+ '<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="979.32677" height="424.8366" viewBox="0 0 979.32677 424.8366" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M993.71816,412.83936H419.142a9.19888,9.19888,0,0,0,0,18.39776H435.417V651.3026a9.19888,9.19888,0,0,0,18.39776,0l.1398-220.06548h461.1557l42.52,220.06548a9.19887,9.19887,0,1,0,18.39775,0l2.67633-220.06548h15.01383a9.19888,9.19888,0,0,0,0-18.39776Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M518.73716,371.85047v38.9547H421.141a19.48915,19.48915,0,1,1-1.35523-38.95474q.67739-.02358,1.35523,0Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M521.13449,410.50552a1.49881,1.49881,0,0,1-1.49822,1.49822H419.40273a20.52615,20.52615,0,0,1,0-41.05229H519.63627a1.49827,1.49827,0,1,1,0,2.99653H419.40273a17.52964,17.52964,0,0,0,0,35.05924H519.63627A1.49883,1.49883,0,0,1,521.13449,410.50552Z" transform="translate(-110.33661 -237.5817)" fill="#000000"/><path d="M518.73716,380.84H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M518.73716,388.03169H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M518.73716,395.22332H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M518.73716,402.41487H413.85905a.29966.29966,0,0,1-.00552-.59929H518.73716a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M500.33941,330.80932v38.95474H402.74324a19.48915,19.48915,0,0,1-1.35522-38.95474q.67737-.02358,1.35522,0Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M502.73673,369.46442a1.49885,1.49885,0,0,1-1.49822,1.49826H401.005a20.52614,20.52614,0,0,1,0-41.05229H501.23851a1.49826,1.49826,0,1,1,0,2.99652H401.005a17.52964,17.52964,0,0,0,0,35.05928H501.23851A1.49884,1.49884,0,0,1,502.73673,369.46442Z" transform="translate(-110.33661 -237.5817)" fill="#3f3d56"/><path d="M500.33941,339.79886H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M500.33941,346.99054H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M500.33941,354.18217H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M500.33941,361.37376H395.4613a.29966.29966,0,0,1-.00553-.59929H500.33941a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M613.87355,550.68347V516.71838a5.661,5.661,0,0,0-5.66085-5.66085H479.4284a5.661,5.661,0,0,0-5.66084,5.66085v33.96509Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><rect x="363.43092" y="325.83868" width="140.10602" height="43.87158" fill="#ccc"/><path d="M473.76756,620.02887V653.994a5.661,5.661,0,0,0,5.66084,5.66084H608.2127a5.661,5.661,0,0,0,5.66085-5.66084V620.02887Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><circle cx="432.77633" cy="294.70402" r="4.24564" fill="#fff"/><circle cx="432.77633" cy="351.3125" r="4.24564" fill="#fff"/><circle cx="433.00385" cy="406.72228" r="4.24564" fill="#fff"/><path d="M597.989,472.33053v38.9547H500.39287a19.48916,19.48916,0,0,1-1.35647-38.9547q.678-.02358,1.35647,0Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M600.38637,510.98558a1.49881,1.49881,0,0,1-1.49822,1.49822H498.65461a20.52615,20.52615,0,0,1-.0247-41.05229H598.88815a1.49827,1.49827,0,1,1,0,2.99653H498.65461a17.52963,17.52963,0,0,0,0,35.05923H598.88815A1.49885,1.49885,0,0,1,600.38637,510.98558Z" transform="translate(-110.33661 -237.5817)" fill="#3f3d56"/><path d="M597.989,481.32H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M597.989,488.51175H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M597.989,495.70338H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M597.989,502.89493H493.111a.29966.29966,0,0,1-.00553-.59929H597.98913a.29966.29966,0,0,1,0,.59929Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M483.36747,317.81415H438.90162a2.74745,2.74745,0,0,0-1.21689.28306l-11.22288,5.61835a2.0452,2.0452,0,0,0,0,3.76443l11.22288,5.61835a2.74718,2.74718,0,0,0,1.21689.28306h44.46585a2.33381,2.33381,0,0,0,2.4628-2.16532v-11.2367A2.3338,2.3338,0,0,0,483.36747,317.81415Z" transform="translate(-110.33661 -237.5817)" fill="#3f3d56"/><path d="M485.83027,319.97947v11.2367a2.33383,2.33383,0,0,1-2.4628,2.16532h-8.8589V317.81415h8.8589A2.33383,2.33383,0,0,1,485.83027,319.97947Z" transform="translate(-110.33661 -237.5817)" fill="#000000"/><path d="M216.78083,537.99332a35.33951,35.33951,0,0,0,34.12552-6.01134c11.95262-10.03214,15.70013-26.56,18.74934-41.864q4.50949-22.63308,9.019-45.26617l-18.88217,13.00153c-13.57891,9.34993-27.46375,18.99939-36.86572,32.54233S209.42082,522.42587,216.975,537.08" transform="translate(-110.33661 -237.5817)" fill="#e6e6e6"/><path d="M218.39489,592.79741c-1.91113-13.92071-3.87625-28.0202-2.53572-42.09016,1.19057-12.4956,5.00277-24.70032,12.764-34.70734a57.73582,57.73582,0,0,1,14.81307-13.42309c1.48131-.935,2.84468,1.41257,1.36983,2.34348a54.88844,54.88844,0,0,0-21.71125,26.19626c-4.72684,12.02273-5.48591,25.12848-4.67135,37.90006.4926,7.72345,1.53656,15.39627,2.58859,23.05926a1.40615,1.40615,0,0,1-.94781,1.66928,1.3653,1.3653,0,0,1-1.6693-.94781Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M236.80246,568.16434a26.01425,26.01425,0,0,0,22.6665,11.69871c11.47417-.54466,21.04-8.55293,29.651-16.15584l25.46969-22.48783-16.85671-.80672c-12.12234-.58011-24.55745-1.12124-36.10356,2.617s-22.19457,12.73508-24.30583,24.68624" transform="translate(-110.33661 -237.5817)" fill="#e6e6e6"/><path d="M212.99392,600.79976c9.19853-16.27621,19.86805-34.36538,38.93262-40.14695A43.445,43.445,0,0,1,268.3022,558.962c1.73863.14991,1.30448,2.82994-.431,2.6803a40.36111,40.36111,0,0,0-26.133,6.91386c-7.36852,5.01554-13.10573,11.98848-17.96161,19.383-2.97439,4.52936-5.63867,9.25082-8.30346,13.966-.85161,1.50687-3.34078.41915-2.47922-1.10534Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M198.25523,617.93168a19.69836,19.69836,0,0,1,12.0709-16.49847v-9.40956h15.782v9.70608a19.68812,19.68812,0,0,1,11.41362,16.202l3.711,43.13835H194.54417Z" transform="translate(-110.33661 -237.5817)" fill="#f2f2f2"/><path d="M734.973,411.955l-4.69488-1.97685-3.22067-23.53551h-42.889l-3.491,23.43936-4.20031,2.10013a.99744.99744,0,0,0,.44611,1.88955h57.66283A.99739.99739,0,0,0,734.973,411.955Z" transform="translate(-110.33661 -237.5817)" fill="#e6e6e6"/><path d="M811.1898,389.574H600.50692a4.174,4.174,0,0,1-4.16467-4.174V355.69092H815.35446V385.4A4.17408,4.17408,0,0,1,811.1898,389.574Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/><path d="M815.57469,369.73213H596.15V242.61337a5.0375,5.0375,0,0,1,5.03186-5.03167h209.361a5.03755,5.03755,0,0,1,5.03191,5.03167Z" transform="translate(-110.33661 -237.5817)" fill="#3f3d56"/><path d="M802.46932,360.50584h-193.214a3.88344,3.88344,0,0,1-3.87919-3.87908V250.68707a3.88365,3.88365,0,0,1,3.87919-3.87932h193.214a3.88366,3.88366,0,0,1,3.8792,3.87932V356.62676A3.88345,3.88345,0,0,1,802.46932,360.50584Z" transform="translate(-110.33661 -237.5817)" fill="#fff"/><path d="M751.57964,397.88662a11.6159,11.6159,0,0,1,17.666,2.27241l26.13446-4.64642,6.69716,15.19317-36.99908,6.04328a11.67883,11.67883,0,0,1-13.49855-18.86244Z" transform="translate(-110.33661 -237.5817)" fill="#ffb6b6"/><path d="M775.77611,417.286l27.24571-.33963,3.44882-.04668,55.43253-.69843s15.05312-14.3609,28.16068-29.1465l-1.83719-13.28833A54.29159,54.29159,0,0,0,870.023,340.1519C851.24988,352.696,840.363,377.52559,840.363,377.52559l-34.37018,8.22071-3.43848.82227-21.35608,5.10326Z" transform="translate(-110.33661 -237.5817)" fill="#000000"/><path d="M915.25011,498.96167H864.39249c0,2.17915-55.59414,3.94772-55.59414,3.94772a20.30858,20.30858,0,0,0-3.33166,3.15818,19.59694,19.59694,0,0,0-4.58,12.63271v3.15818a19.74588,19.74588,0,0,0,19.73861,19.73861h94.62478a19.75579,19.75579,0,0,0,19.73862-19.73861v-3.15818A19.76607,19.76607,0,0,0,915.25011,498.96167Z" transform="translate(-110.33661 -237.5817)" fill="#e4e4e4"/><rect x="747.4019" y="303.23122" width="20.52816" height="118.48951" fill="#e4e4e4"/><path d="M799.31222,658.58132c0,2.218,31.10721.858,69.47992.858s69.47991,1.36012,69.47991-.858-31.1072-19.807-69.47991-19.807S799.31222,656.36323,799.31222,658.58132Z" transform="translate(-110.33661 -237.5817)" fill="#e4e4e4"/><polygon points="675.186 407.461 659.908 407.46 652.64 348.531 675.188 348.532 675.186 407.461" fill="#ffb6b6"/><path d="M789.41863,659.852l-49.2623-.00183v-.62309a19.17528,19.17528,0,0,1,19.17426-19.17395h.00122l30.08773.00122Z" transform="translate(-110.33661 -237.5817)" fill="#2f2e41"/><polygon points="630.031 407.461 614.753 407.46 607.485 348.531 630.033 348.532 630.031 407.461" fill="#ffb6b6"/><path d="M744.2636,659.852l-49.2623-.00183v-.62309a19.1753,19.1753,0,0,1,19.17426-19.17395h.00122l30.08773.00122Z" transform="translate(-110.33661 -237.5817)" fill="#2f2e41"/><circle cx="766.88656" cy="41.63615" r="26.56401" fill="#ffb6b6"/><path d="M920.21655,461.22417s8.91308,47.1307-24.99958,53.13247-82.86639,10.21993-82.86639,10.21993L790.36706,627.14324l-29.53443-2.63675s3.928-123.46737,13.5876-133.127,70.71212-38.58282,70.71212-38.58282Z" transform="translate(-110.33661 -237.5817)" fill="#2f2e41"/><path d="M853.98286,441.47135,839.151,456.35062s-107.0941,17.25-111.22553,41.9852c-6.23747,37.34427-13.60493,118.552-13.60493,118.552l32.1988-2.41491,12.62647-92.31123,51.5182-11.71874L869.27729,478.5Z" transform="translate(-110.33661 -237.5817)" fill="#2f2e41"/><path d="M902.78526,263.36115c-2.6223-4.94751-5.95413-14.80785-11.24679-16.63657a42.07731,42.07731,0,0,0-9.05841-1.92972l-8.99618,3.46009,4.89616-3.808q-1.42988-.08519-2.85817-.13928l-6.0699,2.33453,3.10542-2.41532c-5.65883-.05808-11.5.53031-15.88468,3.9752-3.73817,2.93677-7.44169,14.06185-8.04057,18.77753a35.9171,35.9171,0,0,0,.6603,13.53055l1.53716,1.46166a18.85936,18.85936,0,0,0,1.206-3.83883,18.18056,18.18056,0,0,1,8.70263-11.80641l.08368-.0472c2.5782-1.451,5.7065-1.3841,8.66308-1.27769l14.04158.50527c3.37829.12158,7.01608.33533,9.64978,2.45443a15.888,15.888,0,0,1,3.85826,5.58929c1.30868,2.6414,3.8661,12.60418,3.8661,12.60418s1.44689-1.88062,2.1404-.48092a48.39766,48.39766,0,0,0,2.01437-11.23347A22.00877,22.00877,0,0,0,902.78526,263.36115Z" transform="translate(-110.33661 -237.5817)" fill="#2f2e41"/><path d="M995.69426,290.88349A11.61582,11.61582,0,0,0,985.181,305.26136l-21.3614,15.75722,6.40951,15.31674,29.8539-22.67594a11.67883,11.67883,0,0,0-4.38876-22.77589Z" transform="translate(-110.33661 -237.5817)" fill="#ffb6b6"/><path d="M992.25627,323.052l-53.551,59.4744s-25.60913-8.19816-45.41466-17.08624l-8.8977-27.32787a54.34329,54.34329,0,0,1-2.60112-19.66442c27.45606-7.306,59.391,19.87863,59.391,19.87863l40.08517-31.39877Z" transform="translate(-110.33661 -237.5817)" fill="#000000"/><path d="M867.301,465.6169c-9.554-3.30029-19.43312-6.71277-30.08912-7.99385l-.45773-.05533.12632-.443c11.03073-38.7308,8.27761-63.50657,2.87195-100.72306a37.59072,37.59072,0,0,1,21.5483-39.50121l.06542-.02958,30.43436-1.93391.06935-.00423,22.13437,6.50989a15.18313,15.18313,0,0,1,10.86724,14.83111c-.23987,12.23937.26868,25.9043.80711,40.37114,1.20787,32.45569,2.45686,66.01647-4.63045,87.79166l-.03718.11412-.09462.07416a36.09883,36.09883,0,0,1-23.08086,8.10758C887.90057,472.73235,877.76186,469.23034,867.301,465.6169Z" transform="translate(-110.33661 -237.5817)" fill="#000000"/><path d="M1088.24817,662.4183H111.75183a1.41521,1.41521,0,1,1,0-2.83042h976.49634a1.41521,1.41521,0,1,1,0,2.83042Z" transform="translate(-110.33661 -237.5817)" fill="#ccc"/></svg>';
export const WELCOME_SVG = (color) =>
`<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="613.35286" height="700.56123" viewBox="0 0 613.35286 700.56123" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M587.667,756.93133l-.78168-17.57606q-.12187-.06468-.24405-.12879c-8.37606-4.39513-17.97576,3.561-15.3004,12.63392,2.51722,8.5366,4.20846,17.73958,8.81613,25.21162a34.14441,34.14441,0,0,0,25.03847,15.77861l10.64166,6.51555a57.21525,57.21525,0,0,0-12.05953-46.36368,55.2668,55.2668,0,0,0-10.157-9.4375C591.07189,750.28541,587.667,756.93133,587.667,756.93133Z" transform="translate(-293.32357 -99.71938)" fill="#f2f2f2"/><path d="M492.3909,578.56387c-20.48783-21.12931-50.17767-33.24712-81.45666-33.24712l-1.20652.00324a116.3146,116.3146,0,0,1-58.63546-15.83485l-1.85205-1.07912,1.49167-1.537a113.37272,113.37272,0,0,0,19.99317-28.30616,34.28239,34.28239,0,0,1-27.66751,8.93789,35.10416,35.10416,0,0,1-25.77016-16.50626c-10.93231-17.73787-23.96381-42.90658-23.96381-62.0803a116.66888,116.66888,0,0,1,38.0631-86.091,72.65143,72.65143,0,0,0,23.99981-54.17137l-.00607-1.45284a164.77416,164.77416,0,0,1,4.8908-39.87268l.33005-1.31694,1.355.04732a111.39121,111.39121,0,0,0,26.04681-2.1821,87.918,87.918,0,0,1-23.35954-6.213l-1.45769-.58971.4947-1.4937C397.78172,214.464,474.7579,225.398,519.43718,123.17462,555.666,40.28535,683.49348,196.75549,683.49348,287.199c0,9.2287-9.13324,21.42423-2.29615,27.52391,73.90979,65.93827,22.91308,108.27972,6.83466,150.88534-3.81479,10.10871,4.45682,21.20613,4.45682,32.14249,0,1.85569-.04732,3.77124-.14076,5.69327l-.14237,2.955-2.46441-1.63971a81.62563,81.62563,0,0,1-13.47964-11.05649,71.13531,71.13531,0,0,1-2.25612,61.41172c-7.74552,14.619-15.23907,25.085-22.27193,31.10507a116.2904,116.2904,0,0,1-159.34268-7.65574Z" transform="translate(-293.32357 -99.71938)" fill="#e6e6e6"/><path d="M616.13152,798.499a2.09333,2.09333,0,0,0,2.06993-1.79837c.08893-.62489,8.80049-63.45379.97652-146.956-7.22548-77.11632-30.4294-188.191-99.9393-279.41478a2.0935,2.0935,0,1,0-3.33028,2.53775c68.90954,90.436,91.9264,200.69567,99.10094,277.2675,7.77849,83.01636-.86476,145.3553-.953,145.97542a2.09519,2.09519,0,0,0,2.0752,2.38851Z" transform="translate(-293.32357 -99.71938)" fill="#3f3d56"/><path d="M559.40732,499.0052a2.09343,2.09343,0,0,0,1.23242-3.78686c-.25231-.18331-25.681-18.50562-63.69657-32.425-35.14253-12.86589-88.582-24.5297-143.597-7.02036a2.0932,2.0932,0,1,0,1.26956,3.98925c53.88785-17.14953,106.35862-5.67858,140.88784,6.96312,37.47293,13.72044,62.427,31.7,62.67472,31.87988A2.08515,2.08515,0,0,0,559.40732,499.0052Z" transform="translate(-293.32357 -99.71938)" fill="#3f3d56"/><path d="M655.2196,260.37275a2.09343,2.09343,0,0,0-3.68827-1.50192c-.201.23845-20.307,24.28166-36.928,61.19609-15.36327,34.12475-30.84523,86.58548-17.34326,142.71855a2.09319,2.09319,0,1,0,4.07031-.979c-13.22427-54.983,1.99558-106.49141,17.09108-140.02058,16.38342-36.38756,36.11335-59.982,36.31062-60.21616A2.0852,2.0852,0,0,0,655.2196,260.37275Z" transform="translate(-293.32357 -99.71938)" fill="#3f3d56"/><path d="M652.38648,368.31675c1.76623,14.25037,11.64059,26,26,26a26,26,0,0,0,26-26c0-14.3594-11.70215-24.67241-26-26C663.21558,340.90809,650.11884,350.02107,652.38648,368.31675Z" transform="translate(-293.32357 -99.71938)" fill="#2f2e41"/><polygon points="397.105 687.328 407.006 687.327 411.716 649.137 397.103 649.138 397.105 687.328" fill="#ffb6b6"/><path d="M690.08055,797.37579l30.447-.00116v-.385A11.85149,11.85149,0,0,0,708.67674,785.139H708.676l-5.56152-4.21923-10.37659,4.21991-2.65783.00006Z" transform="translate(-293.32357 -99.71938)" fill="#2f2e41"/><polygon points="358.105 687.328 368.006 687.327 372.716 649.137 358.103 649.138 358.105 687.328" fill="#ffb6b6"/><path d="M651.08055,797.37579l30.447-.00116v-.385A11.85149,11.85149,0,0,0,669.67674,785.139H669.676l-5.56152-4.21923-10.37659,4.21991-2.65783.00006Z" transform="translate(-293.32357 -99.71938)" fill="#2f2e41"/><path d="M724.50065,547.85614l7,24L723.25419,673.501s4.24646,6.35511,1.24646,6.35511-6.84686,1.40942-4.4234,5.20471-5.86,17.4209-5.86,17.4209l-11.71661,72.37439-14.92914-.22046s-7.59009-4.22833-3.3305-8.504,7.25958-4.27557,3.25958-8.27557-4-2.79529-4-5.89765-4.00751-41.01574,5.49628-55.559l-2.86365-59.29529-6.74457,58.16144-13.888,77.59052-14.38171-.11847s-6.64276-6.40271-6.6305-11.14209,4.10419-5.13312,1.05823-7.93628-3.046-45.86615,5.954-69.80316c0,0,5.09108-13.37393-.01155-17.95666s-.00631-9.82652-.00631-9.82652,8.08172-2.92145-.0073-11.33883-.04369-67.94913-.04369-67.94913-8.84271-24.03067.1131-33.47977S724.50065,547.85614,724.50065,547.85614Z" transform="translate(-293.32357 -99.71938)" fill="#2f2e41"/><path d="M599.82611,589.20574l12.48925-30.1823,9.84,5.46667-5.94253,30.70307a10.93464,10.93464,0,1,1-16.38671-5.98744Z" transform="translate(-293.32357 -99.71938)" fill="#ffb6b6"/><path d="M809.4002,350.535l-19.00315,26.56751-8.34544-7.554,12.7447-28.5581A10.93464,10.93464,0,1,1,809.4002,350.535Z" transform="translate(-293.32357 -99.71938)" fill="#ffb6b6"/><path d="M726.38648,550.31675c12.32568,19.11831-49.63137,43.38055-73.40448,33.64-4.1628-1.7056-18.48212-7.33918-8.69439-15.14958s-1.1348-8.90952-1.393-13.99392c-.1726-3.39918,2.45917-10.85592-.28674-10.5362s-5.95975-4.3811.0205-6.404.06411-3.86767.11651-5.78787c.57186-20.95538,16.64979-54.2869,16.64979-54.2869l-28.971,74.05682s.214,12.81223-3.48049,8.897-3.42565,8.75675-3.42565,8.75675-5.49354,3.83389-2.33452,5.9676-3.401,8.6937-3.401,8.6937l-15.30666-1.09334s.23964-11.37068,2.85315-13.88533,1.32975-6.47144,1.32975-6.47144,6.80457-6.02348,2.24268-10.91429c-5.86712-6.29013,15.52417-112.52993,22.90637-111.47784a28.12048,28.12048,0,0,1,20.08017-21.45161l16.53221-4.55191,2.93564-11.64749h23.27852l4.0548,7.65333,17.69783,7.98657c3.33362-4.70352,5.82477-9.65991,19.47546-11.26657,0,0,36.78255-33.46683,34.98668-36.08s3.906-8.73109,3.906-8.73109,4.86956-1.59377,2.12179-2.44467,2.446-2.81826,2.446-2.81826,4.81028-1.264,2.54157-2.92832,7.57128-2.75765,7.57128-2.75765l12.767,10.4168-2.58037,4.37541s1.5733,5.958-.48,3.78289-2.43983,4.1371-2.43983,4.1371-1.0486,6.912-7.26682,8.99446S778.502,404.8635,778.502,404.8635c-14.6648,19.0673-31.97132,33.9415-52.48,43.73331C734.01483,457.77113,726.38648,550.31675,726.38648,550.31675Z" transform="translate(-293.32357 -99.71938)" fill="${color}"/><circle cx="387.93692" cy="273.08556" r="23.0557" fill="#ffb6b6"/><path d="M657.38648,375.31675c.73,5.01,5,12,4,12s-8.11-20.65332-1-22c5.15722-.97681,6.31-.12,11.13-2.21l-.68.64c3.19,2.32,7.63.89,11.27-.62,3.65-1.5,8.08-2.93,11.28-.62,2.01,1.45,2.86,3.97,4.11,6.11,1.25,2.15,3.56,4.18,5.94,3.52,1.91-.53,3.01-2.67005,3-4.65s-2.58825-3.86355-1.72-5.64c2.57319-5.26444.25916-8.85275-5.35-11.33q-3.06-.465-6.12-.95a17.35842,17.35842,0,0,1,3.84-3.86,8.77436,8.77436,0,0,0-3.1-3.97c-1.63-.97-3.65-.9-5.54-.8q-6.33.33-12.65.66c-3.12.16-6.35.35-9.13995,1.78-3.48,1.79-5.76,5.28-7.42005,8.83C655.51648,360.18675,656.10645,366.60679,657.38648,375.31675Z" transform="translate(-293.32357 -99.71938)" fill="#2f2e41"/><path d="M561.476,799.97328l226.75.30734a1.19068,1.19068,0,1,0,0-2.38137l-226.75-.30733a1.19068,1.19068,0,0,0,0,2.38136Z" transform="translate(-293.32357 -99.71938)" fill="#cacaca"/><ellipse cx="471.98821" cy="695.09416" rx="5.25681" ry="7.55666" transform="translate(-577.14417 962.36498) rotate(-81.72174)" fill="#e6e6e6"/><ellipse cx="521.15973" cy="690.29611" rx="5.2568" ry="7.55666" transform="translate(-530.30434 1006.91693) rotate(-81.72174)" fill="#3f3d56"/><ellipse cx="458.5236" cy="655.286" rx="5.25681" ry="7.55666" transform="translate(-549.27676 914.96411) rotate(-81.72174)" fill="#ff6584"/><ellipse cx="441.31304" cy="640.04291" rx="4.77581" ry="3.3223" transform="translate(-495.37215 976.78425) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="434.06731" cy="609.6713" rx="4.77581" ry="3.3223" transform="translate(-472.19234 939.39678) rotate(-89.56675)" fill="#3f3d56"/><ellipse cx="490.41248" cy="663.12322" rx="4.77581" ry="3.3223" transform="translate(-469.72363 1048.78806) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="466.65067" cy="674.98721" rx="4.77581" ry="3.3223" transform="translate(-505.16941 1036.80122) rotate(-89.56675)" fill="#ff6584"/><ellipse cx="499.72794" cy="696.91495" rx="4.77581" ry="3.3223" transform="translate(-494.26937 1091.63947) rotate(-89.56675)" fill="#3f3d56"/><ellipse cx="849.98821" cy="541.09416" rx="5.25681" ry="7.55666" transform="translate(-101.17347 1204.59943) rotate(-81.72174)" fill="#e6e6e6"/><ellipse cx="899.15973" cy="536.29611" rx="5.2568" ry="7.55666" transform="translate(-54.33364 1249.15138) rotate(-81.72174)" fill="#3f3d56"/><ellipse cx="836.5236" cy="501.286" rx="5.25681" ry="7.55666" transform="matrix(0.14398, -0.98958, 0.98958, 0.14398, -73.30606, 1157.19856)" fill="#ff6584"/><ellipse cx="819.31304" cy="486.04292" rx="4.77581" ry="3.3223" transform="translate(33.76519 1201.93792) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="812.06731" cy="455.6713" rx="4.77581" ry="3.3223" transform="translate(56.94499 1164.55045) rotate(-89.56675)" fill="#3f3d56"/><ellipse cx="868.41248" cy="509.12322" rx="4.77581" ry="3.3223" transform="translate(59.41371 1273.94173) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="844.65067" cy="520.98721" rx="4.77581" ry="3.3223" transform="translate(23.96793 1261.95489) rotate(-89.56675)" fill="#ff6584"/><ellipse cx="877.72794" cy="542.91495" rx="4.77581" ry="3.3223" transform="translate(34.86796 1316.79314) rotate(-89.56675)" fill="#3f3d56"/><ellipse cx="666.98821" cy="256.09416" rx="5.25681" ry="7.55666" transform="translate(24.20544 779.54069) rotate(-81.72174)" fill="#fff"/><ellipse cx="716.15973" cy="251.29611" rx="5.2568" ry="7.55666" transform="translate(71.04527 824.09264) rotate(-81.72174)" fill="#3f3d56"/><ellipse cx="653.5236" cy="216.286" rx="5.25681" ry="7.55666" transform="translate(52.07285 732.13983) rotate(-81.72174)" fill="#ff6584"/><ellipse cx="636.31304" cy="201.04292" rx="4.77581" ry="3.3223" transform="translate(137.1408 736.09819) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="629.06731" cy="170.6713" rx="4.77581" ry="3.3223" transform="translate(160.32061 698.71071) rotate(-89.56675)" fill="#3f3d56"/><ellipse cx="685.41248" cy="224.12322" rx="4.77581" ry="3.3223" transform="translate(162.78933 808.102) rotate(-89.56675)" fill="#e6e6e6"/><ellipse cx="661.65067" cy="235.98721" rx="4.77581" ry="3.3223" transform="translate(127.34354 796.11516) rotate(-89.56675)" fill="#ff6584"/><ellipse cx="694.72794" cy="257.91495" rx="4.77581" ry="3.3223" transform="translate(138.24358 850.95341) rotate(-89.56675)" fill="#3f3d56"/></svg>`;
diff --git a/apps/mobile/app/common/analytics/index.js b/apps/mobile/app/common/analytics/index.js
index 7ce74ca3d..27cac4ff6 100644
--- a/apps/mobile/app/common/analytics/index.js
+++ b/apps/mobile/app/common/analytics/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import { MMKV } from "../database/mmkv";
diff --git a/apps/mobile/app/common/database/encryption.js b/apps/mobile/app/common/database/encryption.js
index c3441f0e9..f8e5a6922 100644
--- a/apps/mobile/app/common/database/encryption.js
+++ b/apps/mobile/app/common/database/encryption.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import "react-native-get-random-values";
diff --git a/apps/mobile/app/common/database/index.js b/apps/mobile/app/common/database/index.js
index f2764f3cd..451a7859e 100644
--- a/apps/mobile/app/common/database/index.js
+++ b/apps/mobile/app/common/database/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Database from "@notesnook/core/api/index";
import { initalize, logger as dbLogger } from "@notesnook/core/logger";
diff --git a/apps/mobile/app/common/database/mmkv.js b/apps/mobile/app/common/database/mmkv.js
index 059cb3726..d2ad3666e 100644
--- a/apps/mobile/app/common/database/mmkv.js
+++ b/apps/mobile/app/common/database/mmkv.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import MMKVStorage, { ProcessingModes } from "react-native-mmkv-storage";
diff --git a/apps/mobile/app/common/database/storage.js b/apps/mobile/app/common/database/storage.js
index 57baf52a4..e28e73ba1 100644
--- a/apps/mobile/app/common/database/storage.js
+++ b/apps/mobile/app/common/database/storage.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import RNFetchBlob from "rn-fetch-blob";
diff --git a/apps/mobile/app/common/filesystem/download.js b/apps/mobile/app/common/filesystem/download.js
index ff5069b33..b9b3ed684 100644
--- a/apps/mobile/app/common/filesystem/download.js
+++ b/apps/mobile/app/common/filesystem/download.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import NetInfo from "@react-native-community/netinfo";
import hosts from "@notesnook/core/utils/constants";
diff --git a/apps/mobile/app/common/filesystem/index.js b/apps/mobile/app/common/filesystem/index.js
index b792ccca6..54d0e3fcc 100644
--- a/apps/mobile/app/common/filesystem/index.js
+++ b/apps/mobile/app/common/filesystem/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
downloadAttachment,
diff --git a/apps/mobile/app/common/filesystem/io.js b/apps/mobile/app/common/filesystem/io.js
index a9bf0c84c..67d9595ce 100644
--- a/apps/mobile/app/common/filesystem/io.js
+++ b/apps/mobile/app/common/filesystem/io.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import Sodium from "react-native-sodium";
diff --git a/apps/mobile/app/common/filesystem/upload.js b/apps/mobile/app/common/filesystem/upload.js
index 5da57f46f..86bcb2b7e 100644
--- a/apps/mobile/app/common/filesystem/upload.js
+++ b/apps/mobile/app/common/filesystem/upload.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import RNFetchBlob from "rn-fetch-blob";
import { useAttachmentStore } from "../../stores/use-attachment-store";
diff --git a/apps/mobile/app/common/filesystem/utils.js b/apps/mobile/app/common/filesystem/utils.js
index 0a04f3ead..dea0ab527 100644
--- a/apps/mobile/app/common/filesystem/utils.js
+++ b/apps/mobile/app/common/filesystem/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import RNFetchBlob from "rn-fetch-blob";
diff --git a/apps/mobile/app/common/logger/index.ts b/apps/mobile/app/common/logger/index.ts
index d96ae6848..1f60289c5 100644
--- a/apps/mobile/app/common/logger/index.ts
+++ b/apps/mobile/app/common/logger/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function info(context: string, ...logs: unknown[]) {
console.log(`${new Date().toLocaleDateString()}::info::${context}:`, ...logs);
diff --git a/apps/mobile/app/components/announcements/announcement.js b/apps/mobile/app/components/announcements/announcement.js
index 212950c75..01f3c2545 100644
--- a/apps/mobile/app/components/announcements/announcement.js
+++ b/apps/mobile/app/components/announcements/announcement.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { FlatList, View } from "react-native";
diff --git a/apps/mobile/app/components/announcements/body.js b/apps/mobile/app/components/announcements/body.js
index 66c17f0d9..66a498eee 100644
--- a/apps/mobile/app/components/announcements/body.js
+++ b/apps/mobile/app/components/announcements/body.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import Paragraph from "../ui/typography/paragraph";
diff --git a/apps/mobile/app/components/announcements/cta.js b/apps/mobile/app/components/announcements/cta.js
index 07d5ed3ab..fdf2f3029 100644
--- a/apps/mobile/app/components/announcements/cta.js
+++ b/apps/mobile/app/components/announcements/cta.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Linking, View } from "react-native";
diff --git a/apps/mobile/app/components/announcements/description.js b/apps/mobile/app/components/announcements/description.js
index 60fe76d6a..4b5564568 100644
--- a/apps/mobile/app/components/announcements/description.js
+++ b/apps/mobile/app/components/announcements/description.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { SIZE } from "../../utils/size";
diff --git a/apps/mobile/app/components/announcements/functions.js b/apps/mobile/app/components/announcements/functions.js
index b912ed626..79587fab6 100644
--- a/apps/mobile/app/components/announcements/functions.js
+++ b/apps/mobile/app/components/announcements/functions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { Fragment } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/announcements/index.js b/apps/mobile/app/components/announcements/index.js
index 8742bb8cb..046fea93b 100644
--- a/apps/mobile/app/components/announcements/index.js
+++ b/apps/mobile/app/components/announcements/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { FlatList, View } from "react-native";
diff --git a/apps/mobile/app/components/announcements/list.js b/apps/mobile/app/components/announcements/list.js
index c84594bb0..588fe4a3b 100644
--- a/apps/mobile/app/components/announcements/list.js
+++ b/apps/mobile/app/components/announcements/list.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/announcements/photo.js b/apps/mobile/app/components/announcements/photo.js
index 7e6a108fa..8073f572c 100644
--- a/apps/mobile/app/components/announcements/photo.js
+++ b/apps/mobile/app/components/announcements/photo.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Image } from "react-native";
diff --git a/apps/mobile/app/components/announcements/subheading.js b/apps/mobile/app/components/announcements/subheading.js
index b4f4ca07d..4a6c6744f 100644
--- a/apps/mobile/app/components/announcements/subheading.js
+++ b/apps/mobile/app/components/announcements/subheading.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { SIZE } from "../../utils/size";
diff --git a/apps/mobile/app/components/announcements/title.js b/apps/mobile/app/components/announcements/title.js
index f1509a3a6..79ec552bd 100644
--- a/apps/mobile/app/components/announcements/title.js
+++ b/apps/mobile/app/components/announcements/title.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/attachments/actions.js b/apps/mobile/app/components/attachments/actions.js
index b75702fa6..017cc603b 100644
--- a/apps/mobile/app/components/attachments/actions.js
+++ b/apps/mobile/app/components/attachments/actions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { useEffect, useState } from "react";
diff --git a/apps/mobile/app/components/attachments/attachment-item.js b/apps/mobile/app/components/attachments/attachment-item.js
index 37faabb87..cd4e68fee 100644
--- a/apps/mobile/app/components/attachments/attachment-item.js
+++ b/apps/mobile/app/components/attachments/attachment-item.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { TouchableOpacity, View } from "react-native";
diff --git a/apps/mobile/app/components/attachments/index.js b/apps/mobile/app/components/attachments/index.js
index a0f08b89e..97396be43 100644
--- a/apps/mobile/app/components/attachments/index.js
+++ b/apps/mobile/app/components/attachments/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/auth/auth-modal.js b/apps/mobile/app/components/auth/auth-modal.js
index 2ced675f3..e8673a1b8 100644
--- a/apps/mobile/app/components/auth/auth-modal.js
+++ b/apps/mobile/app/components/auth/auth-modal.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/auth/background.js b/apps/mobile/app/components/auth/background.js
index acca044e1..31d5b3b0b 100644
--- a/apps/mobile/app/components/auth/background.js
+++ b/apps/mobile/app/components/auth/background.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const SVG = (color) =>
`<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="1920" height="1080" preserveAspectRatio="none" viewBox="0 0 1920 1080"><g fill="none"><path d="M684.78-215.3C516.78-49.87 619.54 659.12 349.29 666.13 79.03 673.14-116.04 204.76-321.7 180.13" stroke="${color}" stroke-width="2"></path><path d="M1337.71-20.29C1105.2 122.03 1140.53 887.64 809.58 933.71 478.63 979.78 545.52 798.71 281.45 798.71 17.39 798.71-110.41 932.65-246.68 933.71" stroke="${color}" stroke-width="2"></path><path d="M1631.89-52.3C1379.35-21.93 1283.05 511.66 808.42 545.28 333.79 578.9 209.15 894.14-15.05 901.68" stroke="${color}" stroke-width="2"></path><path d="M1523.21-71.7C1244.4-46.38 1056.2 532.95 581.02 533.49 105.84 534.03-109.4 182.98-361.17 177.09" stroke="${color}" stroke-width="2"></path><path d="M1333.35-39.1C1041.86 57 974.42 893.52 550.36 906.48 126.3 919.44-23.8 619.56-232.63 614.88" stroke="${color}" stroke-width="2"></path></g><defs><mask id="SvgjsMask1032"><rect width="1920" height="1080" fill="#ffffff"></rect></mask></defs></svg>`;
diff --git a/apps/mobile/app/components/auth/change-password.js b/apps/mobile/app/components/auth/change-password.js
index 30fefaaae..9699b9c4c 100644
--- a/apps/mobile/app/components/auth/change-password.js
+++ b/apps/mobile/app/components/auth/change-password.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/auth/common.js b/apps/mobile/app/components/auth/common.js
index 28839bbb8..680c40be1 100644
--- a/apps/mobile/app/components/auth/common.js
+++ b/apps/mobile/app/components/auth/common.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { createRef } from "react";
import { eSendEvent } from "../../services/event-manager";
diff --git a/apps/mobile/app/components/auth/forgot-password.js b/apps/mobile/app/components/auth/forgot-password.js
index b28394d46..14078fed9 100644
--- a/apps/mobile/app/components/auth/forgot-password.js
+++ b/apps/mobile/app/components/auth/forgot-password.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/auth/index.js b/apps/mobile/app/components/auth/index.js
index 0c5deb2ea..cc8fec038 100644
--- a/apps/mobile/app/components/auth/index.js
+++ b/apps/mobile/app/components/auth/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/auth/login.js b/apps/mobile/app/components/auth/login.js
index e0a5325ae..39b0ecb15 100644
--- a/apps/mobile/app/components/auth/login.js
+++ b/apps/mobile/app/components/auth/login.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/auth/session-expired.js b/apps/mobile/app/components/auth/session-expired.js
index f9fc1fa7a..7e62b774a 100644
--- a/apps/mobile/app/components/auth/session-expired.js
+++ b/apps/mobile/app/components/auth/session-expired.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { Modal, View } from "react-native";
diff --git a/apps/mobile/app/components/auth/signup.js b/apps/mobile/app/components/auth/signup.js
index ac098672f..efde89f3a 100644
--- a/apps/mobile/app/components/auth/signup.js
+++ b/apps/mobile/app/components/auth/signup.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef, useState } from "react";
import { Dimensions, View } from "react-native";
diff --git a/apps/mobile/app/components/auth/two-factor.js b/apps/mobile/app/components/auth/two-factor.js
index fc6b02b8b..9315d99f8 100644
--- a/apps/mobile/app/components/auth/two-factor.js
+++ b/apps/mobile/app/components/auth/two-factor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/container/container-header.js b/apps/mobile/app/components/container/container-header.js
index 0e673b299..2121818c7 100644
--- a/apps/mobile/app/components/container/container-header.js
+++ b/apps/mobile/app/components/container/container-header.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/container/floating-button.js b/apps/mobile/app/components/container/floating-button.js
index f8b6b4e63..3b2681a0b 100644
--- a/apps/mobile/app/components/container/floating-button.js
+++ b/apps/mobile/app/components/container/floating-button.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import { Keyboard, Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/container/index.js b/apps/mobile/app/components/container/index.js
index dbb1abf75..16b8f35d1 100644
--- a/apps/mobile/app/components/container/index.js
+++ b/apps/mobile/app/components/container/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { KeyboardAvoidingView, Platform, SafeAreaView } from "react-native";
diff --git a/apps/mobile/app/components/delay-layout/default-placeholder.tsx b/apps/mobile/app/components/delay-layout/default-placeholder.tsx
index 20f010c80..f56f2ad9f 100644
--- a/apps/mobile/app/components/delay-layout/default-placeholder.tsx
+++ b/apps/mobile/app/components/delay-layout/default-placeholder.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/delay-layout/index.tsx b/apps/mobile/app/components/delay-layout/index.tsx
index f588c2d05..c4e1f7664 100644
--- a/apps/mobile/app/components/delay-layout/index.tsx
+++ b/apps/mobile/app/components/delay-layout/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ViewProps } from "react-native";
diff --git a/apps/mobile/app/components/delay-layout/settings-placeholder.tsx b/apps/mobile/app/components/delay-layout/settings-placeholder.tsx
index 358849c87..06c58ba53 100644
--- a/apps/mobile/app/components/delay-layout/settings-placeholder.tsx
+++ b/apps/mobile/app/components/delay-layout/settings-placeholder.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialog-provider/index.js b/apps/mobile/app/components/dialog-provider/index.js
index 803894ac3..5a89d23ff 100644
--- a/apps/mobile/app/components/dialog-provider/index.js
+++ b/apps/mobile/app/components/dialog-provider/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { useNoteStore } from "../../stores/use-notes-store";
diff --git a/apps/mobile/app/components/dialog-provider/recievers.js b/apps/mobile/app/components/dialog-provider/recievers.js
index 3e9e0a3dc..483fa5d78 100644
--- a/apps/mobile/app/components/dialog-provider/recievers.js
+++ b/apps/mobile/app/components/dialog-provider/recievers.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { eSendEvent } from "../../services/event-manager";
import {
diff --git a/apps/mobile/app/components/dialog/base-dialog.js b/apps/mobile/app/components/dialog/base-dialog.js
index 17cfc092c..e5622168e 100644
--- a/apps/mobile/app/components/dialog/base-dialog.js
+++ b/apps/mobile/app/components/dialog/base-dialog.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import {
diff --git a/apps/mobile/app/components/dialog/dialog-buttons.js b/apps/mobile/app/components/dialog/dialog-buttons.js
index 7c8dfe185..b3388b6ab 100644
--- a/apps/mobile/app/components/dialog/dialog-buttons.js
+++ b/apps/mobile/app/components/dialog/dialog-buttons.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ActivityIndicator, StyleSheet, View } from "react-native";
diff --git a/apps/mobile/app/components/dialog/dialog-container.js b/apps/mobile/app/components/dialog/dialog-container.js
index d9affd111..78cdc7588 100644
--- a/apps/mobile/app/components/dialog/dialog-container.js
+++ b/apps/mobile/app/components/dialog/dialog-container.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialog/dialog-header.tsx b/apps/mobile/app/components/dialog/dialog-header.tsx
index 89dd6aaa1..8b1ab7053 100644
--- a/apps/mobile/app/components/dialog/dialog-header.tsx
+++ b/apps/mobile/app/components/dialog/dialog-header.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Text, View } from "react-native";
diff --git a/apps/mobile/app/components/dialog/functions.ts b/apps/mobile/app/components/dialog/functions.ts
index d38c20094..f5f17fc5d 100644
--- a/apps/mobile/app/components/dialog/functions.ts
+++ b/apps/mobile/app/components/dialog/functions.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { eSendEvent } from "../../services/event-manager";
import { eCloseSimpleDialog, eOpenSimpleDialog } from "../../utils/events";
diff --git a/apps/mobile/app/components/dialog/index.js b/apps/mobile/app/components/dialog/index.js
index 21c9e9e44..0ed22ffb4 100644
--- a/apps/mobile/app/components/dialog/index.js
+++ b/apps/mobile/app/components/dialog/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialogs/add-topic/index.js b/apps/mobile/app/components/dialogs/add-topic/index.js
index 9feb23ed1..44909beb1 100644
--- a/apps/mobile/app/components/dialogs/add-topic/index.js
+++ b/apps/mobile/app/components/dialogs/add-topic/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { createRef } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialogs/jump-to-section/index.js b/apps/mobile/app/components/dialogs/jump-to-section/index.js
index 1cab970c0..0267710e1 100644
--- a/apps/mobile/app/components/dialogs/jump-to-section/index.js
+++ b/apps/mobile/app/components/dialogs/jump-to-section/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { ScrollView, View } from "react-native";
diff --git a/apps/mobile/app/components/dialogs/result/index.js b/apps/mobile/app/components/dialogs/result/index.js
index 51aa548e0..24840fe60 100644
--- a/apps/mobile/app/components/dialogs/result/index.js
+++ b/apps/mobile/app/components/dialogs/result/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialogs/result/pro-features.js b/apps/mobile/app/components/dialogs/result/pro-features.js
index 9fb2189a2..acdf5dd3e 100644
--- a/apps/mobile/app/components/dialogs/result/pro-features.js
+++ b/apps/mobile/app/components/dialogs/result/pro-features.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/dialogs/vault/index.js b/apps/mobile/app/components/dialogs/vault/index.js
index 499dcaaac..6fd1b7af3 100644
--- a/apps/mobile/app/components/dialogs/vault/index.js
+++ b/apps/mobile/app/components/dialogs/vault/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { Component, createRef } from "react";
diff --git a/apps/mobile/app/components/exception-handler/index.tsx b/apps/mobile/app/components/exception-handler/index.tsx
index 9c6593b19..e3ea610f2 100644
--- a/apps/mobile/app/components/exception-handler/index.tsx
+++ b/apps/mobile/app/components/exception-handler/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import RNBootSplash from "react-native-bootsplash";
diff --git a/apps/mobile/app/components/header/index.js b/apps/mobile/app/components/header/index.js
index a4c2b9eff..e0029ff87 100644
--- a/apps/mobile/app/components/header/index.js
+++ b/apps/mobile/app/components/header/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { Platform, StyleSheet, View } from "react-native";
diff --git a/apps/mobile/app/components/header/left-menus.js b/apps/mobile/app/components/header/left-menus.js
index 83ea4f6f0..b43e167ed 100644
--- a/apps/mobile/app/components/header/left-menus.js
+++ b/apps/mobile/app/components/header/left-menus.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { notesnook } from "../../../e2e/test.ids";
diff --git a/apps/mobile/app/components/header/right-menus.js b/apps/mobile/app/components/header/right-menus.js
index 1913ee0ce..75f3ebdc8 100644
--- a/apps/mobile/app/components/header/right-menus.js
+++ b/apps/mobile/app/components/header/right-menus.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef } from "react";
import { Platform, StyleSheet, View } from "react-native";
diff --git a/apps/mobile/app/components/header/title.js b/apps/mobile/app/components/header/title.js
index d3a6f6e1a..b8b2645f6 100644
--- a/apps/mobile/app/components/header/title.js
+++ b/apps/mobile/app/components/header/title.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/image-preview/index.js b/apps/mobile/app/components/image-preview/index.js
index 0129f60be..f8f12c627 100644
--- a/apps/mobile/app/components/image-preview/index.js
+++ b/apps/mobile/app/components/image-preview/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/intro/index.js b/apps/mobile/app/components/intro/index.js
index 3f90eb698..5e41dcf61 100644
--- a/apps/mobile/app/components/intro/index.js
+++ b/apps/mobile/app/components/intro/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import {
diff --git a/apps/mobile/app/components/intro/welcome.js b/apps/mobile/app/components/intro/welcome.js
index fc138af6e..e662c614b 100644
--- a/apps/mobile/app/components/intro/welcome.js
+++ b/apps/mobile/app/components/intro/welcome.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import Animated, { FadeInDown } from "react-native-reanimated";
diff --git a/apps/mobile/app/components/launcher/index.js b/apps/mobile/app/components/launcher/index.js
index e80fcbea8..7c8b36cdd 100644
--- a/apps/mobile/app/components/launcher/index.js
+++ b/apps/mobile/app/components/launcher/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef } from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/footer/index.js b/apps/mobile/app/components/list-items/footer/index.js
index 53b05cdb5..5416cb433 100644
--- a/apps/mobile/app/components/list-items/footer/index.js
+++ b/apps/mobile/app/components/list-items/footer/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { View } from "react-native";
import React from "react";
diff --git a/apps/mobile/app/components/list-items/headers/header.js b/apps/mobile/app/components/list-items/headers/header.js
index c36e1958d..64513b8fb 100644
--- a/apps/mobile/app/components/list-items/headers/header.js
+++ b/apps/mobile/app/components/list-items/headers/header.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/headers/notebook-header.js b/apps/mobile/app/components/list-items/headers/notebook-header.js
index 2f679ac1b..8d77cedf1 100644
--- a/apps/mobile/app/components/list-items/headers/notebook-header.js
+++ b/apps/mobile/app/components/list-items/headers/notebook-header.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef, useState } from "react";
import React from "react";
diff --git a/apps/mobile/app/components/list-items/headers/section-header.js b/apps/mobile/app/components/list-items/headers/section-header.js
index eff2114c0..8c3c9bfc4 100644
--- a/apps/mobile/app/components/list-items/headers/section-header.js
+++ b/apps/mobile/app/components/list-items/headers/section-header.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { TouchableOpacity, useWindowDimensions, View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js
index a8cafa246..2a79a96dc 100644
--- a/apps/mobile/app/components/list-items/note/index.js
+++ b/apps/mobile/app/components/list-items/note/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { decode, EntityLevel } from "entities";
import React from "react";
diff --git a/apps/mobile/app/components/list-items/note/wrapper.js b/apps/mobile/app/components/list-items/note/wrapper.js
index c64a5af75..549ea55cb 100644
--- a/apps/mobile/app/components/list-items/note/wrapper.js
+++ b/apps/mobile/app/components/list-items/note/wrapper.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import NoteItem from ".";
diff --git a/apps/mobile/app/components/list-items/notebook/index.js b/apps/mobile/app/components/list-items/notebook/index.js
index 1e228bc46..67935a599 100644
--- a/apps/mobile/app/components/list-items/notebook/index.js
+++ b/apps/mobile/app/components/list-items/notebook/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/notebook/wrapper.js b/apps/mobile/app/components/list-items/notebook/wrapper.js
index 8260da6cb..fa9c132eb 100644
--- a/apps/mobile/app/components/list-items/notebook/wrapper.js
+++ b/apps/mobile/app/components/list-items/notebook/wrapper.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { NotebookItem } from ".";
diff --git a/apps/mobile/app/components/list-items/selection-wrapper/action-strip.js b/apps/mobile/app/components/list-items/selection-wrapper/action-strip.js
index 8d85ce835..baf4c8986 100644
--- a/apps/mobile/app/components/list-items/selection-wrapper/action-strip.js
+++ b/apps/mobile/app/components/list-items/selection-wrapper/action-strip.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { useEffect, useState } from "react";
diff --git a/apps/mobile/app/components/list-items/selection-wrapper/back-fill.js b/apps/mobile/app/components/list-items/selection-wrapper/back-fill.js
index a73bc5c53..9b1f63d09 100644
--- a/apps/mobile/app/components/list-items/selection-wrapper/back-fill.js
+++ b/apps/mobile/app/components/list-items/selection-wrapper/back-fill.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/selection-wrapper/index.js b/apps/mobile/app/components/list-items/selection-wrapper/index.js
index 80086e2d6..679f7f71b 100644
--- a/apps/mobile/app/components/list-items/selection-wrapper/index.js
+++ b/apps/mobile/app/components/list-items/selection-wrapper/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import {
diff --git a/apps/mobile/app/components/list-items/selection-wrapper/selection.js b/apps/mobile/app/components/list-items/selection-wrapper/selection.js
index 0391fb3c6..2640045d3 100644
--- a/apps/mobile/app/components/list-items/selection-wrapper/selection.js
+++ b/apps/mobile/app/components/list-items/selection-wrapper/selection.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { TouchableOpacity, View } from "react-native";
diff --git a/apps/mobile/app/components/list-items/tag/index.js b/apps/mobile/app/components/list-items/tag/index.js
index f90488fab..01c878be7 100644
--- a/apps/mobile/app/components/list-items/tag/index.js
+++ b/apps/mobile/app/components/list-items/tag/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/list/card.js b/apps/mobile/app/components/list/card.js
index 3fcb7bd9f..954874807 100644
--- a/apps/mobile/app/components/list/card.js
+++ b/apps/mobile/app/components/list/card.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/list/empty.js b/apps/mobile/app/components/list/empty.js
index 4e4f77f64..6f792e53a 100644
--- a/apps/mobile/app/components/list/empty.js
+++ b/apps/mobile/app/components/list/empty.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ActivityIndicator, useWindowDimensions, View } from "react-native";
diff --git a/apps/mobile/app/components/list/index.js b/apps/mobile/app/components/list/index.js
index f20107447..b6d1b0dba 100644
--- a/apps/mobile/app/components/list/index.js
+++ b/apps/mobile/app/components/list/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef } from "react";
import { FlatList, RefreshControl, View } from "react-native";
diff --git a/apps/mobile/app/components/merge-conflicts/index.js b/apps/mobile/app/components/merge-conflicts/index.js
index 460da90f0..10f3dd0a1 100644
--- a/apps/mobile/app/components/merge-conflicts/index.js
+++ b/apps/mobile/app/components/merge-conflicts/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import KeepAwake from "@sayem314/react-native-keep-awake";
import React, { useEffect, useRef, useState } from "react";
diff --git a/apps/mobile/app/components/note-history/index.js b/apps/mobile/app/components/note-history/index.js
index e014195e7..6e91c062d 100644
--- a/apps/mobile/app/components/note-history/index.js
+++ b/apps/mobile/app/components/note-history/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useEffect, useState } from "react";
import { Text, View } from "react-native";
diff --git a/apps/mobile/app/components/note-history/preview.js b/apps/mobile/app/components/note-history/preview.js
index 28f725567..1a4d0c1ad 100644
--- a/apps/mobile/app/components/note-history/preview.js
+++ b/apps/mobile/app/components/note-history/preview.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/premium/compact-features.js b/apps/mobile/app/components/premium/compact-features.js
index b2e1b25bd..15fbe4755 100644
--- a/apps/mobile/app/components/premium/compact-features.js
+++ b/apps/mobile/app/components/premium/compact-features.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ScrollView } from "react-native";
diff --git a/apps/mobile/app/components/premium/component.js b/apps/mobile/app/components/premium/component.js
index 91b3625a1..34b77373e 100644
--- a/apps/mobile/app/components/premium/component.js
+++ b/apps/mobile/app/components/premium/component.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { ActivityIndicator, ScrollView, View } from "react-native";
diff --git a/apps/mobile/app/components/premium/expiring.js b/apps/mobile/app/components/premium/expiring.js
index 044f550c6..507cff222 100644
--- a/apps/mobile/app/components/premium/expiring.js
+++ b/apps/mobile/app/components/premium/expiring.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/premium/feature.js b/apps/mobile/app/components/premium/feature.js
index 01194de3d..51a5b16ae 100644
--- a/apps/mobile/app/components/premium/feature.js
+++ b/apps/mobile/app/components/premium/feature.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Text, View } from "react-native";
diff --git a/apps/mobile/app/components/premium/features.js b/apps/mobile/app/components/premium/features.js
index 29a3600bf..85f42d0a6 100644
--- a/apps/mobile/app/components/premium/features.js
+++ b/apps/mobile/app/components/premium/features.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const features = [
{
diff --git a/apps/mobile/app/components/premium/group.js b/apps/mobile/app/components/premium/group.js
index c8f0ee74b..fdbd19a4d 100644
--- a/apps/mobile/app/components/premium/group.js
+++ b/apps/mobile/app/components/premium/group.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ScrollView, View } from "react-native";
diff --git a/apps/mobile/app/components/premium/index.js b/apps/mobile/app/components/premium/index.js
index 91efe3901..230bbb832 100644
--- a/apps/mobile/app/components/premium/index.js
+++ b/apps/mobile/app/components/premium/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { createRef } from "react";
import {
diff --git a/apps/mobile/app/components/premium/offer.js b/apps/mobile/app/components/premium/offer.js
index 52a0f12ea..260b75bb1 100644
--- a/apps/mobile/app/components/premium/offer.js
+++ b/apps/mobile/app/components/premium/offer.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Text } from "react-native";
diff --git a/apps/mobile/app/components/premium/premium-toast.js b/apps/mobile/app/components/premium/premium-toast.js
index 7aa7e43b5..9abe294a3 100644
--- a/apps/mobile/app/components/premium/premium-toast.js
+++ b/apps/mobile/app/components/premium/premium-toast.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/premium/pricing-item.js b/apps/mobile/app/components/premium/pricing-item.js
index 8b9daa974..e6ee55f13 100644
--- a/apps/mobile/app/components/premium/pricing-item.js
+++ b/apps/mobile/app/components/premium/pricing-item.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/premium/pricing-plans.js b/apps/mobile/app/components/premium/pricing-plans.js
index 22512015b..9cac27581 100644
--- a/apps/mobile/app/components/premium/pricing-plans.js
+++ b/apps/mobile/app/components/premium/pricing-plans.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { ActivityIndicator, Platform, Text, View } from "react-native";
diff --git a/apps/mobile/app/components/premium/pro-tag.js b/apps/mobile/app/components/premium/pro-tag.js
index a8a253669..205f6d433 100644
--- a/apps/mobile/app/components/premium/pro-tag.js
+++ b/apps/mobile/app/components/premium/pro-tag.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/color-tags.js b/apps/mobile/app/components/properties/color-tags.js
index 6270b23c1..14897d1a9 100644
--- a/apps/mobile/app/components/properties/color-tags.js
+++ b/apps/mobile/app/components/properties/color-tags.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/date-meta.js b/apps/mobile/app/components/properties/date-meta.js
index a04f27e13..5996a1a9b 100644
--- a/apps/mobile/app/components/properties/date-meta.js
+++ b/apps/mobile/app/components/properties/date-meta.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/dev-mode.js b/apps/mobile/app/components/properties/dev-mode.js
index 04be7d25f..b4acbea34 100644
--- a/apps/mobile/app/components/properties/dev-mode.js
+++ b/apps/mobile/app/components/properties/dev-mode.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React from "react";
diff --git a/apps/mobile/app/components/properties/index.js b/apps/mobile/app/components/properties/index.js
index 27cb27856..ca06199b9 100644
--- a/apps/mobile/app/components/properties/index.js
+++ b/apps/mobile/app/components/properties/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/properties/items.js b/apps/mobile/app/components/properties/items.js
index a4043e1dd..3a76e2a02 100644
--- a/apps/mobile/app/components/properties/items.js
+++ b/apps/mobile/app/components/properties/items.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/notebooks.js b/apps/mobile/app/components/properties/notebooks.js
index d75e0992d..02bdc0c39 100644
--- a/apps/mobile/app/components/properties/notebooks.js
+++ b/apps/mobile/app/components/properties/notebooks.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ScrollView, View } from "react-native";
diff --git a/apps/mobile/app/components/properties/synced.js b/apps/mobile/app/components/properties/synced.js
index 0a2908b80..de72e2794 100644
--- a/apps/mobile/app/components/properties/synced.js
+++ b/apps/mobile/app/components/properties/synced.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/tags.js b/apps/mobile/app/components/properties/tags.js
index 871e87589..ef7dd97fa 100644
--- a/apps/mobile/app/components/properties/tags.js
+++ b/apps/mobile/app/components/properties/tags.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/properties/topics.js b/apps/mobile/app/components/properties/topics.js
index e9f62684c..73974cf6b 100644
--- a/apps/mobile/app/components/properties/topics.js
+++ b/apps/mobile/app/components/properties/topics.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/selection-header/index.js b/apps/mobile/app/components/selection-header/index.js
index 7f10aada4..f3d7234ce 100644
--- a/apps/mobile/app/components/selection-header/index.js
+++ b/apps/mobile/app/components/selection-header/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useEffect } from "react";
import { BackHandler, Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/sheet-provider/index.js b/apps/mobile/app/components/sheet-provider/index.js
index 30d20ac32..4f50e0f6d 100644
--- a/apps/mobile/app/components/sheet-provider/index.js
+++ b/apps/mobile/app/components/sheet-provider/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { ActivityIndicator, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/add-notebook/index.js b/apps/mobile/app/components/sheets/add-notebook/index.js
index 095d1551f..8b4be849d 100644
--- a/apps/mobile/app/components/sheets/add-notebook/index.js
+++ b/apps/mobile/app/components/sheets/add-notebook/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { createRef } from "react";
import {
diff --git a/apps/mobile/app/components/sheets/add-to/index.js b/apps/mobile/app/components/sheets/add-to/index.js
index bdc76b7e4..3b85b8f34 100644
--- a/apps/mobile/app/components/sheets/add-to/index.js
+++ b/apps/mobile/app/components/sheets/add-to/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { createRef, useEffect, useState } from "react";
import { Keyboard, TouchableOpacity, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/export-notes/index.js b/apps/mobile/app/components/sheets/export-notes/index.js
index 26ea58923..addf6210e 100644
--- a/apps/mobile/app/components/sheets/export-notes/index.js
+++ b/apps/mobile/app/components/sheets/export-notes/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { Fragment, useEffect, useRef, useState } from "react";
import { Platform, StyleSheet, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/export-notes/share.js b/apps/mobile/app/components/sheets/export-notes/share.js
index a2a10df91..15547a832 100644
--- a/apps/mobile/app/components/sheets/export-notes/share.js
+++ b/apps/mobile/app/components/sheets/export-notes/share.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/github/issue.js b/apps/mobile/app/components/sheets/github/issue.js
index e166d932d..eea3bd819 100644
--- a/apps/mobile/app/components/sheets/github/issue.js
+++ b/apps/mobile/app/components/sheets/github/issue.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { useRef, useState } from "react";
diff --git a/apps/mobile/app/components/sheets/manage-tags/index.js b/apps/mobile/app/components/sheets/manage-tags/index.js
index 0009a67b2..8d2b60905 100644
--- a/apps/mobile/app/components/sheets/manage-tags/index.js
+++ b/apps/mobile/app/components/sheets/manage-tags/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { ScrollView, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/migrate/index.tsx b/apps/mobile/app/components/sheets/migrate/index.tsx
index 5a408360c..80de17231 100644
--- a/apps/mobile/app/components/sheets/migrate/index.tsx
+++ b/apps/mobile/app/components/sheets/migrate/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/move-notes/movenote.tsx b/apps/mobile/app/components/sheets/move-notes/movenote.tsx
index 74d0fafbe..cccece3e2 100644
--- a/apps/mobile/app/components/sheets/move-notes/movenote.tsx
+++ b/apps/mobile/app/components/sheets/move-notes/movenote.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NotebookType, NoteType, TopicType } from "app/utils/types";
import React, { RefObject, useState } from "react";
diff --git a/apps/mobile/app/components/sheets/new-feature/index.tsx b/apps/mobile/app/components/sheets/new-feature/index.tsx
index 2c2dc83f5..0c3310588 100644
--- a/apps/mobile/app/components/sheets/new-feature/index.tsx
+++ b/apps/mobile/app/components/sheets/new-feature/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform, View } from "react-native";
import { APP_VERSION } from "../../../version";
diff --git a/apps/mobile/app/components/sheets/progress/index.tsx b/apps/mobile/app/components/sheets/progress/index.tsx
index d5df48e16..cbb9b8e00 100644
--- a/apps/mobile/app/components/sheets/progress/index.tsx
+++ b/apps/mobile/app/components/sheets/progress/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/publish-note/index.js b/apps/mobile/app/components/sheets/publish-note/index.js
index 56ef61700..4517503ad 100644
--- a/apps/mobile/app/components/sheets/publish-note/index.js
+++ b/apps/mobile/app/components/sheets/publish-note/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { useEffect, useRef, useState } from "react";
diff --git a/apps/mobile/app/components/sheets/rate-app/index.js b/apps/mobile/app/components/sheets/rate-app/index.js
index a010c4990..667a76447 100644
--- a/apps/mobile/app/components/sheets/rate-app/index.js
+++ b/apps/mobile/app/components/sheets/rate-app/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { Linking, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/recovery-key/index.js b/apps/mobile/app/components/sheets/recovery-key/index.js
index 5a31c4929..0671e8ff7 100644
--- a/apps/mobile/app/components/sheets/recovery-key/index.js
+++ b/apps/mobile/app/components/sheets/recovery-key/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { createRef } from "react";
diff --git a/apps/mobile/app/components/sheets/restore-data/index.js b/apps/mobile/app/components/sheets/restore-data/index.js
index 9b1723e03..fd88a5824 100644
--- a/apps/mobile/app/components/sheets/restore-data/index.js
+++ b/apps/mobile/app/components/sheets/restore-data/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { createRef, useCallback, useEffect, useState } from "react";
import { ActivityIndicator, Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/sort/index.js b/apps/mobile/app/components/sheets/sort/index.js
index eb1109c70..061783b11 100644
--- a/apps/mobile/app/components/sheets/sort/index.js
+++ b/apps/mobile/app/components/sheets/sort/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/sheets/update/index.js b/apps/mobile/app/components/sheets/update/index.js
index e3165e204..c8c012419 100644
--- a/apps/mobile/app/components/sheets/update/index.js
+++ b/apps/mobile/app/components/sheets/update/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { Linking, View } from "react-native";
diff --git a/apps/mobile/app/components/side-menu/color-section.js b/apps/mobile/app/components/side-menu/color-section.js
index 4880958a7..450605096 100644
--- a/apps/mobile/app/components/side-menu/color-section.js
+++ b/apps/mobile/app/components/side-menu/color-section.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/side-menu/index.js b/apps/mobile/app/components/side-menu/index.js
index bd722eaf7..1e312ac95 100644
--- a/apps/mobile/app/components/side-menu/index.js
+++ b/apps/mobile/app/components/side-menu/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback } from "react";
import { FlatList, View } from "react-native";
diff --git a/apps/mobile/app/components/side-menu/menu-item.js b/apps/mobile/app/components/side-menu/menu-item.js
index 8eb34e9c6..cc979b584 100644
--- a/apps/mobile/app/components/side-menu/menu-item.js
+++ b/apps/mobile/app/components/side-menu/menu-item.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/side-menu/pinned-section.js b/apps/mobile/app/components/side-menu/pinned-section.js
index e1f900d8e..50307e999 100644
--- a/apps/mobile/app/components/side-menu/pinned-section.js
+++ b/apps/mobile/app/components/side-menu/pinned-section.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { FlatList, View } from "react-native";
diff --git a/apps/mobile/app/components/side-menu/user-status.js b/apps/mobile/app/components/side-menu/user-status.js
index 27fd27c45..5b12c3429 100644
--- a/apps/mobile/app/components/side-menu/user-status.js
+++ b/apps/mobile/app/components/side-menu/user-status.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ActivityIndicator, Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/tabs/index.tsx b/apps/mobile/app/components/tabs/index.tsx
index a3da1569c..466d7dd30 100644
--- a/apps/mobile/app/components/tabs/index.tsx
+++ b/apps/mobile/app/components/tabs/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, {
forwardRef,
diff --git a/apps/mobile/app/components/tip/index.tsx b/apps/mobile/app/components/tip/index.tsx
index d71dcf9bc..1678240f1 100644
--- a/apps/mobile/app/components/tip/index.tsx
+++ b/apps/mobile/app/components/tip/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Image, TextStyle, View, ViewStyle } from "react-native";
diff --git a/apps/mobile/app/components/toast/index.js b/apps/mobile/app/components/toast/index.js
index 4b9b5dac1..a4465031f 100644
--- a/apps/mobile/app/components/toast/index.js
+++ b/apps/mobile/app/components/toast/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { Keyboard, View } from "react-native";
diff --git a/apps/mobile/app/components/ui/animated-button.tsx/index.tsx b/apps/mobile/app/components/ui/animated-button.tsx/index.tsx
index cf28d659e..061f96c99 100644
--- a/apps/mobile/app/components/ui/animated-button.tsx/index.tsx
+++ b/apps/mobile/app/components/ui/animated-button.tsx/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ActivityIndicator, ColorValue, ViewStyle } from "react-native";
diff --git a/apps/mobile/app/components/ui/button/index.tsx b/apps/mobile/app/components/ui/button/index.tsx
index fc5037fe9..efcb42fd9 100644
--- a/apps/mobile/app/components/ui/button/index.tsx
+++ b/apps/mobile/app/components/ui/button/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import {
diff --git a/apps/mobile/app/components/ui/icon-button/index.tsx b/apps/mobile/app/components/ui/icon-button/index.tsx
index 78dbba711..19308d6ed 100644
--- a/apps/mobile/app/components/ui/icon-button/index.tsx
+++ b/apps/mobile/app/components/ui/icon-button/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ColorValue, GestureResponderEvent, ViewStyle } from "react-native";
diff --git a/apps/mobile/app/components/ui/input/index.tsx b/apps/mobile/app/components/ui/input/index.tsx
index acce3af78..aab9cc5ee 100644
--- a/apps/mobile/app/components/ui/input/index.tsx
+++ b/apps/mobile/app/components/ui/input/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { RefObject, useState } from "react";
import {
diff --git a/apps/mobile/app/components/ui/notice/index.tsx b/apps/mobile/app/components/ui/notice/index.tsx
index de6f89ca7..d097a7cf1 100644
--- a/apps/mobile/app/components/ui/notice/index.tsx
+++ b/apps/mobile/app/components/ui/notice/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/ui/pressable/index.tsx b/apps/mobile/app/components/ui/pressable/index.tsx
index 1d0269713..d05e1b6d5 100644
--- a/apps/mobile/app/components/ui/pressable/index.tsx
+++ b/apps/mobile/app/components/ui/pressable/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { RefObject, useCallback } from "react";
import {
diff --git a/apps/mobile/app/components/ui/seperator/index.tsx b/apps/mobile/app/components/ui/seperator/index.tsx
index e42a3dbed..53c458933 100644
--- a/apps/mobile/app/components/ui/seperator/index.tsx
+++ b/apps/mobile/app/components/ui/seperator/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/ui/sheet/index.js b/apps/mobile/app/components/ui/sheet/index.js
index c83ef6ad8..e10dcdb8c 100644
--- a/apps/mobile/app/components/ui/sheet/index.js
+++ b/apps/mobile/app/components/ui/sheet/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/components/ui/svg/index.tsx b/apps/mobile/app/components/ui/svg/index.tsx
index 2e89b61ce..5fbba335d 100644
--- a/apps/mobile/app/components/ui/svg/index.tsx
+++ b/apps/mobile/app/components/ui/svg/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/components/ui/svg/lazy.js b/apps/mobile/app/components/ui/svg/lazy.js
index 1add77c20..7a8a89c5c 100644
--- a/apps/mobile/app/components/ui/svg/lazy.js
+++ b/apps/mobile/app/components/ui/svg/lazy.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import module_svg from "./module-svg";
diff --git a/apps/mobile/app/components/ui/svg/module-svg.js b/apps/mobile/app/components/ui/svg/module-svg.js
index 6deff9d1f..a6bff6b1d 100644
--- a/apps/mobile/app/components/ui/svg/module-svg.js
+++ b/apps/mobile/app/components/ui/svg/module-svg.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable @typescript-eslint/no-var-requires */
import { Bar, Circle } from "react-native-progress";
diff --git a/apps/mobile/app/components/ui/time-since/index.tsx b/apps/mobile/app/components/ui/time-since/index.tsx
index b474daa28..44604fd21 100644
--- a/apps/mobile/app/components/ui/time-since/index.tsx
+++ b/apps/mobile/app/components/ui/time-since/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { TextProps } from "react-native";
diff --git a/apps/mobile/app/components/ui/transitions/bouncing-view.js b/apps/mobile/app/components/ui/transitions/bouncing-view.js
index e90e8cad8..fef261509 100644
--- a/apps/mobile/app/components/ui/transitions/bouncing-view.js
+++ b/apps/mobile/app/components/ui/transitions/bouncing-view.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import Animated, {
diff --git a/apps/mobile/app/components/ui/typography/heading.tsx b/apps/mobile/app/components/ui/typography/heading.tsx
index 2c70ba581..6f84adc44 100644
--- a/apps/mobile/app/components/ui/typography/heading.tsx
+++ b/apps/mobile/app/components/ui/typography/heading.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useMemo } from "react";
import { Platform, Text, TextProps } from "react-native";
diff --git a/apps/mobile/app/components/ui/typography/paragraph.tsx b/apps/mobile/app/components/ui/typography/paragraph.tsx
index 403ef09d8..803cb59ab 100644
--- a/apps/mobile/app/components/ui/typography/paragraph.tsx
+++ b/apps/mobile/app/components/ui/typography/paragraph.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useMemo } from "react";
import { Text, TextProps } from "react-native";
diff --git a/apps/mobile/app/components/walkthroughs/index.tsx b/apps/mobile/app/components/walkthroughs/index.tsx
index 534c21925..daeb4c763 100644
--- a/apps/mobile/app/components/walkthroughs/index.tsx
+++ b/apps/mobile/app/components/walkthroughs/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { LayoutAnimation, View } from "react-native";
diff --git a/apps/mobile/app/components/walkthroughs/walkthroughs.tsx b/apps/mobile/app/components/walkthroughs/walkthroughs.tsx
index 6e38c2741..d9a1913ec 100644
--- a/apps/mobile/app/components/walkthroughs/walkthroughs.tsx
+++ b/apps/mobile/app/components/walkthroughs/walkthroughs.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Linking, View } from "react-native";
diff --git a/apps/mobile/app/features.ts b/apps/mobile/app/features.ts
index 198de663e..958da66f8 100644
--- a/apps/mobile/app/features.ts
+++ b/apps/mobile/app/features.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { FeatureType } from "./components/sheets/new-feature";
diff --git a/apps/mobile/app/hooks/use-actions.js b/apps/mobile/app/hooks/use-actions.js
index aa5b1fcaa..8a79fa692 100644
--- a/apps/mobile/app/hooks/use-actions.js
+++ b/apps/mobile/app/hooks/use-actions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, { useEffect, useState } from "react";
diff --git a/apps/mobile/app/hooks/use-app-events.js b/apps/mobile/app/hooks/use-app-events.js
index 392312348..f71e04919 100644
--- a/apps/mobile/app/hooks/use-app-events.js
+++ b/apps/mobile/app/hooks/use-app-events.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import NetInfo from "@react-native-community/netinfo";
import { EV, EVENTS } from "@notesnook/core/common";
diff --git a/apps/mobile/app/hooks/use-app-state.ts b/apps/mobile/app/hooks/use-app-state.ts
index 66a803edf..ccb855e8d 100644
--- a/apps/mobile/app/hooks/use-app-state.ts
+++ b/apps/mobile/app/hooks/use-app-state.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { AppState, AppStateStatus } from "react-native";
diff --git a/apps/mobile/app/hooks/use-attachment-progress.js b/apps/mobile/app/hooks/use-attachment-progress.js
index 8ce3da222..ee606e6c7 100644
--- a/apps/mobile/app/hooks/use-attachment-progress.js
+++ b/apps/mobile/app/hooks/use-attachment-progress.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { useAttachmentStore } from "../stores/use-attachment-store";
diff --git a/apps/mobile/app/hooks/use-delay-layout.ts b/apps/mobile/app/hooks/use-delay-layout.ts
index 3227103f4..b4682ed5c 100644
--- a/apps/mobile/app/hooks/use-delay-layout.ts
+++ b/apps/mobile/app/hooks/use-delay-layout.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { InteractionManager } from "react-native";
diff --git a/apps/mobile/app/hooks/use-editor-tags.ts b/apps/mobile/app/hooks/use-editor-tags.ts
index 44549f08c..54fb00575 100644
--- a/apps/mobile/app/hooks/use-editor-tags.ts
+++ b/apps/mobile/app/hooks/use-editor-tags.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { eSubscribeEvent, eUnSubscribeEvent } from "../services/event-manager";
diff --git a/apps/mobile/app/hooks/use-immediate.ts b/apps/mobile/app/hooks/use-immediate.ts
index 0f7fb5c5a..13d6a5e52 100644
--- a/apps/mobile/app/hooks/use-immediate.ts
+++ b/apps/mobile/app/hooks/use-immediate.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { DependencyList, EffectCallback, useEffect } from "react";
diff --git a/apps/mobile/app/hooks/use-is-floating-keyboard.ts b/apps/mobile/app/hooks/use-is-floating-keyboard.ts
index 54dff1137..eb1b0dc8b 100644
--- a/apps/mobile/app/hooks/use-is-floating-keyboard.ts
+++ b/apps/mobile/app/hooks/use-is-floating-keyboard.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { Keyboard, KeyboardEvent, useWindowDimensions } from "react-native";
diff --git a/apps/mobile/app/hooks/use-keyboard.ts b/apps/mobile/app/hooks/use-keyboard.ts
index 13d63409f..36a7f5072 100644
--- a/apps/mobile/app/hooks/use-keyboard.ts
+++ b/apps/mobile/app/hooks/use-keyboard.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { Keyboard, KeyboardEventListener, ScreenRect } from "react-native";
diff --git a/apps/mobile/app/hooks/use-navigation-focus.ts b/apps/mobile/app/hooks/use-navigation-focus.ts
index e88635e1f..1c245f234 100644
--- a/apps/mobile/app/hooks/use-navigation-focus.ts
+++ b/apps/mobile/app/hooks/use-navigation-focus.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NativeStackNavigationProp } from "@react-navigation/native-stack";
import { RefObject, useCallback, useEffect, useRef, useState } from "react";
diff --git a/apps/mobile/app/hooks/use-pricing.ts b/apps/mobile/app/hooks/use-pricing.ts
index 3887466fb..cc0e93db9 100644
--- a/apps/mobile/app/hooks/use-pricing.ts
+++ b/apps/mobile/app/hooks/use-pricing.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { Platform } from "react-native";
diff --git a/apps/mobile/app/hooks/use-rotator.ts b/apps/mobile/app/hooks/use-rotator.ts
index 88e52f6d5..17bc140ee 100644
--- a/apps/mobile/app/hooks/use-rotator.ts
+++ b/apps/mobile/app/hooks/use-rotator.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef, useState } from "react";
diff --git a/apps/mobile/app/hooks/use-sync-progress.ts b/apps/mobile/app/hooks/use-sync-progress.ts
index 0afef9f38..f20d741ca 100644
--- a/apps/mobile/app/hooks/use-sync-progress.ts
+++ b/apps/mobile/app/hooks/use-sync-progress.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EVENTS } from "@notesnook/core/common";
import { useCallback, useEffect, useState } from "react";
diff --git a/apps/mobile/app/hooks/use-timer.ts b/apps/mobile/app/hooks/use-timer.ts
index d5059011d..b3e20f230 100644
--- a/apps/mobile/app/hooks/use-timer.ts
+++ b/apps/mobile/app/hooks/use-timer.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef, useState } from "react";
diff --git a/apps/mobile/app/hooks/use-tooltip.ts b/apps/mobile/app/hooks/use-tooltip.ts
index 5f7b9c7b7..a68fb06e5 100644
--- a/apps/mobile/app/hooks/use-tooltip.ts
+++ b/apps/mobile/app/hooks/use-tooltip.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { RefObject, useEffect, useRef } from "react";
import { Platform } from "react-native";
diff --git a/apps/mobile/app/hooks/use-vault-status.js b/apps/mobile/app/hooks/use-vault-status.js
index d88edc351..1d7b80f2c 100644
--- a/apps/mobile/app/hooks/use-vault-status.js
+++ b/apps/mobile/app/hooks/use-vault-status.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useEffect } from "react";
import BiometicService from "../services/biometrics";
diff --git a/apps/mobile/app/hooks/use-vault-status.ts b/apps/mobile/app/hooks/use-vault-status.ts
index 57daf8eb1..5ec9c143f 100644
--- a/apps/mobile/app/hooks/use-vault-status.ts
+++ b/apps/mobile/app/hooks/use-vault-status.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useEffect } from "react";
import BiometicService from "../services/biometrics";
diff --git a/apps/mobile/app/navigation/index.js b/apps/mobile/app/navigation/index.js
index c819f4e28..ecde70bdc 100644
--- a/apps/mobile/app/navigation/index.js
+++ b/apps/mobile/app/navigation/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { SafeAreaView } from "react-native";
diff --git a/apps/mobile/app/navigation/navigation-stack.js b/apps/mobile/app/navigation/navigation-stack.js
index 697646d64..4a4805463 100644
--- a/apps/mobile/app/navigation/navigation-stack.js
+++ b/apps/mobile/app/navigation/navigation-stack.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
diff --git a/apps/mobile/app/navigation/tabs-holder.js b/apps/mobile/app/navigation/tabs-holder.js
index 1caac960e..3f5685998 100644
--- a/apps/mobile/app/navigation/tabs-holder.js
+++ b/apps/mobile/app/navigation/tabs-holder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
activateKeepAwake,
diff --git a/apps/mobile/app/screens/editor/index.tsx b/apps/mobile/app/screens/editor/index.tsx
index dbaf6d19d..f34e61f7b 100755
--- a/apps/mobile/app/screens/editor/index.tsx
+++ b/apps/mobile/app/screens/editor/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable @typescript-eslint/no-var-requires */
import { EV, EVENTS } from "@notesnook/core/common";
diff --git a/apps/mobile/app/screens/editor/loading.js b/apps/mobile/app/screens/editor/loading.js
index dd3f5c258..fdaa75c19 100644
--- a/apps/mobile/app/screens/editor/loading.js
+++ b/apps/mobile/app/screens/editor/loading.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/editor/progress.js b/apps/mobile/app/screens/editor/progress.js
index e74da1e89..54b881fdb 100644
--- a/apps/mobile/app/screens/editor/progress.js
+++ b/apps/mobile/app/screens/editor/progress.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/editor/source.ts b/apps/mobile/app/screens/editor/source.ts
index 1a1c14ef3..848d84a38 100644
--- a/apps/mobile/app/screens/editor/source.ts
+++ b/apps/mobile/app/screens/editor/source.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
diff --git a/apps/mobile/app/screens/editor/tiptap/commands.ts b/apps/mobile/app/screens/editor/tiptap/commands.ts
index 69222998b..592bb6504 100644
--- a/apps/mobile/app/screens/editor/tiptap/commands.ts
+++ b/apps/mobile/app/screens/editor/tiptap/commands.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import type {
Attachment,
diff --git a/apps/mobile/app/screens/editor/tiptap/picker.js b/apps/mobile/app/screens/editor/tiptap/picker.js
index 87a3df1cd..07e35038d 100644
--- a/apps/mobile/app/screens/editor/tiptap/picker.js
+++ b/apps/mobile/app/screens/editor/tiptap/picker.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Platform, View } from "react-native";
diff --git a/apps/mobile/app/screens/editor/tiptap/types.ts b/apps/mobile/app/screens/editor/tiptap/types.ts
index 371864a95..363e3cb42 100644
--- a/apps/mobile/app/screens/editor/tiptap/types.ts
+++ b/apps/mobile/app/screens/editor/tiptap/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEditor } from "./use-editor";
import type { ToolbarGroupDefinition } from "@notesnook/editor/dist/toolbar/types";
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts b/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
index 35d828522..a1f54b9c5 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable no-case-declarations */
/* eslint-disable @typescript-eslint/no-var-requires */
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index 3910b99a9..c4bd4931b 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { useSafeAreaInsets } from "react-native-safe-area-context";
diff --git a/apps/mobile/app/screens/editor/tiptap/utils.ts b/apps/mobile/app/screens/editor/tiptap/utils.ts
index 6cb5dc500..045a98bae 100644
--- a/apps/mobile/app/screens/editor/tiptap/utils.ts
+++ b/apps/mobile/app/screens/editor/tiptap/utils.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { createRef, MutableRefObject, RefObject } from "react";
import { TextInput } from "react-native";
diff --git a/apps/mobile/app/screens/editor/wrapper.js b/apps/mobile/app/screens/editor/wrapper.js
index 632d73d21..bae5337a5 100644
--- a/apps/mobile/app/screens/editor/wrapper.js
+++ b/apps/mobile/app/screens/editor/wrapper.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import {
diff --git a/apps/mobile/app/screens/favorites/index.tsx b/apps/mobile/app/screens/favorites/index.tsx
index a64b470fd..99182eaff 100644
--- a/apps/mobile/app/screens/favorites/index.tsx
+++ b/apps/mobile/app/screens/favorites/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { db } from "../../common/database";
diff --git a/apps/mobile/app/screens/home/index.tsx b/apps/mobile/app/screens/home/index.tsx
index 9987d36a9..60119ec65 100755
--- a/apps/mobile/app/screens/home/index.tsx
+++ b/apps/mobile/app/screens/home/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { db } from "../../common/database";
diff --git a/apps/mobile/app/screens/notebook/index.tsx b/apps/mobile/app/screens/notebook/index.tsx
index 9656a7174..80f634368 100644
--- a/apps/mobile/app/screens/notebook/index.tsx
+++ b/apps/mobile/app/screens/notebook/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import { qclone } from "qclone";
diff --git a/apps/mobile/app/screens/notebooks/index.tsx b/apps/mobile/app/screens/notebooks/index.tsx
index 159b23a39..d60048cf9 100644
--- a/apps/mobile/app/screens/notebooks/index.tsx
+++ b/apps/mobile/app/screens/notebooks/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { db } from "../../common/database";
diff --git a/apps/mobile/app/screens/notes/colored.tsx b/apps/mobile/app/screens/notes/colored.tsx
index be2f87a44..fd3b4fbb8 100644
--- a/apps/mobile/app/screens/notes/colored.tsx
+++ b/apps/mobile/app/screens/notes/colored.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import React from "react";
diff --git a/apps/mobile/app/screens/notes/common.ts b/apps/mobile/app/screens/notes/common.ts
index 1b14495e0..a9f4fed50 100644
--- a/apps/mobile/app/screens/notes/common.ts
+++ b/apps/mobile/app/screens/notes/common.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { DDS } from "../../services/device-detection";
import { eSendEvent } from "../../services/event-manager";
diff --git a/apps/mobile/app/screens/notes/index.tsx b/apps/mobile/app/screens/notes/index.tsx
index a0a634a89..f7601a6e8 100644
--- a/apps/mobile/app/screens/notes/index.tsx
+++ b/apps/mobile/app/screens/notes/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { FloatingButton } from "../../components/container/floating-button";
diff --git a/apps/mobile/app/screens/notes/monographs.tsx b/apps/mobile/app/screens/notes/monographs.tsx
index 8f31aa262..8c7b73cba 100644
--- a/apps/mobile/app/screens/notes/monographs.tsx
+++ b/apps/mobile/app/screens/notes/monographs.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import React from "react";
diff --git a/apps/mobile/app/screens/notes/tagged.tsx b/apps/mobile/app/screens/notes/tagged.tsx
index 22d6bd298..7bb8d5a6a 100644
--- a/apps/mobile/app/screens/notes/tagged.tsx
+++ b/apps/mobile/app/screens/notes/tagged.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import React from "react";
diff --git a/apps/mobile/app/screens/notes/topic-notes.tsx b/apps/mobile/app/screens/notes/topic-notes.tsx
index 55552866b..f9318e4c8 100644
--- a/apps/mobile/app/screens/notes/topic-notes.tsx
+++ b/apps/mobile/app/screens/notes/topic-notes.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import React from "react";
diff --git a/apps/mobile/app/screens/search/index.js b/apps/mobile/app/screens/search/index.js
index 980c5ce59..d24a24cb6 100644
--- a/apps/mobile/app/screens/search/index.js
+++ b/apps/mobile/app/screens/search/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import DelayLayout from "../../components/delay-layout";
diff --git a/apps/mobile/app/screens/search/search-bar.js b/apps/mobile/app/screens/search/search-bar.js
index ad9379c36..55a26b8e4 100644
--- a/apps/mobile/app/screens/search/search-bar.js
+++ b/apps/mobile/app/screens/search/search-bar.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/2fa.tsx b/apps/mobile/app/screens/settings/2fa.tsx
index 261963cde..080e4f063 100644
--- a/apps/mobile/app/screens/settings/2fa.tsx
+++ b/apps/mobile/app/screens/settings/2fa.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import React, {
diff --git a/apps/mobile/app/screens/settings/app-lock.js b/apps/mobile/app/screens/settings/app-lock.js
index c270f1a7f..f948db494 100644
--- a/apps/mobile/app/screens/settings/app-lock.js
+++ b/apps/mobile/app/screens/settings/app-lock.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState } from "react";
import { Dimensions, LayoutAnimation, Platform, View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/appearance.js b/apps/mobile/app/screens/settings/appearance.js
index 72b14065c..1f1a41d8a 100644
--- a/apps/mobile/app/screens/settings/appearance.js
+++ b/apps/mobile/app/screens/settings/appearance.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef, useState } from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/backup-restore.js b/apps/mobile/app/screens/settings/backup-restore.js
index 1588daeaf..4f4742c16 100644
--- a/apps/mobile/app/screens/settings/backup-restore.js
+++ b/apps/mobile/app/screens/settings/backup-restore.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Platform, TouchableOpacity, View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/components.tsx b/apps/mobile/app/screens/settings/components.tsx
index adb8b7f58..1b8afe04a 100644
--- a/apps/mobile/app/screens/settings/components.tsx
+++ b/apps/mobile/app/screens/settings/components.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { ReactElement } from "react";
import { AccentColorPicker, HomagePageSelector } from "./appearance";
diff --git a/apps/mobile/app/screens/settings/debug.tsx b/apps/mobile/app/screens/settings/debug.tsx
index ad48a0b21..535332e14 100644
--- a/apps/mobile/app/screens/settings/debug.tsx
+++ b/apps/mobile/app/screens/settings/debug.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import { LogMessage } from "@streetwriters/logger";
diff --git a/apps/mobile/app/screens/settings/editor/common.tsx b/apps/mobile/app/screens/settings/editor/common.tsx
index 28b8c96a4..7185eedc8 100644
--- a/apps/mobile/app/screens/settings/editor/common.tsx
+++ b/apps/mobile/app/screens/settings/editor/common.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Group } from "./group";
diff --git a/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx b/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
index b3700b76f..078de3309 100644
--- a/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
+++ b/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { StyleSheet, View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/editor/group.tsx b/apps/mobile/app/screens/settings/editor/group.tsx
index 4789435e6..b51abe57c 100644
--- a/apps/mobile/app/screens/settings/editor/group.tsx
+++ b/apps/mobile/app/screens/settings/editor/group.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import * as React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/editor/state.ts b/apps/mobile/app/screens/settings/editor/state.ts
index 1d4e7623f..a3222b231 100644
--- a/apps/mobile/app/screens/settings/editor/state.ts
+++ b/apps/mobile/app/screens/settings/editor/state.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import type { ToolbarGroupDefinition } from "@notesnook/editor/dist/toolbar/types";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/screens/settings/editor/tool-sheet.tsx b/apps/mobile/app/screens/settings/editor/tool-sheet.tsx
index 8287dad2a..01f1a9a39 100644
--- a/apps/mobile/app/screens/settings/editor/tool-sheet.tsx
+++ b/apps/mobile/app/screens/settings/editor/tool-sheet.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolId } from "@notesnook/editor/dist/toolbar";
import React, { RefObject } from "react";
diff --git a/apps/mobile/app/screens/settings/editor/tool.tsx b/apps/mobile/app/screens/settings/editor/tool.tsx
index 5c7ba779c..93035cfb1 100644
--- a/apps/mobile/app/screens/settings/editor/tool.tsx
+++ b/apps/mobile/app/screens/settings/editor/tool.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import * as React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/editor/toolbar-definition.ts b/apps/mobile/app/screens/settings/editor/toolbar-definition.ts
index f43aeaa9d..6e5a532ca 100644
--- a/apps/mobile/app/screens/settings/editor/toolbar-definition.ts
+++ b/apps/mobile/app/screens/settings/editor/toolbar-definition.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Icons } from "@notesnook/editor/dist/toolbar/icons";
import {
diff --git a/apps/mobile/app/screens/settings/functions.js b/apps/mobile/app/screens/settings/functions.js
index c0569e383..35ec06976 100644
--- a/apps/mobile/app/screens/settings/functions.js
+++ b/apps/mobile/app/screens/settings/functions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { presentDialog } from "../../components/dialog/functions";
import { ToastEvent } from "../../services/event-manager";
diff --git a/apps/mobile/app/screens/settings/group.tsx b/apps/mobile/app/screens/settings/group.tsx
index 35ffa1375..a0fc1320e 100644
--- a/apps/mobile/app/screens/settings/group.tsx
+++ b/apps/mobile/app/screens/settings/group.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import React, { useEffect } from "react";
diff --git a/apps/mobile/app/screens/settings/home.tsx b/apps/mobile/app/screens/settings/home.tsx
index 8cb6981b0..571d153ba 100644
--- a/apps/mobile/app/screens/settings/home.tsx
+++ b/apps/mobile/app/screens/settings/home.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import React, { useEffect, useState } from "react";
diff --git a/apps/mobile/app/screens/settings/index.tsx b/apps/mobile/app/screens/settings/index.tsx
index 743efe41c..aa64f6d21 100644
--- a/apps/mobile/app/screens/settings/index.tsx
+++ b/apps/mobile/app/screens/settings/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import React from "react";
diff --git a/apps/mobile/app/screens/settings/section-group.tsx b/apps/mobile/app/screens/settings/section-group.tsx
index f0b9d470d..0ffa0937e 100644
--- a/apps/mobile/app/screens/settings/section-group.tsx
+++ b/apps/mobile/app/screens/settings/section-group.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/section-item.tsx b/apps/mobile/app/screens/settings/section-item.tsx
index bc558a912..f24f9c879 100644
--- a/apps/mobile/app/screens/settings/section-item.tsx
+++ b/apps/mobile/app/screens/settings/section-item.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
NavigationProp,
diff --git a/apps/mobile/app/screens/settings/settings-data.tsx b/apps/mobile/app/screens/settings/settings-data.tsx
index 0dbb4745a..99ec16d53 100644
--- a/apps/mobile/app/screens/settings/settings-data.tsx
+++ b/apps/mobile/app/screens/settings/settings-data.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import dayjs from "dayjs";
import React from "react";
diff --git a/apps/mobile/app/screens/settings/subscription.js b/apps/mobile/app/screens/settings/subscription.js
index e3a769900..3e596042e 100644
--- a/apps/mobile/app/screens/settings/subscription.js
+++ b/apps/mobile/app/screens/settings/subscription.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { Linking, Platform, View } from "react-native";
diff --git a/apps/mobile/app/screens/settings/types.ts b/apps/mobile/app/screens/settings/types.ts
index fcec7cd72..6464ca1d6 100644
--- a/apps/mobile/app/screens/settings/types.ts
+++ b/apps/mobile/app/screens/settings/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Settings } from "../../stores/use-setting-store";
diff --git a/apps/mobile/app/screens/settings/user-section.js b/apps/mobile/app/screens/settings/user-section.js
index 17f708b0b..3d3b960d2 100644
--- a/apps/mobile/app/screens/settings/user-section.js
+++ b/apps/mobile/app/screens/settings/user-section.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import dayjs from "dayjs";
import React from "react";
diff --git a/apps/mobile/app/screens/tags/index.tsx b/apps/mobile/app/screens/tags/index.tsx
index 8dbf3f989..6a972083a 100644
--- a/apps/mobile/app/screens/tags/index.tsx
+++ b/apps/mobile/app/screens/tags/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { db } from "../../common/database";
diff --git a/apps/mobile/app/screens/trash/index.tsx b/apps/mobile/app/screens/trash/index.tsx
index 64d63278f..4558863ac 100644
--- a/apps/mobile/app/screens/trash/index.tsx
+++ b/apps/mobile/app/screens/trash/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { db } from "../../common/database";
diff --git a/apps/mobile/app/services/backup.js b/apps/mobile/app/services/backup.js
index 7576b08b7..a968fd4fc 100644
--- a/apps/mobile/app/services/backup.js
+++ b/apps/mobile/app/services/backup.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import FileViewer from "react-native-file-viewer";
@@ -105,7 +106,7 @@ async function presentBackupCompleteSheet(backupFilePath) {
icon: "cloud-upload",
paragraph: `${
Platform.OS === "android"
- ? "Backup file saved in \"Notesnook backups\" folder on your phone"
+ ? 'Backup file saved in "Notesnook backups" folder on your phone'
: "Backup file is saved in File Manager/Notesnook folder"
}. Share your backup to your cloud so you do not lose it.`,
actionText: "Share backup",
diff --git a/apps/mobile/app/services/biometrics.ts b/apps/mobile/app/services/biometrics.ts
index 5d41ec2cc..bc140e32e 100644
--- a/apps/mobile/app/services/biometrics.ts
+++ b/apps/mobile/app/services/biometrics.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import FingerprintScanner, {
diff --git a/apps/mobile/app/services/device-detection.js b/apps/mobile/app/services/device-detection.js
index dd88520e3..1ee6a2ce2 100644
--- a/apps/mobile/app/services/device-detection.js
+++ b/apps/mobile/app/services/device-detection.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Dimensions, PixelRatio, Platform } from "react-native";
import DeviceInfo from "react-native-device-info";
diff --git a/apps/mobile/app/services/event-manager.ts b/apps/mobile/app/services/event-manager.ts
index 1e7fa9a55..63ae30d7c 100644
--- a/apps/mobile/app/services/event-manager.ts
+++ b/apps/mobile/app/services/event-manager.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Clipboard from "@react-native-clipboard/clipboard";
import EventManager from "@notesnook/core/utils/event-manager";
diff --git a/apps/mobile/app/services/exporter.js b/apps/mobile/app/services/exporter.js
index 7c583e6d4..0ac469392 100644
--- a/apps/mobile/app/services/exporter.js
+++ b/apps/mobile/app/services/exporter.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { decode, EntityLevel } from "entities";
import { Platform } from "react-native";
diff --git a/apps/mobile/app/services/message.js b/apps/mobile/app/services/message.js
index 6ac501edf..80b824017 100644
--- a/apps/mobile/app/services/message.js
+++ b/apps/mobile/app/services/message.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useMessageStore } from "../stores/use-message-store";
import {
diff --git a/apps/mobile/app/services/navigation.ts b/apps/mobile/app/services/navigation.ts
index e3e6cd1c6..d4931caf0 100755
--- a/apps/mobile/app/services/navigation.ts
+++ b/apps/mobile/app/services/navigation.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { StackActions } from "@react-navigation/native";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
diff --git a/apps/mobile/app/services/notifications.ts b/apps/mobile/app/services/notifications.ts
index d9bf977b7..e85dd4aa4 100644
--- a/apps/mobile/app/services/notifications.ts
+++ b/apps/mobile/app/services/notifications.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import PushNotification, {
diff --git a/apps/mobile/app/services/premium.js b/apps/mobile/app/services/premium.js
index 66534d5a9..b0339e7d8 100644
--- a/apps/mobile/app/services/premium.js
+++ b/apps/mobile/app/services/premium.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { CHECK_IDS } from "@notesnook/core/common";
import React from "react";
diff --git a/apps/mobile/app/services/search.js b/apps/mobile/app/services/search.js
index c3e58591a..4d0993bdb 100644
--- a/apps/mobile/app/services/search.js
+++ b/apps/mobile/app/services/search.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useSearchStore } from "../stores/use-search-store";
import { db } from "../common/database";
diff --git a/apps/mobile/app/services/settings.ts b/apps/mobile/app/services/settings.ts
index 8feb12277..e012072fc 100644
--- a/apps/mobile/app/services/settings.ts
+++ b/apps/mobile/app/services/settings.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import { enabled } from "react-native-privacy-snapshot";
diff --git a/apps/mobile/app/services/sync.js b/apps/mobile/app/services/sync.js
index 0032641c4..6c7419b65 100644
--- a/apps/mobile/app/services/sync.js
+++ b/apps/mobile/app/services/sync.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import NetInfo from "@react-native-community/netinfo";
import { EVENTS } from "@notesnook/core/common";
diff --git a/apps/mobile/app/services/tip-manager.ts b/apps/mobile/app/services/tip-manager.ts
index f7294a6e4..e72281664 100644
--- a/apps/mobile/app/services/tip-manager.ts
+++ b/apps/mobile/app/services/tip-manager.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef, useState } from "react";
import { MMKV } from "../common/database/mmkv";
diff --git a/apps/mobile/app/services/validation.js b/apps/mobile/app/services/validation.js
index 6aabb6216..cc3316c76 100644
--- a/apps/mobile/app/services/validation.js
+++ b/apps/mobile/app/services/validation.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import isEmail from "validator/lib/isEmail";
diff --git a/apps/mobile/app/stores/index.ts b/apps/mobile/app/stores/index.ts
index d1833dc76..eac9f2d37 100644
--- a/apps/mobile/app/stores/index.ts
+++ b/apps/mobile/app/stores/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/database";
import Navigation from "../services/navigation";
diff --git a/apps/mobile/app/stores/use-attachment-store.ts b/apps/mobile/app/stores/use-attachment-store.ts
index 9e6150bfa..cfac85c8c 100644
--- a/apps/mobile/app/stores/use-attachment-store.ts
+++ b/apps/mobile/app/stores/use-attachment-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create from "zustand";
import { editorController } from "../screens/editor/tiptap/utils";
diff --git a/apps/mobile/app/stores/use-editor-store.ts b/apps/mobile/app/stores/use-editor-store.ts
index 3e586d6d3..708cd5ba0 100644
--- a/apps/mobile/app/stores/use-editor-store.ts
+++ b/apps/mobile/app/stores/use-editor-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
import { eSubscribeEvent, eUnSubscribeEvent } from "../services/event-manager";
diff --git a/apps/mobile/app/stores/use-favorite-store.ts b/apps/mobile/app/stores/use-favorite-store.ts
index ce248174a..24f9d0c3c 100644
--- a/apps/mobile/app/stores/use-favorite-store.ts
+++ b/apps/mobile/app/stores/use-favorite-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-menu-store.ts b/apps/mobile/app/stores/use-menu-store.ts
index 454e1e61b..9fab5916c 100644
--- a/apps/mobile/app/stores/use-menu-store.ts
+++ b/apps/mobile/app/stores/use-menu-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
import { db } from "../common/database";
diff --git a/apps/mobile/app/stores/use-message-store.ts b/apps/mobile/app/stores/use-message-store.ts
index ec55dac9c..a5d42431b 100644
--- a/apps/mobile/app/stores/use-message-store.ts
+++ b/apps/mobile/app/stores/use-message-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-navigation-store.ts b/apps/mobile/app/stores/use-navigation-store.ts
index a2b4f89c7..8a1016a02 100644
--- a/apps/mobile/app/stores/use-navigation-store.ts
+++ b/apps/mobile/app/stores/use-navigation-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
import { COLORS_NOTE } from "../utils/color-scheme";
diff --git a/apps/mobile/app/stores/use-notebook-store.ts b/apps/mobile/app/stores/use-notebook-store.ts
index ed44600b0..0ee32be6e 100644
--- a/apps/mobile/app/stores/use-notebook-store.ts
+++ b/apps/mobile/app/stores/use-notebook-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-notes-store.ts b/apps/mobile/app/stores/use-notes-store.ts
index 346a1dcb4..32c6ba0ae 100644
--- a/apps/mobile/app/stores/use-notes-store.ts
+++ b/apps/mobile/app/stores/use-notes-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-search-store.ts b/apps/mobile/app/stores/use-search-store.ts
index 9694522f5..9aa740760 100644
--- a/apps/mobile/app/stores/use-search-store.ts
+++ b/apps/mobile/app/stores/use-search-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-selection-store.ts b/apps/mobile/app/stores/use-selection-store.ts
index 5796d2b3e..9c64d657e 100644
--- a/apps/mobile/app/stores/use-selection-store.ts
+++ b/apps/mobile/app/stores/use-selection-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
import { history } from "../utils";
diff --git a/apps/mobile/app/stores/use-setting-store.ts b/apps/mobile/app/stores/use-setting-store.ts
index e2177efc4..4e2f48021 100644
--- a/apps/mobile/app/stores/use-setting-store.ts
+++ b/apps/mobile/app/stores/use-setting-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Dimensions } from "react-native";
import Config from "react-native-config";
diff --git a/apps/mobile/app/stores/use-tag-store.ts b/apps/mobile/app/stores/use-tag-store.ts
index 255f536e9..55068ad81 100644
--- a/apps/mobile/app/stores/use-tag-store.ts
+++ b/apps/mobile/app/stores/use-tag-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "@notesnook/core/types";
import { groupArray } from "@notesnook/core/utils/grouping";
diff --git a/apps/mobile/app/stores/use-theme-store.ts b/apps/mobile/app/stores/use-theme-store.ts
index 6ce47221d..4ace2290c 100644
--- a/apps/mobile/app/stores/use-theme-store.ts
+++ b/apps/mobile/app/stores/use-theme-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Appearance } from "react-native";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-trash-store.ts b/apps/mobile/app/stores/use-trash-store.ts
index 035354a88..09e488643 100644
--- a/apps/mobile/app/stores/use-trash-store.ts
+++ b/apps/mobile/app/stores/use-trash-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "@notesnook/core/utils/grouping";
import create, { State } from "zustand";
diff --git a/apps/mobile/app/stores/use-user-store.ts b/apps/mobile/app/stores/use-user-store.ts
index 24ff5f7b3..3c4e9e4a3 100644
--- a/apps/mobile/app/stores/use-user-store.ts
+++ b/apps/mobile/app/stores/use-user-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
diff --git a/apps/mobile/app/utils/color-scheme/index.js b/apps/mobile/app/utils/color-scheme/index.js
index 691e2e5aa..fbeb78e1a 100644
--- a/apps/mobile/app/utils/color-scheme/index.js
+++ b/apps/mobile/app/utils/color-scheme/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform, StatusBar } from "react-native";
import { AndroidModule } from "..";
diff --git a/apps/mobile/app/utils/color-scheme/utils.js b/apps/mobile/app/utils/color-scheme/utils.js
index 746f3b3aa..395040e15 100644
--- a/apps/mobile/app/utils/color-scheme/utils.js
+++ b/apps/mobile/app/utils/color-scheme/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Appearance } from "react-native";
import {
diff --git a/apps/mobile/app/utils/constants.js b/apps/mobile/app/utils/constants.js
index 42744e126..a4bbafa9a 100644
--- a/apps/mobile/app/utils/constants.js
+++ b/apps/mobile/app/utils/constants.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Platform } from "react-native";
import { Monographs } from "../screens/notes/monographs";
diff --git a/apps/mobile/app/utils/events.js b/apps/mobile/app/utils/events.js
index c6051ce1b..b5c0a469d 100644
--- a/apps/mobile/app/utils/events.js
+++ b/apps/mobile/app/utils/events.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const eOnLoadNote = "500";
diff --git a/apps/mobile/app/utils/functions.js b/apps/mobile/app/utils/functions.js
index aade92e91..85913581b 100644
--- a/apps/mobile/app/utils/functions.js
+++ b/apps/mobile/app/utils/functions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Linking } from "react-native";
import { history } from ".";
diff --git a/apps/mobile/app/utils/global-refs.ts b/apps/mobile/app/utils/global-refs.ts
index 811f02e61..fc52fb40f 100644
--- a/apps/mobile/app/utils/global-refs.ts
+++ b/apps/mobile/app/utils/global-refs.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { createNavigationContainerRef } from "@react-navigation/native";
import { createRef } from "react";
diff --git a/apps/mobile/app/utils/index.js b/apps/mobile/app/utils/index.js
index 32c968a8d..3a1d77320 100755
--- a/apps/mobile/app/utils/index.js
+++ b/apps/mobile/app/utils/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { AppState, Dimensions, NativeModules, Platform } from "react-native";
import {
diff --git a/apps/mobile/app/utils/layout-manager.js b/apps/mobile/app/utils/layout-manager.js
index b9525e8fb..5cdab4030 100644
--- a/apps/mobile/app/utils/layout-manager.js
+++ b/apps/mobile/app/utils/layout-manager.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function withAnimation(_duration = 300) {
return;
diff --git a/apps/mobile/app/utils/sanitizer/index.js b/apps/mobile/app/utils/sanitizer/index.js
index 64ff0c3b9..9613573a3 100644
--- a/apps/mobile/app/utils/sanitizer/index.js
+++ b/apps/mobile/app/utils/sanitizer/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*jshint node:true*/
diff --git a/apps/mobile/app/utils/size/index.js b/apps/mobile/app/utils/size/index.js
index 87256f83e..ccdf87a91 100644
--- a/apps/mobile/app/utils/size/index.js
+++ b/apps/mobile/app/utils/size/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Dimensions, PixelRatio, Platform } from "react-native";
import { DDS } from "../../services/device-detection";
diff --git a/apps/mobile/app/utils/sse/even-source-ios.js b/apps/mobile/app/utils/sse/even-source-ios.js
index 76715c290..f7cc9510f 100644
--- a/apps/mobile/app/utils/sse/even-source-ios.js
+++ b/apps/mobile/app/utils/sse/even-source-ios.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
"use strict";
import _reactNative from "react-native";
diff --git a/apps/mobile/app/utils/sse/event-source.js b/apps/mobile/app/utils/sse/event-source.js
index 65979ba2b..09d4c69c4 100644
--- a/apps/mobile/app/utils/sse/event-source.js
+++ b/apps/mobile/app/utils/sse/event-source.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NativeEventEmitter, NativeModules, Platform } from "react-native";
diff --git a/apps/mobile/app/utils/time/index.ts b/apps/mobile/app/utils/time/index.ts
index 8a6d5e6e7..be7ceb6de 100644
--- a/apps/mobile/app/utils/time/index.ts
+++ b/apps/mobile/app/utils/time/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const sleep = (duration: number) =>
new Promise((resolve) => setTimeout(() => resolve(true), duration));
diff --git a/apps/mobile/app/utils/types.ts b/apps/mobile/app/utils/types.ts
index 3487e0561..be34430ea 100644
--- a/apps/mobile/app/utils/types.ts
+++ b/apps/mobile/app/utils/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// eslint-disable-next-line @typescript-eslint/ban-types
export type LiteralUnion<T extends U, U = string> = T | (U & {});
diff --git a/apps/mobile/app/version.js b/apps/mobile/app/version.js
index 9595ad40e..450a1db3c 100644
--- a/apps/mobile/app/version.js
+++ b/apps/mobile/app/version.js
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const APP_VERSION = 217;
diff --git a/apps/mobile/e2e/environment.js b/apps/mobile/e2e/environment.js
index e65279b8f..b21e9ff94 100644
--- a/apps/mobile/e2e/environment.js
+++ b/apps/mobile/e2e/environment.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
DetoxCircusEnvironment,
diff --git a/apps/mobile/e2e/setup.ts b/apps/mobile/e2e/setup.ts
index 3dc604c42..8a64349b6 100644
--- a/apps/mobile/e2e/setup.ts
+++ b/apps/mobile/e2e/setup.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { device } from "detox";
diff --git a/apps/mobile/e2e/test.ids.js b/apps/mobile/e2e/test.ids.js
index 0886215b7..3eca2ffce 100644
--- a/apps/mobile/e2e/test.ids.js
+++ b/apps/mobile/e2e/test.ids.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const notesnook = {
editor: {
diff --git a/apps/mobile/e2e/tests/auth.e2e.js b/apps/mobile/e2e/tests/auth.e2e.js
index d2e52c982..c606a666c 100644
--- a/apps/mobile/e2e/tests/auth.e2e.js
+++ b/apps/mobile/e2e/tests/auth.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
tapByText,
diff --git a/apps/mobile/e2e/tests/index.e2e.js b/apps/mobile/e2e/tests/index.e2e.js
index 7d168f7ca..21a8952d5 100644
--- a/apps/mobile/e2e/tests/index.e2e.js
+++ b/apps/mobile/e2e/tests/index.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { navigate, tapByText, prepare, sleep } from "./utils";
diff --git a/apps/mobile/e2e/tests/note.e2e.js b/apps/mobile/e2e/tests/note.e2e.js
index b04332dfb..bbc9bc04f 100644
--- a/apps/mobile/e2e/tests/note.e2e.js
+++ b/apps/mobile/e2e/tests/note.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import {
diff --git a/apps/mobile/e2e/tests/notebook.e2e.js b/apps/mobile/e2e/tests/notebook.e2e.js
index 33ad3cee8..3338219f7 100644
--- a/apps/mobile/e2e/tests/notebook.e2e.js
+++ b/apps/mobile/e2e/tests/notebook.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import {
diff --git a/apps/mobile/e2e/tests/search.e2e.js b/apps/mobile/e2e/tests/search.e2e.js
index 04e559c85..01ad2bd56 100644
--- a/apps/mobile/e2e/tests/search.e2e.js
+++ b/apps/mobile/e2e/tests/search.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
tapById,
diff --git a/apps/mobile/e2e/tests/sort.e2e.js b/apps/mobile/e2e/tests/sort.e2e.js
index ff6df27f7..533d550a7 100644
--- a/apps/mobile/e2e/tests/sort.e2e.js
+++ b/apps/mobile/e2e/tests/sort.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import {
diff --git a/apps/mobile/e2e/tests/tag.e2e.js b/apps/mobile/e2e/tests/tag.e2e.js
index 777426087..0d4a9de8a 100644
--- a/apps/mobile/e2e/tests/tag.e2e.js
+++ b/apps/mobile/e2e/tests/tag.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import {
diff --git a/apps/mobile/e2e/tests/utils.js b/apps/mobile/e2e/tests/utils.js
index 7c06613af..bed0676a6 100644
--- a/apps/mobile/e2e/tests/utils.js
+++ b/apps/mobile/e2e/tests/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import { readFileSync } from "fs";
diff --git a/apps/mobile/e2e/tests/vault.e2e.js b/apps/mobile/e2e/tests/vault.e2e.js
index 3169bddba..33dc640c6 100644
--- a/apps/mobile/e2e/tests/vault.e2e.js
+++ b/apps/mobile/e2e/tests/vault.e2e.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { notesnook } from "../test.ids";
import {
diff --git a/apps/mobile/share/index.js b/apps/mobile/share/index.js
index b376e8f17..c6921b281 100644
--- a/apps/mobile/share/index.js
+++ b/apps/mobile/share/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { Fragment } from "react";
import { Modal, Platform } from "react-native";
diff --git a/apps/mobile/share/quick-note.js b/apps/mobile/share/quick-note.js
index aeec8915c..7a68b7108 100644
--- a/apps/mobile/share/quick-note.js
+++ b/apps/mobile/share/quick-note.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { Component } from "react";
import { Appearance, SafeAreaView } from "react-native";
diff --git a/apps/mobile/share/search.js b/apps/mobile/share/search.js
index b14ab4154..2e3ebffd5 100644
--- a/apps/mobile/share/search.js
+++ b/apps/mobile/share/search.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useRef, useState } from "react";
import {
diff --git a/apps/mobile/share/share.js b/apps/mobile/share/share.js
index 1fdf24402..ba32f39f9 100644
--- a/apps/mobile/share/share.js
+++ b/apps/mobile/share/share.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { getPreviewData } from "@flyerhq/react-native-link-preview";
import { parseHTML } from "@notesnook/core/utils/html-parser";
diff --git a/apps/mobile/share/store.js b/apps/mobile/share/store.js
index 32ef74acc..527b8c8c2 100644
--- a/apps/mobile/share/store.js
+++ b/apps/mobile/share/store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Appearance } from "react-native";
import create from "zustand";
diff --git a/apps/web/__e2e__/checkout.test.js b/apps/web/__e2e__/checkout.test.js
index 0405f85ce..7621b91e0 100644
--- a/apps/web/__e2e__/checkout.test.js
+++ b/apps/web/__e2e__/checkout.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const { getTestId, loginUser } = require("./utils");
diff --git a/apps/web/__e2e__/colors.issues.test.js b/apps/web/__e2e__/colors.issues.test.js
index 38fd9b48f..4d54c7393 100644
--- a/apps/web/__e2e__/colors.issues.test.js
+++ b/apps/web/__e2e__/colors.issues.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test } = require("@playwright/test");
const { getTestId } = require("./utils");
diff --git a/apps/web/__e2e__/editor.test.js b/apps/web/__e2e__/editor.test.js
index 3145a1b79..b30c1fd7e 100644
--- a/apps/web/__e2e__/editor.test.js
+++ b/apps/web/__e2e__/editor.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const {
diff --git a/apps/web/__e2e__/importer.test.js b/apps/web/__e2e__/importer.test.js
index 2f73ad43b..db9dab81c 100644
--- a/apps/web/__e2e__/importer.test.js
+++ b/apps/web/__e2e__/importer.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const { getTestId, isTestAll, loginUser } = require("./utils");
diff --git a/apps/web/__e2e__/navigation.test.js b/apps/web/__e2e__/navigation.test.js
index 8e4e403c6..9d19d6893 100644
--- a/apps/web/__e2e__/navigation.test.js
+++ b/apps/web/__e2e__/navigation.test.js
@@ -1,23 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-/* eslint-disable no-undef */
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/* eslint-disable no-undef */
const { test, expect } = require("@playwright/test");
const { getTestId } = require("./utils");
diff --git a/apps/web/__e2e__/notebooks.issues.test.js b/apps/web/__e2e__/notebooks.issues.test.js
index 90dfd5ff4..8d1d8141e 100644
--- a/apps/web/__e2e__/notebooks.issues.test.js
+++ b/apps/web/__e2e__/notebooks.issues.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test } = require("@playwright/test");
test.skip("TODO: pin 3 notebooks & make sure they can be unpinned");
diff --git a/apps/web/__e2e__/notebooks.test.js b/apps/web/__e2e__/notebooks.test.js
index e02f00430..2b14fdbae 100644
--- a/apps/web/__e2e__/notebooks.test.js
+++ b/apps/web/__e2e__/notebooks.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable no-undef */
const { test, expect } = require("@playwright/test");
diff --git a/apps/web/__e2e__/notehistory.test.js b/apps/web/__e2e__/notehistory.test.js
index 0528a92d6..8bb3797f7 100644
--- a/apps/web/__e2e__/notehistory.test.js
+++ b/apps/web/__e2e__/notehistory.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const { NOTE, getTestId, getEditorContent, editNote } = require("./utils");
diff --git a/apps/web/__e2e__/notes.issues.test.js b/apps/web/__e2e__/notes.issues.test.js
index 72b870d3a..34e6736cb 100644
--- a/apps/web/__e2e__/notes.issues.test.js
+++ b/apps/web/__e2e__/notes.issues.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test } = require("@playwright/test");
test.skip("TODO: make sure jump to group works");
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.js
index 4d27b43e6..839156597 100644
--- a/apps/web/__e2e__/notes.test.js
+++ b/apps/web/__e2e__/notes.test.js
@@ -1,23 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-/* eslint-disable no-undef */
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/* eslint-disable no-undef */
/**
* TODO: We are still not checking if toast appears on delete/restore or not.
*/
diff --git a/apps/web/__e2e__/tags.test.js b/apps/web/__e2e__/tags.test.js
index 62dd12983..03aa668d6 100644
--- a/apps/web/__e2e__/tags.test.js
+++ b/apps/web/__e2e__/tags.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const { getTestId, createNote, NOTE } = require("./utils");
diff --git a/apps/web/__e2e__/user.test.js b/apps/web/__e2e__/user.test.js
index 181fe1b34..c4dc4921f 100644
--- a/apps/web/__e2e__/user.test.js
+++ b/apps/web/__e2e__/user.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { test, expect } = require("@playwright/test");
const { getTestId, isTestAll, loginUser, USER } = require("./utils");
diff --git a/apps/web/__e2e__/utils/actions.js b/apps/web/__e2e__/utils/actions.js
index fccb017fe..36fdde36d 100644
--- a/apps/web/__e2e__/utils/actions.js
+++ b/apps/web/__e2e__/utils/actions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable no-undef */
const { getTestId } = require("./index");
diff --git a/apps/web/__e2e__/utils/conditions.js b/apps/web/__e2e__/utils/conditions.js
index d1a490a64..1f90df46f 100644
--- a/apps/web/__e2e__/utils/conditions.js
+++ b/apps/web/__e2e__/utils/conditions.js
@@ -1,23 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-/* eslint-disable no-undef */
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/* eslint-disable no-undef */
const { expect } = require("@playwright/test");
const { getTestId, NOTE, createNote } = require(".");
const List = require("./listitemidbuilder");
diff --git a/apps/web/__e2e__/utils/index.js b/apps/web/__e2e__/utils/index.js
index f25e25181..daf80260f 100644
--- a/apps/web/__e2e__/utils/index.js
+++ b/apps/web/__e2e__/utils/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable no-undef */
const fs = require("fs");
@@ -96,15 +97,18 @@ async function editNote(title, content, noDelay = false) {
}
async function downloadFile(downloadActionSelector, encoding) {
- return new Promise((resolve) => {
+ const promiseEvent = new Promise((resolve) => {
page.on("download", async (download) => {
const path = await download.path();
resolve(fs.readFileSync(path, { encoding }));
});
- await page.waitForSelector(downloadActionSelector);
-
- await page.click(downloadActionSelector);
});
+
+ await page.waitForSelector(downloadActionSelector);
+
+ await page.click(downloadActionSelector);
+
+ await promiseEvent;
}
async function getEditorTitle() {
diff --git a/apps/web/__e2e__/utils/listitemidbuilder.js b/apps/web/__e2e__/utils/listitemidbuilder.js
index d536a820d..ba3b96b62 100644
--- a/apps/web/__e2e__/utils/listitemidbuilder.js
+++ b/apps/web/__e2e__/utils/listitemidbuilder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { getTestId } = require(".");
diff --git a/apps/web/__e2e__/utils/menuitemidbuilder.js b/apps/web/__e2e__/utils/menuitemidbuilder.js
index 5006184b6..1c26a6c7c 100644
--- a/apps/web/__e2e__/utils/menuitemidbuilder.js
+++ b/apps/web/__e2e__/utils/menuitemidbuilder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { getTestId } = require(".");
diff --git a/apps/web/desktop/autoupdate.js b/apps/web/desktop/autoupdate.js
index 0cc0ff578..14fdeb24e 100644
--- a/apps/web/desktop/autoupdate.js
+++ b/apps/web/desktop/autoupdate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { autoUpdater } = require("electron-updater");
const { EVENTS } = require("./events");
diff --git a/apps/web/desktop/changelog.js b/apps/web/desktop/changelog.js
index 43cae3c99..ffa5371f9 100644
--- a/apps/web/desktop/changelog.js
+++ b/apps/web/desktop/changelog.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const showdown = require("showdown");
diff --git a/apps/web/desktop/config/theme.js b/apps/web/desktop/config/theme.js
index 95834dc13..2ac37dc3c 100644
--- a/apps/web/desktop/config/theme.js
+++ b/apps/web/desktop/config/theme.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const JSONStorage = require("../jsonstorage");
const { nativeTheme } = require("electron");
diff --git a/apps/web/desktop/config/windowstate.js b/apps/web/desktop/config/windowstate.js
index 423587de1..3668980de 100644
--- a/apps/web/desktop/config/windowstate.js
+++ b/apps/web/desktop/config/windowstate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const JSONStorage = require("../jsonstorage");
const electron = require("electron");
diff --git a/apps/web/desktop/config/zoomfactor.js b/apps/web/desktop/config/zoomfactor.js
index 69cd2b450..95d27b385 100644
--- a/apps/web/desktop/config/zoomfactor.js
+++ b/apps/web/desktop/config/zoomfactor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const JSONStorage = require("../jsonstorage");
diff --git a/apps/web/desktop/electron.js b/apps/web/desktop/electron.js
index 7f668d2e1..9a2badd0a 100644
--- a/apps/web/desktop/electron.js
+++ b/apps/web/desktop/electron.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
require("isomorphic-fetch");
const { app, BrowserWindow, nativeTheme, shell } = require("electron");
diff --git a/apps/web/desktop/events.js b/apps/web/desktop/events.js
index 02686ccfe..32e64bd0e 100644
--- a/apps/web/desktop/events.js
+++ b/apps/web/desktop/events.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
module.exports.EVENTS = {
checkingForUpdate: "checkingForUpdate",
diff --git a/apps/web/desktop/ipc/actions/changeAppTheme.js b/apps/web/desktop/ipc/actions/changeAppTheme.js
index dc0fe94b2..9492d182e 100644
--- a/apps/web/desktop/ipc/actions/changeAppTheme.js
+++ b/apps/web/desktop/ipc/actions/changeAppTheme.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { setTheme } = require("../../config/theme");
diff --git a/apps/web/desktop/ipc/actions/checkForUpdate.js b/apps/web/desktop/ipc/actions/checkForUpdate.js
index dd4435303..1d05c3b69 100644
--- a/apps/web/desktop/ipc/actions/checkForUpdate.js
+++ b/apps/web/desktop/ipc/actions/checkForUpdate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { autoUpdater } = require("electron-updater");
diff --git a/apps/web/desktop/ipc/actions/downloadUpdate.js b/apps/web/desktop/ipc/actions/downloadUpdate.js
index a6421ac4f..80be11b57 100644
--- a/apps/web/desktop/ipc/actions/downloadUpdate.js
+++ b/apps/web/desktop/ipc/actions/downloadUpdate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { CancellationToken } = require("builder-util-runtime");
const { autoUpdater } = require("electron-updater");
diff --git a/apps/web/desktop/ipc/actions/index.js b/apps/web/desktop/ipc/actions/index.js
index fe7d9b7f6..df18a8f4b 100644
--- a/apps/web/desktop/ipc/actions/index.js
+++ b/apps/web/desktop/ipc/actions/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const changeAppTheme = require("./changeAppTheme");
const checkForUpdate = require("./checkForUpdate");
diff --git a/apps/web/desktop/ipc/actions/installUpdate.js b/apps/web/desktop/ipc/actions/installUpdate.js
index 8a447cca2..efea114c2 100644
--- a/apps/web/desktop/ipc/actions/installUpdate.js
+++ b/apps/web/desktop/ipc/actions/installUpdate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { autoUpdater } = require("electron-updater");
diff --git a/apps/web/desktop/ipc/actions/open.js b/apps/web/desktop/ipc/actions/open.js
index 00ee84a88..e8f994a3d 100644
--- a/apps/web/desktop/ipc/actions/open.js
+++ b/apps/web/desktop/ipc/actions/open.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { shell } = require("electron");
const { resolvePath } = require("../utils");
diff --git a/apps/web/desktop/ipc/actions/saveFile.js b/apps/web/desktop/ipc/actions/saveFile.js
index 0c290641a..fbd9c9fdc 100644
--- a/apps/web/desktop/ipc/actions/saveFile.js
+++ b/apps/web/desktop/ipc/actions/saveFile.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const fs = require("fs");
const path = require("path");
diff --git a/apps/web/desktop/ipc/actions/setZoomFactor.js b/apps/web/desktop/ipc/actions/setZoomFactor.js
index e4360d4ac..460c6f3c7 100644
--- a/apps/web/desktop/ipc/actions/setZoomFactor.js
+++ b/apps/web/desktop/ipc/actions/setZoomFactor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { setZoomFactor } = require("../../config/zoomfactor");
diff --git a/apps/web/desktop/ipc/calls/getZoomFactor.js b/apps/web/desktop/ipc/calls/getZoomFactor.js
index 77ea53fd8..d376574e2 100644
--- a/apps/web/desktop/ipc/calls/getZoomFactor.js
+++ b/apps/web/desktop/ipc/calls/getZoomFactor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { getZoomFactor } = require("../../config/zoomfactor");
diff --git a/apps/web/desktop/ipc/calls/index.js b/apps/web/desktop/ipc/calls/index.js
index e460945d7..cd11b10c4 100644
--- a/apps/web/desktop/ipc/calls/index.js
+++ b/apps/web/desktop/ipc/calls/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const getZoomFactor = require("./getZoomFactor");
const selectDirectory = require("./selectDirectory");
diff --git a/apps/web/desktop/ipc/calls/selectDirectory.js b/apps/web/desktop/ipc/calls/selectDirectory.js
index e4e4d1d07..17bd67851 100644
--- a/apps/web/desktop/ipc/calls/selectDirectory.js
+++ b/apps/web/desktop/ipc/calls/selectDirectory.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { dialog } = require("electron");
const { resolvePath } = require("../utils");
diff --git a/apps/web/desktop/ipc/index.js b/apps/web/desktop/ipc/index.js
index 9ef92be52..3f92a8795 100644
--- a/apps/web/desktop/ipc/index.js
+++ b/apps/web/desktop/ipc/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { ipcMain } = require("electron");
const { logger } = require("../logger");
diff --git a/apps/web/desktop/ipc/utils.js b/apps/web/desktop/ipc/utils.js
index 644b7c7c5..10570bbb7 100644
--- a/apps/web/desktop/ipc/utils.js
+++ b/apps/web/desktop/ipc/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { logger } = require("../logger");
const { app } = require("electron");
diff --git a/apps/web/desktop/jsonstorage/index.js b/apps/web/desktop/jsonstorage/index.js
index d1a33ce19..6a46e6ace 100644
--- a/apps/web/desktop/jsonstorage/index.js
+++ b/apps/web/desktop/jsonstorage/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const fs = require("fs");
const { app } = require("electron");
diff --git a/apps/web/desktop/logger.js b/apps/web/desktop/logger.js
index 3ec389257..7a195f387 100644
--- a/apps/web/desktop/logger.js
+++ b/apps/web/desktop/logger.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { app } = require("electron");
const { diary, enable, default_reporter } = require("diary");
diff --git a/apps/web/desktop/menu.js b/apps/web/desktop/menu.js
index 4afb2d617..3f201da1c 100644
--- a/apps/web/desktop/menu.js
+++ b/apps/web/desktop/menu.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { Menu, MenuItem, clipboard } = require("electron");
diff --git a/apps/web/desktop/paths.js b/apps/web/desktop/paths.js
index 0c4ad3854..c3a496dbd 100644
--- a/apps/web/desktop/paths.js
+++ b/apps/web/desktop/paths.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
module.exports.PATHS = {
backupsDirectory: "documents/Notesnook/backups",
diff --git a/apps/web/desktop/preload.js b/apps/web/desktop/preload.js
index bdd4ca550..048bd93dd 100644
--- a/apps/web/desktop/preload.js
+++ b/apps/web/desktop/preload.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { contextBridge, ipcRenderer } = require("electron");
diff --git a/apps/web/desktop/protocol.js b/apps/web/desktop/protocol.js
index 8dd4d7428..37122642c 100644
--- a/apps/web/desktop/protocol.js
+++ b/apps/web/desktop/protocol.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { protocol } = require("electron");
const { isDevelopment, getPath } = require("./utils");
diff --git a/apps/web/desktop/scripts/removeLocales.js b/apps/web/desktop/scripts/removeLocales.js
index 214b7b65b..7c8405473 100644
--- a/apps/web/desktop/scripts/removeLocales.js
+++ b/apps/web/desktop/scripts/removeLocales.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
//https://www.electron.build/configuration/configuration#afterpack
exports.default = async function (context) {
diff --git a/apps/web/desktop/utils.js b/apps/web/desktop/utils.js
index b8e1c545b..e30be33dd 100644
--- a/apps/web/desktop/utils.js
+++ b/apps/web/desktop/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { app } = require("electron");
const path = require("path");
diff --git a/apps/web/package-lock.json b/apps/web/package-lock.json
index d21f40664..a85a04b52 100644
--- a/apps/web/package-lock.json
+++ b/apps/web/package-lock.json
@@ -16,8 +16,8 @@
"@mdi/js": "^6.5.95",
"@mdi/react": "^1.4.0",
"@notesnook/desktop": "file:desktop",
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/components": "^0.14.7",
+ "@theme-ui/core": "^0.14.7",
"allotment": "^1.12.1",
"async-mutex": "^0.3.2",
"axios": "^0.21.4",
@@ -432,72 +432,6 @@
"ajv": ">=8"
}
},
- "node_modules/@babel/cli": {
- "version": "7.18.10",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- },
- "bin": {
- "babel": "bin/babel.js",
- "babel-external-helpers": "bin/babel-external-helpers.js"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "optionalDependencies": {
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/cli/node_modules/commander": {
- "version": "4.1.1",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/@babel/cli/node_modules/make-dir": {
- "version": "2.1.0",
- "license": "MIT",
- "dependencies": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@babel/cli/node_modules/pify": {
- "version": "4.0.1",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@babel/cli/node_modules/semver": {
- "version": "5.7.1",
- "license": "ISC",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/@babel/cli/node_modules/slash": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/@babel/code-frame": {
"version": "7.18.6",
"license": "MIT",
@@ -2810,41 +2744,6 @@
"version": "1.2.0",
"license": "MIT"
},
- "node_modules/@emotion/styled": {
- "version": "11.10.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/utils": "^1.2.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0",
- "@emotion/react": "^11.0.0-rc.0",
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/styled/node_modules/@emotion/is-prop-valid": {
- "version": "1.2.0",
- "license": "MIT",
- "dependencies": {
- "@emotion/memoize": "^0.8.0"
- }
- },
- "node_modules/@emotion/styled/node_modules/@emotion/memoize": {
- "version": "0.8.0",
- "license": "MIT"
- },
"node_modules/@emotion/unitless": {
"version": "0.8.0",
"license": "MIT"
@@ -3470,11 +3369,6 @@
"prop-types": "^15.7.2"
}
},
- "node_modules/@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "license": "MIT",
- "optional": true
- },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"license": "MIT",
@@ -3675,121 +3569,87 @@
"@sinonjs/commons": "^1.7.0"
}
},
- "node_modules/@streetwriters/rebass": {
- "version": "5.0.0",
- "license": "MIT",
- "dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
- }
- },
- "node_modules/@streetwriters/rebass-bundler": {
- "version": "4.0.6",
- "license": "MIT",
- "dependencies": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- },
- "bin": {
- "rebass-bundler": "index.js"
- }
- },
- "node_modules/@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "license": "MIT",
- "dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
- }
- },
- "node_modules/@streetwriters/reflexbox": {
- "version": "5.0.0",
- "license": "MIT",
- "dependencies": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- },
- "peerDependencies": {
- "react": ">=17.0.0"
- }
- },
"node_modules/@styled-system/background": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/background/-/background-5.1.2.tgz",
+ "integrity": "sha512-jtwH2C/U6ssuGSvwTN3ri/IyjdHb8W9X/g8Y0JLcrH02G+BW3OS8kZdHphF1/YyRklnrKrBT2ngwGUK6aqqV3A==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/border": {
"version": "5.1.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/border/-/border-5.1.5.tgz",
+ "integrity": "sha512-JvddhNrnhGigtzWRCVuAHepniyVi6hBlimxWDVAdcTuk7aRn9BYJUwfHslURtwYFsF5FoEs8Zmr1oZq2M1AP0A==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/color": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/color/-/color-5.1.2.tgz",
+ "integrity": "sha512-1kCkeKDZkt4GYkuFNKc7vJQMcOmTl3bJY3YBUs7fCNM6mMYJeT1pViQ2LwBSBJytj3AB0o4IdLBoepgSgGl5MA==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/core": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.1.2.tgz",
+ "integrity": "sha512-XclBDdNIy7OPOsN4HBsawG2eiWfCcuFt6gxKn1x4QfMIgeO6TOlA2pZZ5GWZtIhCUqEPTgIBta6JXsGyCkLBYw==",
"dependencies": {
"object-assign": "^4.1.1"
}
},
"node_modules/@styled-system/css": {
"version": "5.1.5",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/@styled-system/css/-/css-5.1.5.tgz",
+ "integrity": "sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A=="
},
"node_modules/@styled-system/flexbox": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.1.2.tgz",
+ "integrity": "sha512-6hHV52+eUk654Y1J2v77B8iLeBNtc+SA3R4necsu2VVinSD7+XY5PCCEzBFaWs42dtOEDIa2lMrgL0YBC01mDQ==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/grid": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/grid/-/grid-5.1.2.tgz",
+ "integrity": "sha512-K3YiV1KyHHzgdNuNlaw8oW2ktMuGga99o1e/NAfTEi5Zsa7JXxzwEnVSDSBdJC+z6R8WYTCYRQC6bkVFcvdTeg==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/layout": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/layout/-/layout-5.1.2.tgz",
+ "integrity": "sha512-wUhkMBqSeacPFhoE9S6UF3fsMEKFv91gF4AdDWp0Aym1yeMPpqz9l9qS/6vjSsDPF7zOb5cOKC3tcKKOMuDCPw==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/position": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/position/-/position-5.1.2.tgz",
+ "integrity": "sha512-60IZfMXEOOZe3l1mCu6sj/2NAyUmES2kR9Kzp7s2D3P4qKsZWxD1Se1+wJvevb+1TP+ZMkGPEYYXRyU8M1aF5A==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/shadow": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.1.2.tgz",
+ "integrity": "sha512-wqniqYb7XuZM7K7C0d1Euxc4eGtqEe/lvM0WjuAFsQVImiq6KGT7s7is+0bNI8O4Dwg27jyu4Lfqo/oIQXNzAg==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/should-forward-prop": {
"version": "5.1.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz",
+ "integrity": "sha512-+rPRomgCGYnUIaFabDoOgpSDc4UUJ1KsmlnzcEp0tu5lFrBQKgZclSo18Z1URhaZm7a6agGtS5Xif7tuC2s52Q==",
"dependencies": {
"@emotion/is-prop-valid": "^0.8.1",
"@emotion/memoize": "^0.7.1",
@@ -3798,21 +3658,24 @@
},
"node_modules/@styled-system/space": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/space/-/space-5.1.2.tgz",
+ "integrity": "sha512-+zzYpR8uvfhcAbaPXhH8QgDAV//flxqxSjHiS9cDFQQUSznXMQmxJegbhcdEF7/eNnJgHeIXv1jmny78kipgBA==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/typography": {
"version": "5.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/typography/-/typography-5.1.2.tgz",
+ "integrity": "sha512-BxbVUnN8N7hJ4aaPOd7wEsudeT7CxarR+2hns8XCX1zp0DFfbWw4xYa/olA0oQaqx7F1hzDg+eRaGzAJbF+jOg==",
"dependencies": {
"@styled-system/core": "^5.1.2"
}
},
"node_modules/@styled-system/variant": {
"version": "5.1.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@styled-system/variant/-/variant-5.1.5.tgz",
+ "integrity": "sha512-Yn8hXAFoWIro8+Q5J8YJd/mP85Teiut3fsGVR9CAxwgNfIAiqlYxsk5iHU7VHJks/0KjL4ATSjmbtCDC/4l1qw==",
"dependencies": {
"@styled-system/core": "^5.1.2",
"@styled-system/css": "^5.1.5"
@@ -4032,6 +3895,59 @@
"node": ">=6"
}
},
+ "node_modules/@theme-ui/components": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.14.7.tgz",
+ "integrity": "sha512-iIzqBvRL8GNVkzuZinxInYNFW/38pvqqthuCgLsnOC0/A4Q4v13mn/fxlZa6pJjwouswsRLOrkd63bS7Svzkfw==",
+ "dependencies": {
+ "@styled-system/color": "^5.1.2",
+ "@styled-system/should-forward-prop": "^5.1.2",
+ "@styled-system/space": "^5.1.2",
+ "@theme-ui/css": "0.14.7",
+ "@types/styled-system": "^5.1.13"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "react": ">16"
+ }
+ },
+ "node_modules/@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
+ "dependencies": {
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "react": ">16"
+ }
+ },
+ "node_modules/@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
+ "dependencies": {
+ "csstype": "^3.0.10"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11"
+ }
+ },
+ "node_modules/@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
+ "dependencies": {
+ "@theme-ui/css": "0.14.7"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "react": ">16"
+ }
+ },
"node_modules/@tootallnate/once": {
"version": "2.0.0",
"dev": true,
@@ -4383,6 +4299,14 @@
"version": "2.0.1",
"license": "MIT"
},
+ "node_modules/@types/styled-system": {
+ "version": "5.1.15",
+ "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.15.tgz",
+ "integrity": "sha512-1uls4wipZn8FtYFZ7upRVFDoEeOXTQTs2zuyOZPn02T6rjIxtvj2P2lG5qsxXHhKuKsu3thveCZrtaeLE/ibLg==",
+ "dependencies": {
+ "csstype": "^3.0.2"
+ }
+ },
"node_modules/@types/trusted-types": {
"version": "2.0.2",
"license": "MIT"
@@ -9214,10 +9138,6 @@
"version": "1.0.3",
"license": "Unlicense"
},
- "node_modules/fs-readdir-recursive": {
- "version": "1.1.0",
- "license": "MIT"
- },
"node_modules/fs.realpath": {
"version": "1.0.0",
"license": "ISC"
@@ -16081,7 +16001,8 @@
},
"node_modules/styled-system": {
"version": "5.1.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz",
+ "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==",
"dependencies": {
"@styled-system/background": "^5.1.2",
"@styled-system/border": "^5.1.5",
@@ -18113,41 +18034,6 @@
"leven": "^3.1.0"
}
},
- "@babel/cli": {
- "version": "7.18.10",
- "requires": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- },
- "dependencies": {
- "commander": {
- "version": "4.1.1"
- },
- "make-dir": {
- "version": "2.1.0",
- "requires": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- }
- },
- "pify": {
- "version": "4.0.1"
- },
- "semver": {
- "version": "5.7.1"
- },
- "slash": {
- "version": "2.0.0"
- }
- }
- },
"@babel/code-frame": {
"version": "7.18.6",
"requires": {
@@ -19472,27 +19358,6 @@
"@emotion/sheet": {
"version": "1.2.0"
},
- "@emotion/styled": {
- "version": "11.10.0",
- "requires": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/utils": "^1.2.0"
- },
- "dependencies": {
- "@emotion/is-prop-valid": {
- "version": "1.2.0",
- "requires": {
- "@emotion/memoize": "^0.8.0"
- }
- },
- "@emotion/memoize": {
- "version": "0.8.0"
- }
- }
- },
"@emotion/unitless": {
"version": "0.8.0"
},
@@ -19908,10 +19773,6 @@
"prop-types": "^15.7.2"
}
},
- "@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "optional": true
- },
"@nodelib/fs.scandir": {
"version": "2.1.5",
"requires": {
@@ -20109,100 +19970,87 @@
"@sinonjs/commons": "^1.7.0"
}
},
- "@streetwriters/rebass": {
- "version": "5.0.0",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
- }
- },
- "@streetwriters/rebass-bundler": {
- "version": "4.0.6",
- "requires": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- }
- },
- "@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
- }
- },
- "@streetwriters/reflexbox": {
- "version": "5.0.0",
- "requires": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- }
- },
"@styled-system/background": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/background/-/background-5.1.2.tgz",
+ "integrity": "sha512-jtwH2C/U6ssuGSvwTN3ri/IyjdHb8W9X/g8Y0JLcrH02G+BW3OS8kZdHphF1/YyRklnrKrBT2ngwGUK6aqqV3A==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/border": {
"version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/@styled-system/border/-/border-5.1.5.tgz",
+ "integrity": "sha512-JvddhNrnhGigtzWRCVuAHepniyVi6hBlimxWDVAdcTuk7aRn9BYJUwfHslURtwYFsF5FoEs8Zmr1oZq2M1AP0A==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/color": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/color/-/color-5.1.2.tgz",
+ "integrity": "sha512-1kCkeKDZkt4GYkuFNKc7vJQMcOmTl3bJY3YBUs7fCNM6mMYJeT1pViQ2LwBSBJytj3AB0o4IdLBoepgSgGl5MA==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/core": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.1.2.tgz",
+ "integrity": "sha512-XclBDdNIy7OPOsN4HBsawG2eiWfCcuFt6gxKn1x4QfMIgeO6TOlA2pZZ5GWZtIhCUqEPTgIBta6JXsGyCkLBYw==",
"requires": {
"object-assign": "^4.1.1"
}
},
"@styled-system/css": {
- "version": "5.1.5"
+ "version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/@styled-system/css/-/css-5.1.5.tgz",
+ "integrity": "sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A=="
},
"@styled-system/flexbox": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.1.2.tgz",
+ "integrity": "sha512-6hHV52+eUk654Y1J2v77B8iLeBNtc+SA3R4necsu2VVinSD7+XY5PCCEzBFaWs42dtOEDIa2lMrgL0YBC01mDQ==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/grid": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/grid/-/grid-5.1.2.tgz",
+ "integrity": "sha512-K3YiV1KyHHzgdNuNlaw8oW2ktMuGga99o1e/NAfTEi5Zsa7JXxzwEnVSDSBdJC+z6R8WYTCYRQC6bkVFcvdTeg==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/layout": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/layout/-/layout-5.1.2.tgz",
+ "integrity": "sha512-wUhkMBqSeacPFhoE9S6UF3fsMEKFv91gF4AdDWp0Aym1yeMPpqz9l9qS/6vjSsDPF7zOb5cOKC3tcKKOMuDCPw==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/position": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/position/-/position-5.1.2.tgz",
+ "integrity": "sha512-60IZfMXEOOZe3l1mCu6sj/2NAyUmES2kR9Kzp7s2D3P4qKsZWxD1Se1+wJvevb+1TP+ZMkGPEYYXRyU8M1aF5A==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/shadow": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.1.2.tgz",
+ "integrity": "sha512-wqniqYb7XuZM7K7C0d1Euxc4eGtqEe/lvM0WjuAFsQVImiq6KGT7s7is+0bNI8O4Dwg27jyu4Lfqo/oIQXNzAg==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/should-forward-prop": {
"version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz",
+ "integrity": "sha512-+rPRomgCGYnUIaFabDoOgpSDc4UUJ1KsmlnzcEp0tu5lFrBQKgZclSo18Z1URhaZm7a6agGtS5Xif7tuC2s52Q==",
"requires": {
"@emotion/is-prop-valid": "^0.8.1",
"@emotion/memoize": "^0.7.1",
@@ -20211,18 +20059,24 @@
},
"@styled-system/space": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/space/-/space-5.1.2.tgz",
+ "integrity": "sha512-+zzYpR8uvfhcAbaPXhH8QgDAV//flxqxSjHiS9cDFQQUSznXMQmxJegbhcdEF7/eNnJgHeIXv1jmny78kipgBA==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/typography": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/@styled-system/typography/-/typography-5.1.2.tgz",
+ "integrity": "sha512-BxbVUnN8N7hJ4aaPOd7wEsudeT7CxarR+2hns8XCX1zp0DFfbWw4xYa/olA0oQaqx7F1hzDg+eRaGzAJbF+jOg==",
"requires": {
"@styled-system/core": "^5.1.2"
}
},
"@styled-system/variant": {
"version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/@styled-system/variant/-/variant-5.1.5.tgz",
+ "integrity": "sha512-Yn8hXAFoWIro8+Q5J8YJd/mP85Teiut3fsGVR9CAxwgNfIAiqlYxsk5iHU7VHJks/0KjL4ATSjmbtCDC/4l1qw==",
"requires": {
"@styled-system/core": "^5.1.2",
"@styled-system/css": "^5.1.5"
@@ -20325,6 +20179,44 @@
"defer-to-connect": "^1.0.1"
}
},
+ "@theme-ui/components": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.14.7.tgz",
+ "integrity": "sha512-iIzqBvRL8GNVkzuZinxInYNFW/38pvqqthuCgLsnOC0/A4Q4v13mn/fxlZa6pJjwouswsRLOrkd63bS7Svzkfw==",
+ "requires": {
+ "@styled-system/color": "^5.1.2",
+ "@styled-system/should-forward-prop": "^5.1.2",
+ "@styled-system/space": "^5.1.2",
+ "@theme-ui/css": "0.14.7",
+ "@types/styled-system": "^5.1.13"
+ }
+ },
+ "@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
+ "requires": {
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
+ }
+ },
+ "@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
+ "requires": {
+ "csstype": "^3.0.10"
+ }
+ },
+ "@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
+ "requires": {
+ "@theme-ui/css": "0.14.7"
+ }
+ },
"@tootallnate/once": {
"version": "2.0.0",
"dev": true
@@ -20618,6 +20510,14 @@
"@types/stack-utils": {
"version": "2.0.1"
},
+ "@types/styled-system": {
+ "version": "5.1.15",
+ "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.15.tgz",
+ "integrity": "sha512-1uls4wipZn8FtYFZ7upRVFDoEeOXTQTs2zuyOZPn02T6rjIxtvj2P2lG5qsxXHhKuKsu3thveCZrtaeLE/ibLg==",
+ "requires": {
+ "csstype": "^3.0.2"
+ }
+ },
"@types/trusted-types": {
"version": "2.0.2"
},
@@ -23621,9 +23521,6 @@
"fs-monkey": {
"version": "1.0.3"
},
- "fs-readdir-recursive": {
- "version": "1.1.0"
- },
"fs.realpath": {
"version": "1.0.0"
},
@@ -27708,6 +27605,8 @@
},
"styled-system": {
"version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz",
+ "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==",
"requires": {
"@styled-system/background": "^5.1.2",
"@styled-system/border": "^5.1.5",
diff --git a/apps/web/package.json b/apps/web/package.json
index b16b02fe1..34e9fae02 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -22,8 +22,8 @@
"@notesnook/logger": "*",
"@notesnook/streamable-fs": "*",
"@notesnook/theme": "*",
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/components": "^0.14.7",
+ "@theme-ui/core": "^0.14.7",
"allotment": "^1.12.1",
"async-mutex": "^0.3.2",
"axios": "^0.21.4",
diff --git a/apps/web/playwright.config.js b/apps/web/playwright.config.js
index 7cfa1f820..554571a1a 100644
--- a/apps/web/playwright.config.js
+++ b/apps/web/playwright.config.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const IS_CI = !!process.env.CI;
diff --git a/apps/web/public/index.html b/apps/web/public/index.html
index c2dc70e9d..c0716b7f2 100644
--- a/apps/web/public/index.html
+++ b/apps/web/public/index.html
@@ -155,7 +155,6 @@
/* svg {
width: 1.5rem;
} */
-
.ReactModal__Overlay {
opacity: 0;
transition: opacity 200ms ease-in-out;
diff --git a/apps/web/scripts/analyze.js b/apps/web/scripts/analyze.js
index e50d33e6d..4d4a3ed6f 100644
--- a/apps/web/scripts/analyze.js
+++ b/apps/web/scripts/analyze.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
process.env.NODE_ENV = "production";
diff --git a/apps/web/src/app-effects.js b/apps/web/src/app-effects.js
index e5a05f856..cc640e9ce 100644
--- a/apps/web/src/app-effects.js
+++ b/apps/web/src/app-effects.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect } from "react";
import { useStore } from "./stores/app-store";
diff --git a/apps/web/src/app-effects.mobile.js b/apps/web/src/app-effects.mobile.js
index 784e39e9e..4f623aac7 100644
--- a/apps/web/src/app-effects.mobile.js
+++ b/apps/web/src/app-effects.mobile.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect } from "react";
import { useStore } from "./stores/app-store";
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 6e1a9be92..084e3fee2 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useState, Suspense, useMemo, useRef, useEffect } from "react";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import ThemeProvider from "./components/theme-provider";
import useMobile from "./hooks/use-mobile";
import useTablet from "./hooks/use-tablet";
@@ -67,11 +68,9 @@ function App() {
</Suspense>
)}
<Flex
- flexDirection="column"
id="app"
bg="background"
- height="100%"
- sx={{ overflow: "hidden" }}
+ sx={{ overflow: "hidden", flexDirection: "column", height: "100%" }}
>
{isMobile ? (
<MobileAppContents isAppLoaded={isAppLoaded} />
@@ -174,9 +173,9 @@ function DesktopAppContents({ isAppLoaded, show, setShow }) {
<Flex
sx={{
overflow: "hidden",
- flex: 1
+ flex: 1,
+ flexDirection: "column"
}}
- flexDirection="column"
>
<SuspenseLoader
fallback={<EditorLoader />}
@@ -202,22 +201,22 @@ function MobileAppContents({ isAppLoaded }) {
<Flex
id="slider"
variant="rowFill"
- overflowX={"auto"}
sx={{
overflowY: "hidden",
scrollSnapType: "x mandatory",
scrollBehavior: "smooth",
WebkitOverflowScrolling: "touch",
scrollSnapStop: "always",
- overscrollBehavior: "contain"
+ overscrollBehavior: "contain",
+ overflowX: "auto"
}}
>
<Flex
- flexShrink={0}
sx={{
scrollSnapAlign: "start",
scrollSnapStop: "always",
- width: [300, 60]
+ width: [300, 60],
+ flexShrink: 0
}}
>
<SuspenseLoader
@@ -232,13 +231,13 @@ function MobileAppContents({ isAppLoaded }) {
<Flex
className="listMenu"
variant="columnFill"
- width={"100vw"}
sx={{
position: "relative",
scrollSnapAlign: "start",
- scrollSnapStop: "always"
+ scrollSnapStop: "always",
+ flexShrink: 0,
+ width: "100vw"
}}
- flexShrink={0}
>
<SuspenseLoader
condition={isAppLoaded}
@@ -262,13 +261,13 @@ function MobileAppContents({ isAppLoaded }) {
/>
</Flex>
<Flex
- width={"100vw"}
- flexShrink={0}
sx={{
scrollSnapAlign: "start",
- scrollSnapStop: "always"
+ scrollSnapStop: "always",
+ flexDirection: "column",
+ flexShrink: 0,
+ width: "100vw"
}}
- flexDirection="column"
>
<SuspenseLoader
fallback={<EditorLoader />}
diff --git a/apps/web/src/commands/change-app-theme.js b/apps/web/src/commands/change-app-theme.js
index 260b0c931..fe43d4f73 100644
--- a/apps/web/src/commands/change-app-theme.js
+++ b/apps/web/src/commands/change-app-theme.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { invokeCommand } from "./index";
diff --git a/apps/web/src/commands/check-for-update.js b/apps/web/src/commands/check-for-update.js
index 42247bcaf..396140aa8 100644
--- a/apps/web/src/commands/check-for-update.js
+++ b/apps/web/src/commands/check-for-update.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EVENTS } from "@notesnook/desktop/events";
import { AppEventManager } from "../common/app-events";
diff --git a/apps/web/src/commands/download-update.js b/apps/web/src/commands/download-update.js
index 6c379dc4f..72cbf6825 100644
--- a/apps/web/src/commands/download-update.js
+++ b/apps/web/src/commands/download-update.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { isDesktop } from "../utils/platform";
import { invokeCommand } from "./index";
diff --git a/apps/web/src/commands/index.js b/apps/web/src/commands/index.js
index 8071bca69..d9e3b5f85 100644
--- a/apps/web/src/commands/index.js
+++ b/apps/web/src/commands/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { AppEventManager } from "../common/app-events";
import { isDesktop } from "../utils/platform";
diff --git a/apps/web/src/commands/install-update.js b/apps/web/src/commands/install-update.js
index 1fa44777a..254b09022 100644
--- a/apps/web/src/commands/install-update.js
+++ b/apps/web/src/commands/install-update.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { isDesktop } from "../utils/platform";
import { invokeCommand } from "./index";
diff --git a/apps/web/src/commands/open.js b/apps/web/src/commands/open.js
index f117c0c99..ae9ec8d7f 100644
--- a/apps/web/src/commands/open.js
+++ b/apps/web/src/commands/open.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { invokeCommand } from "./index";
diff --git a/apps/web/src/commands/save-file.js b/apps/web/src/commands/save-file.js
index d23de7058..5357bb71f 100644
--- a/apps/web/src/commands/save-file.js
+++ b/apps/web/src/commands/save-file.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { invokeCommand } from "./index";
diff --git a/apps/web/src/commands/set-zoom-factor.js b/apps/web/src/commands/set-zoom-factor.js
index 58ae47368..ff6fef44f 100644
--- a/apps/web/src/commands/set-zoom-factor.js
+++ b/apps/web/src/commands/set-zoom-factor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { invokeCommand } from "./index";
diff --git a/apps/web/src/common/app-events.js b/apps/web/src/common/app-events.js
index 59397a235..44498c471 100644
--- a/apps/web/src/common/app-events.js
+++ b/apps/web/src/common/app-events.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import EventManager from "@notesnook/core/utils/event-manager";
diff --git a/apps/web/src/common/attachments.js b/apps/web/src/common/attachments.js
index d5fe96eed..dd5833b50 100644
--- a/apps/web/src/common/attachments.js
+++ b/apps/web/src/common/attachments.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import FS from "../interfaces/fs";
import { db } from "./db";
diff --git a/apps/web/src/common/constants.ts b/apps/web/src/common/constants.ts
index e54ddefdd..10a7934ef 100644
--- a/apps/web/src/common/constants.ts
+++ b/apps/web/src/common/constants.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export const COLORS = [
"red",
diff --git a/apps/web/src/common/db.js b/apps/web/src/common/db.js
index da2d42458..03ca0b870 100644
--- a/apps/web/src/common/db.js
+++ b/apps/web/src/common/db.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EventSourcePolyfill as EventSource } from "event-source-polyfill";
import { NNStorage } from "../interfaces/storage";
diff --git a/apps/web/src/common/dialog-controller.tsx b/apps/web/src/common/dialog-controller.tsx
index da598bbae..eff25f981 100644
--- a/apps/web/src/common/dialog-controller.tsx
+++ b/apps/web/src/common/dialog-controller.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ReactDOM from "react-dom";
import { Dialogs } from "../components/dialogs";
@@ -28,7 +29,7 @@ import { store as editorStore } from "../stores/editor-store";
import { store as noteStore } from "../stores/note-store";
import { db } from "./db";
import { showToast } from "../utils/toast";
-import { Box, Flex, Text } from "@streetwriters/rebass";
+import { Box, Flex, Text } from "@theme-ui/components";
import * as Icon from "../components/icons";
import Config from "../utils/config";
import { formatDate } from "@notesnook/core/utils/date";
@@ -208,7 +209,7 @@ export function showMultiDeleteConfirmation(length: number) {
message: (
<Text as="span">
These items will be{" "}
- <Text as="span" color="primary">
+ <Text as="span" sx={{ color: "primary" }}>
kept in your Trash for 7 days
</Text>{" "}
after which they will be permanently removed.
@@ -225,7 +226,7 @@ export function showMultiPermanentDeleteConfirmation(length: number) {
message: (
<Text as="span">
These items will be{" "}
- <Text as="span" color="primary">
+ <Text as="span" sx={{ color: "primary" }}>
permanently deleted
</Text>
{". "}
@@ -274,18 +275,16 @@ export function showAppUpdatedNotice(
title: `Welcome to v${version.formatted}`,
message: (
<Flex
- flexDirection="column"
bg="bgSecondary"
p={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", flexDirection: "column" }}
>
<Text variant="title">Changelog:</Text>
<Text
as="pre"
- overflow="auto"
- fontFamily="monospace"
variant="body"
mt={1}
+ sx={{ fontFamily: "monospace", overflow: "auto" }}
>
{version.changelog || "No change log."}
</Text>
@@ -420,7 +419,7 @@ function getDialogData(type: string) {
subtitle: (
<>
All your data will be re-encrypted and synced with the new password.
- <Box mt={1} p={1} bg="errorBg" color="error">
+ <Box mt={1} p={1} bg="errorBg" sx={{ color: "error" }}>
<Text as="p" my={0}>
It is recommended that you <b>log out from all other devices</b>{" "}
before continuing.
@@ -446,7 +445,7 @@ function getDialogData(type: string) {
return {
title: "Delete your account",
subtitle: (
- <Text as="span" color="error">
+ <Text as="span" sx={{ color: "error" }}>
All your data will be permanently deleted with{" "}
<b>no way of recovery</b>. Proceed with caution.
</Text>
@@ -754,10 +753,9 @@ function showUpdateDialog({
title,
subtitle,
message: changelog && (
- <Flex flexDirection="column" sx={{ borderRadius: "default" }}>
+ <Flex sx={{ borderRadius: "default", flexDirection: "column" }}>
<Text
as="div"
- overflow="auto"
variant="body"
sx={{ overflow: "auto", fontFamily: "body" }}
css={`
diff --git a/apps/web/src/common/export.ts b/apps/web/src/common/export.ts
index db39cccca..f895212aa 100644
--- a/apps/web/src/common/export.ts
+++ b/apps/web/src/common/export.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "./db";
import { TaskManager } from "./task-manager";
diff --git a/apps/web/src/common/height-calculator.js b/apps/web/src/common/height-calculator.js
index e90c84900..b2867993e 100644
--- a/apps/web/src/common/height-calculator.js
+++ b/apps/web/src/common/height-calculator.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const SINGLE_LINE_HEIGHT = 1.4;
const DEFAULT_FONT_SIZE = document.getElementById("p").clientHeight - 1;
diff --git a/apps/web/src/common/index.js b/apps/web/src/common/index.js
index cffd99fb7..c3565e51e 100644
--- a/apps/web/src/common/index.js
+++ b/apps/web/src/common/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
showFeatureDialog,
diff --git a/apps/web/src/common/key-map.js b/apps/web/src/common/key-map.js
index 29a2d827f..534535f77 100644
--- a/apps/web/src/common/key-map.js
+++ b/apps/web/src/common/key-map.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import hotkeys from "hotkeys-js";
import { navigate } from "../navigation";
diff --git a/apps/web/src/common/list-profiles.js b/apps/web/src/common/list-profiles.js
index b1fbcd52f..0a042c059 100644
--- a/apps/web/src/common/list-profiles.js
+++ b/apps/web/src/common/list-profiles.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { navigate } from "../navigation/";
import Note from "../components/note";
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.ts
index 62ffd38f4..0bd0cb9de 100644
--- a/apps/web/src/common/multi-select.ts
+++ b/apps/web/src/common/multi-select.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { showMultiDeleteConfirmation } from "./dialog-controller";
import { store as noteStore } from "../stores/note-store";
diff --git a/apps/web/src/common/reminders.js b/apps/web/src/common/reminders.js
index 509279d3b..417164283 100644
--- a/apps/web/src/common/reminders.js
+++ b/apps/web/src/common/reminders.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Config from "../utils/config";
import { createBackup, verifyAccount } from "./index";
diff --git a/apps/web/src/common/store.js b/apps/web/src/common/store.js
index f6b638fb1..50044e1be 100644
--- a/apps/web/src/common/store.js
+++ b/apps/web/src/common/store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import produce, { immerable, setAutoFreeze } from "immer";
import create from "zustand";
diff --git a/apps/web/src/common/task-manager.ts b/apps/web/src/common/task-manager.ts
index 132bfc815..996d73e81 100644
--- a/apps/web/src/common/task-manager.ts
+++ b/apps/web/src/common/task-manager.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { removeStatus, updateStatus } from "../hooks/use-status";
import { showProgressDialog } from "./dialog-controller";
diff --git a/apps/web/src/common/toasts.js b/apps/web/src/common/toasts.js
index e45f149ac..d172711b3 100644
--- a/apps/web/src/common/toasts.js
+++ b/apps/web/src/common/toasts.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "./db";
import { store as notestore } from "../stores/note-store";
diff --git a/apps/web/src/common/toolbar-config.ts b/apps/web/src/common/toolbar-config.ts
index b301b4aa2..840a93807 100644
--- a/apps/web/src/common/toolbar-config.ts
+++ b/apps/web/src/common/toolbar-config.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { getDefaultPresets, ToolbarGroupDefinition } from "@notesnook/editor";
import { db } from "./db";
diff --git a/apps/web/src/common/vault.js b/apps/web/src/common/vault.js
index 2c3f1afa2..aef14d8ed 100644
--- a/apps/web/src/common/vault.js
+++ b/apps/web/src/common/vault.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/db";
import { showPasswordDialog } from "../common/dialog-controller";
diff --git a/apps/web/src/components/accent-item/index.js b/apps/web/src/components/accent-item/index.js
index 78be75869..38103cba3 100644
--- a/apps/web/src/components/accent-item/index.js
+++ b/apps/web/src/components/accent-item/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex } from "@theme-ui/components";
import * as Icon from "../icons";
import { useStore as useThemeStore } from "../../stores/theme-store";
import { showBuyDialog } from "../../common/dialog-controller";
diff --git a/apps/web/src/components/accordion/index.js b/apps/web/src/components/accordion/index.js
index 8b5be5746..9799c27a3 100644
--- a/apps/web/src/components/accordion/index.js
+++ b/apps/web/src/components/accordion/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import { useEffect, useState } from "react";
import { ChevronDown, ChevronUp } from "../icons";
diff --git a/apps/web/src/components/animated/index.js b/apps/web/src/components/animated/index.js
index 966ea20b2..382aefb07 100644
--- a/apps/web/src/components/animated/index.js
+++ b/apps/web/src/components/animated/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { m } from "framer-motion";
-import { Flex, Box, Image, Text } from "@streetwriters/rebass";
-import { Input } from "@streetwriters/rebass-forms";
+import { Flex, Box, Image, Text } from "@theme-ui/components";
+import { Input } from "@theme-ui/components";
export const AnimatedFlex = m(Flex);
export const AnimatedBox = m(Box);
diff --git a/apps/web/src/components/announcements/body.js b/apps/web/src/components/announcements/body.js
index ba576ed17..a753b9b19 100644
--- a/apps/web/src/components/announcements/body.js
+++ b/apps/web/src/components/announcements/body.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Box,
@@ -22,7 +23,7 @@ import {
Flex,
Image as RebassImage,
Text as RebassText
-} from "@streetwriters/rebass";
+} from "@theme-ui/components";
import { allowedPlatforms } from "../../hooks/use-announcements";
import {
closeOpenedDialog,
@@ -155,8 +156,7 @@ function List({ item }) {
<Flex
as={listType || "ul"}
mt={1}
- sx={mapStyle(style)}
- flexDirection="column"
+ sx={{ ...mapStyle(style), flexDirection: "column" }}
>
{items.map((item) => (
<ListItem key={item.text} item={item} />
@@ -177,8 +177,7 @@ function Title({ item, fontSize }) {
value={text.toUpperCase()}
variant="heading"
mx={HORIZONTAL_MARGIN}
- fontSize={fontSize}
- sx={mapStyle(style)}
+ sx={{ ...mapStyle(style), fontSize }}
/>
);
}
@@ -189,11 +188,13 @@ function Description({ item, fontSize, color }) {
<Text
value={text}
variant="body"
- fontWeight="normal"
- fontSize={fontSize}
- color={color || "fontTertiary"}
mx={HORIZONTAL_MARGIN}
- sx={mapStyle(style)}
+ sx={{
+ ...mapStyle(style),
+ fontSize: fontSize,
+ fontWeight: "normal",
+ color: color || "fontTertiary"
+ }}
/>
);
}
@@ -210,12 +211,14 @@ function CalltoActions({ item, removeAnnouncement }) {
const { actions, style } = item;
return (
<Flex
- justifyContent="center"
- alignItems="center"
// bg="bgSecondary"
px={2}
pb={2}
- sx={mapStyle(style)}
+ sx={{
+ ...mapStyle(style),
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
{actions
?.filter((cta) =>
diff --git a/apps/web/src/components/announcements/index.js b/apps/web/src/components/announcements/index.js
index db2947966..be9817f47 100644
--- a/apps/web/src/components/announcements/index.js
+++ b/apps/web/src/components/announcements/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useMemo } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import { ANALYTICS_EVENTS, trackEvent } from "../../utils/analytics";
import AnnouncementBody from "./body";
@@ -27,12 +28,15 @@ function Announcements({ announcements, removeAnnouncement }) {
return (
<Flex
- flexDirection="column"
mx={1}
mb={2}
py={2}
bg="bgSecondary"
- sx={{ borderRadius: "default", position: "relative" }}
+ sx={{
+ borderRadius: "default",
+ position: "relative",
+ flexDirection: "column"
+ }}
>
<Text
bg="errorBg"
diff --git a/apps/web/src/components/attachment/index.js b/apps/web/src/components/attachment/index.js
index ef74f96d6..046590d64 100644
--- a/apps/web/src/components/attachment/index.js
+++ b/apps/web/src/components/attachment/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
import { formatBytes } from "../../utils/filename";
import ListItem from "../list-item";
import * as Icon from "../icons";
@@ -60,10 +61,10 @@ function Attachment({ item, isCompact, index }) {
footer={
isCompact ? (
<Flex
- alignItems="center"
sx={{
fontSize: "subBody",
- color: "fontTertiary"
+ color: "fontTertiary",
+ alignItems: "center"
}}
>
{status ? (
@@ -112,9 +113,9 @@ function Attachment({ item, isCompact, index }) {
</Text>
</Flex>
) : (
- <Flex flexDirection={"column"}>
+ <Flex sx={{ flexDirection: "column" }}>
{status && (
- <Flex flexDirection={"column"}>
+ <Flex sx={{ flexDirection: "column" }}>
<Text variant="subBody">
{formatBytes(status.loaded, 1)}/{formatBytes(status.total, 1)}{" "}
({status.type}ing)
@@ -130,10 +131,10 @@ function Attachment({ item, isCompact, index }) {
</Flex>
)}
<Flex
- alignItems="center"
sx={{
fontSize: "subBody",
- color: "fontTertiary"
+ color: "fontTertiary",
+ alignItems: "center"
}}
>
<Text mr={1}>{formatBytes(attachment.length)}</Text>
diff --git a/apps/web/src/components/auth-container/index.js b/apps/web/src/components/auth-container/index.js
index 258764925..a376ced23 100644
--- a/apps/web/src/components/auth-container/index.js
+++ b/apps/web/src/components/auth-container/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useMemo } from "react";
-import { Box, Flex, Image, Text } from "@streetwriters/rebass";
+import { Box, Flex, Image, Link, Text } from "@theme-ui/components";
import ThemeProvider from "../theme-provider";
import Logo from "../../assets/logo.svg";
import LogoDark from "../../assets/logo-dark.svg";
@@ -84,12 +85,12 @@ function AuthContainer(props) {
<ThemeProvider>
<Flex sx={{ position: "relative", height: "100%", bg: "background" }}>
<Box
- flex={1}
sx={{
position: "relative",
overflow: "hidden",
flexDirection: "column",
- display: ["none", "none", "flex"]
+ display: ["none", "none", "flex"],
+ flex: 1
}}
>
<Box
@@ -140,47 +141,45 @@ function AuthContainer(props) {
</Box>
<Flex
- flexDirection="column"
- flex={1}
- alignItems="start"
- justifyContent={"end"}
p={50}
- sx={{ zIndex: 1 }}
+ sx={{
+ zIndex: 1,
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "start",
+ justifyContent: "end"
+ }}
>
<Image
- alignSelf="start"
src={theme === "dark" ? LogoDark : Logo}
- width={70}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", width: 70, alignSelf: "start" }}
mb={4}
/>
- <Text variant={"heading"} fontSize={48}>
+ <Text variant={"heading"} sx={{ fontSize: 48 }}>
{title}
</Text>
- <Text variant="body" mt={10} fontSize={14} color="icon">
+ <Text variant="body" mt={10} sx={{ fontSize: 14, color: "icon" }}>
{testimonial.text} —{" "}
- <Text
- as="a"
- sx={{ fontStyle: "italic" }}
- color="icon"
+ <Link
+ sx={{ fontStyle: "italic", color: "icon" }}
href={testimonial.link}
>
source
- </Text>
+ </Link>
</Text>
- <Flex alignItems={"center"} justifyContent="center" mt={2}>
+ <Flex
+ mt={2}
+ sx={{ alignItems: "center", justifyContent: "center" }}
+ >
<Image
src={testimonial.image}
- width={40}
- sx={{ borderRadius: 50 }}
+ sx={{ borderRadius: 50, width: 40 }}
/>
- <Flex flexDirection={"column"} ml={2}>
+ <Flex ml={2} sx={{ flexDirection: "column" }}>
<Text
variant="body"
- fontWeight={"bold"}
- fontSize={14}
- color="icon"
+ sx={{ fontSize: 14, fontWeight: "bold", color: "icon" }}
>
{testimonial.name}
</Text>
@@ -190,11 +189,11 @@ function AuthContainer(props) {
</Flex>
</Box>
<Flex
- flex={1.5}
sx={{
- position: "relative"
+ position: "relative",
+ flex: 1.5,
+ flexDirection: "column"
}}
- flexDirection="column"
>
<Box
as="svg"
diff --git a/apps/web/src/components/cached-router/index.js b/apps/web/src/components/cached-router/index.js
index 81c83ff1d..0bfe603b0 100644
--- a/apps/web/src/components/cached-router/index.js
+++ b/apps/web/src/components/cached-router/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect } from "react";
import ReactDOM from "react-dom";
diff --git a/apps/web/src/components/dialogs/add-notebook-dialog.js b/apps/web/src/components/dialogs/add-notebook-dialog.js
index 38a360c6d..6fc3c60ff 100644
--- a/apps/web/src/components/dialogs/add-notebook-dialog.js
+++ b/apps/web/src/components/dialogs/add-notebook-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import Dialog from "./dialog";
import { qclone } from "qclone";
@@ -139,7 +140,7 @@ class AddNotebookDialog extends React.Component {
onClose={props.onClose}
negativeButton={{ text: "Cancel", onClick: props.onClose }}
>
- <Flex flexDirection="column" sx={{ overflowY: "auto" }}>
+ <Flex sx={{ overflowY: "auto", flexDirection: "column" }}>
<Field
defaultValue={this.title}
data-test-id="and-name"
@@ -235,47 +236,53 @@ function TopicItem(props) {
<Flex
p={2}
pl={0}
- justifyContent="space-between"
- alignItems="center"
sx={{
borderWidth: 1,
borderBottomColor: isEditing ? "primary" : "border",
borderBottomStyle: "solid",
cursor: "pointer",
- ":hover": { borderBottomColor: "primary" }
+ ":hover": { borderBottomColor: "primary" },
+ alignItems: "center",
+ justifyContent: "space-between"
}}
onClick={isEditing ? onDoneEditing : onEdit}
>
- <Flex alignItems="center" justifyContent="center">
+ <Flex sx={{ alignItems: "center", justifyContent: "center" }}>
<Icon.Topic />
- <Text as="span" ml={1} fontSize="body" color="text">
+ <Text as="span" ml={1} sx={{ fontSize: "body", color: "text" }}>
{title}
</Text>
</Flex>
{!hideActions && (
- <Flex justifyContent="center" alignItems="center">
+ <Flex sx={{ alignItems: "center", justifyContent: "center" }}>
<Text
- display="flex"
variant="subBody"
- color="primary"
- sx={{ alignItems: "center", ":hover": { opacity: 0.8 } }}
+ sx={{
+ alignItems: "center",
+ ":hover": { opacity: 0.8 },
+ height: "25px",
+ color: "primary",
+ display: "flex"
+ }}
onClick={isEditing ? onDoneEditing : onEdit}
data-test-id={`and-topic-${index}-actions-edit`}
- height="25px"
>
{isEditing ? "Done" : "Edit"}
</Text>
<Text
- display="flex"
variant="subBody"
- color="error"
ml={2}
- height="25px"
onClick={(e) => {
e.stopPropagation();
onDelete();
}}
- sx={{ alignItems: "center", ":hover": { opacity: 0.8 } }}
+ sx={{
+ alignItems: "center",
+ ":hover": { opacity: 0.8 },
+ height: "25px",
+ color: "error",
+ display: "flex"
+ }}
>
Delete
</Text>
diff --git a/apps/web/src/components/dialogs/announcement-dialog.js b/apps/web/src/components/dialogs/announcement-dialog.js
index 835378ece..5b048b521 100644
--- a/apps/web/src/components/dialogs/announcement-dialog.js
+++ b/apps/web/src/components/dialogs/announcement-dialog.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Modal from "react-modal";
import { useTheme } from "@emotion/react";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import AnnouncementBody from "../announcements/body";
function AnnouncementDialog(props) {
@@ -70,17 +71,17 @@ function AnnouncementDialog(props) {
}}
>
<Flex
- flexDirection="column"
- width={["100%", "80%", "30%"]}
- maxHeight={["100%", "80%", "80%"]}
bg="background"
- alignSelf={"center"}
- overflowY="auto"
sx={{
position: "relative",
overflow: "hidden",
boxShadow: "4px 5px 18px 2px #00000038",
- borderRadius: "dialog"
+ borderRadius: "dialog",
+ flexDirection: "column",
+ width: ["100%", "80%", "30%"],
+ maxHeight: ["100%", "80%", "80%"],
+ alignSelf: "center",
+ overflowY: "auto"
}}
>
<AnnouncementBody
diff --git a/apps/web/src/components/dialogs/attachments-dialog.js b/apps/web/src/components/dialogs/attachments-dialog.js
index 9cd6f63e0..e82f41740 100644
--- a/apps/web/src/components/dialogs/attachments-dialog.js
+++ b/apps/web/src/components/dialogs/attachments-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect } from "react";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import { getTotalSize } from "../../common/attachments";
import { useStore } from "../../stores/attachment-store";
import { formatBytes } from "../../utils/filename";
@@ -46,7 +47,7 @@ function AttachmentsDialog({ onClose }) {
noScroll
negativeButton={{ text: "Close", onClick: onClose }}
>
- <Flex flexDirection={"column"} height={500} px={2}>
+ <Flex px={2} sx={{ flexDirection: "column", height: 500 }}>
<Field
placeholder="Filter attachments by filename, type or hash"
sx={{ mb: 1, px: 1 }}
diff --git a/apps/web/src/components/dialogs/buy-dialog/buy-dialog.tsx b/apps/web/src/components/dialogs/buy-dialog/buy-dialog.tsx
index d42909c1e..299a2a450 100644
--- a/apps/web/src/components/dialogs/buy-dialog/buy-dialog.tsx
+++ b/apps/web/src/components/dialogs/buy-dialog/buy-dialog.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useRef, useState } from "react";
-import { Text, Flex, Button } from "@streetwriters/rebass";
+import { Text, Flex, Button } from "@theme-ui/components";
import * as Icon from "../../icons";
import { useStore as useUserStore } from "../../../stores/user-store";
import { useStore as useThemeStore } from "../../../stores/theme-store";
@@ -102,24 +103,20 @@ export function BuyDialog(props: BuyDialogProps) {
}}
>
<Flex
- flexDirection={["column", "column", "row"]}
- width={["95%", "80%", "60%"]}
- maxHeight={["95%", "80%", "80%"]}
bg="transparent"
- alignSelf={"center"}
- overflowY={["scroll", "scroll", "hidden"]}
sx={{
position: "relative",
overflow: "hidden",
boxShadow: "4px 5px 18px 2px #00000038",
- borderRadius: "dialog"
+ borderRadius: "dialog",
+ flexDirection: ["column", "column", "row"],
+ width: ["95%", "80%", "60%"],
+ maxHeight: ["95%", "80%", "80%"],
+ alignSelf: "center",
+ overflowY: ["scroll", "scroll", "hidden"]
}}
>
<Flex
- flexDirection="column"
- justifyContent="center"
- alignItems="center"
- flexShrink={0}
sx={{
borderTopLeftRadius: "dialog",
borderBottomLeftRadius: [0, 0, "dialog"],
@@ -129,9 +126,13 @@ export function BuyDialog(props: BuyDialogProps) {
{
bg: "bgTransparent",
backdropFilter: "blur(8px)"
- }
+ },
+ flexDirection: "column",
+ flexShrink: 0,
+ alignItems: "center",
+ justifyContent: "center",
+ width: ["100%", "100%", 350]
}}
- width={["100%", "100%", 350]}
p={4}
py={50}
>
@@ -262,16 +263,16 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) {
return (
<>
<Rocket width={200} />
- <Text variant="heading" textAlign="center" mt={4}>
+ <Text variant="heading" mt={4} sx={{ textAlign: "center" }}>
Notesnook Pro
</Text>
- <Text variant="body" textAlign="center" mt={1}>
+ <Text variant="body" mt={1} sx={{ textAlign: "center" }}>
Ready to take the next step in your private note taking journey?
</Text>
{isLoading || !plan ? (
<Icon.Loading sx={{ mt: 4 }} />
) : (
- <Text variant={"body"} fontSize="title" mt={4}>
+ <Text variant={"body"} mt={4} sx={{ fontSize: "title" }}>
Starting from {getCurrencySymbol(plan.currency)}
{plan.price.gross}
{formatPeriod(plan.period)}
@@ -309,7 +310,7 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) {
>
Sign up for free
</Button>
- <Text variant={"subBody"} textAlign="center" mt={2}>
+ <Text variant={"subBody"} mt={2} sx={{ textAlign: "center" }}>
After creating your account, you will be asked to activate your free
trial. <b>No credit card is required.</b>
</Text>
@@ -320,10 +321,9 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) {
<Text
variant="subBody"
bg="shade"
- color="primary"
mt={4}
p={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: "primary" }}
>
{user
? "Please select a plan to use your coupon:"
@@ -351,7 +351,7 @@ function SelectedPlan(props: SelectedPlanProps) {
const onApplyCoupon = useCheckoutStore((store) => store.onApplyCoupon);
const couponCode = useCheckoutStore((store) => store.couponCode);
- const couponInputRef = useRef<HTMLInputElement>();
+ const couponInputRef = useRef<HTMLInputElement>(null);
const applyCoupon = useCallback(() => {
const coupon = couponInputRef.current?.value;
@@ -396,15 +396,14 @@ function SelectedPlan(props: SelectedPlanProps) {
) : (
<WorkLate width={180} />
)}
- <Text variant="heading" textAlign="center" mt={4}>
+ <Text variant="heading" mt={4} sx={{ textAlign: "center" }}>
Notesnook Pro
</Text>
<Text
data-test-id="checkout-plan-title"
variant="body"
- fontSize="subheading"
- textAlign="center"
mt={1}
+ sx={{ fontSize: "subheading", textAlign: "center" }}
>
{metadata.title}
</Text>
@@ -509,37 +508,36 @@ function CheckoutPricing(props: CheckoutPricingProps) {
{fields.map((field) => (
<Flex
key={field.key}
- justifyContent="space-between"
- alignSelf="stretch"
mt={1}
+ sx={{ justifyContent: "space-between", alignSelf: "stretch" }}
>
- <Text variant="body" fontSize="subtitle">
+ <Text variant="body" sx={{ fontSize: "subtitle" }}>
{field.label}
</Text>
<Text
data-test-id={`checkout-price-${field.key}`}
variant="body"
- fontSize="subtitle"
- color={field.color || "text"}
+ sx={{ fontSize: "subtitle", color: field.color || "text" }}
>
{field.value}
</Text>
</Flex>
))}
- <Flex justifyContent="space-between" alignSelf="stretch" mt={1}>
- <Text variant="body" fontSize="heading">
+ <Flex
+ mt={1}
+ sx={{ justifyContent: "space-between", alignSelf: "stretch" }}
+ >
+ <Text variant="body" sx={{ fontSize: "heading" }}>
Total
</Text>
<Text
data-test-id={`checkout-price-total`}
variant="body"
- fontSize="heading"
- color={"text"}
- textAlign="end"
+ sx={{ fontSize: "heading", textAlign: "end", color: "text" }}
>
{currentTotal}
{isDiscounted ? null : (
- <Text fontSize="body">{`then ${recurringTotal}`}</Text>
+ <Text sx={{ fontSize: "body" }}>{`then ${recurringTotal}`}</Text>
)}
</Text>
</Flex>
diff --git a/apps/web/src/components/dialogs/buy-dialog/features.tsx b/apps/web/src/components/dialogs/buy-dialog/features.tsx
index 4071e0953..ff70be9cb 100644
--- a/apps/web/src/components/dialogs/buy-dialog/features.tsx
+++ b/apps/web/src/components/dialogs/buy-dialog/features.tsx
@@ -1,28 +1,29 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text, Flex, Box, BoxProps } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text, Flex, Box, BoxProps } from "@theme-ui/components";
import * as Icon from "../../icons";
type Feature = {
id: string;
title?: string;
- icon?: (props: BoxProps) => JSX.Element;
+ icon?: (props: BoxProps & { size: number }) => JSX.Element;
pro?: boolean;
};
@@ -316,35 +317,45 @@ const sections: Section[] = [
export function Features() {
return (
<Flex
- flexDirection="column"
- flex={1}
- overflowY={["hidden", "hidden", "auto"]}
- flexShrink={0}
- sx={{ position: "relative" }}
+ sx={{
+ position: "relative",
+ flex: 1,
+ flexDirection: "column",
+ flexShrink: 0,
+ overflowY: ["hidden", "hidden", "auto"]
+ }}
pt={6}
bg="background"
>
{sections.map((section) => (
- <Flex key={section.title} flexDirection="column" px={6} pb={50}>
+ <Flex
+ key={section.title}
+ px={6}
+ pb={50}
+ sx={{ flexDirection: "column" }}
+ >
{section.pro && (
<Flex
bg="bgSecondary"
- alignSelf="start"
px={2}
py="2px"
- sx={{ borderRadius: 50 }}
+ sx={{ borderRadius: 50, alignSelf: "start" }}
mb={1}
>
<Icon.Pro color="primary" size={16} />
- <Text variant="body" color="primary" ml={"2px"}>
+ <Text variant="body" ml={"2px"} sx={{ color: "primary" }}>
Pro
</Text>
</Flex>
)}
- <Text variant="body" fontSize={"1.3rem"}>
+ <Text variant="body" sx={{ fontSize: "1.3rem" }}>
{section.title}
</Text>
- <Text variant="body" mt={1} fontSize="title" color="fontTertiary">
+ <Text
+ variant="body"
+ mt={1}
+ sx={{ fontSize: "title", color: "fontTertiary" }}
+ >
{section.detail}
</Text>
{section.features && (
@@ -361,22 +372,27 @@ export function Features() {
{section.features.map((feature) => (
<Flex
key={feature.id}
- alignItems="start"
- flexDirection="column"
+ sx={{ flexDirection: "column", alignItems: "start" }}
>
{feature.icon && (
<feature.icon size={20} color="text" sx={{ mb: 1 }} />
)}
{feature.pro && (
- <Flex justifyContent="center" alignItems="center">
+ <Flex
+ sx={{ alignItems: "center", justifyContent: "center" }}
+ >
<Icon.Pro color="primary" size={14} />
- <Text variant="subBody" color="primary" ml={"2px"}>
+ <Text
+ variant="subBody"
+ ml={"2px"}
+ sx={{ color: "primary" }}
+ >
Pro
</Text>
</Flex>
)}
{feature.title && (
- <Text variant="body" fontSize="subtitle">
+ <Text variant="body" sx={{ fontSize: "subtitle" }}>
{feature.title}
</Text>
)}
diff --git a/apps/web/src/components/dialogs/buy-dialog/helpers.ts b/apps/web/src/components/dialogs/buy-dialog/helpers.ts
index d9ee7b661..ed126870a 100644
--- a/apps/web/src/components/dialogs/buy-dialog/helpers.ts
+++ b/apps/web/src/components/dialogs/buy-dialog/helpers.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
getCurrencySymbol as _getSymbol,
diff --git a/apps/web/src/components/dialogs/buy-dialog/index.ts b/apps/web/src/components/dialogs/buy-dialog/index.ts
index cc9b31444..51a5b0969 100644
--- a/apps/web/src/components/dialogs/buy-dialog/index.ts
+++ b/apps/web/src/components/dialogs/buy-dialog/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export { BuyDialog as default } from "./buy-dialog";
diff --git a/apps/web/src/components/dialogs/buy-dialog/paddle.tsx b/apps/web/src/components/dialogs/buy-dialog/paddle.tsx
index c18b0f92d..6ec31d841 100644
--- a/apps/web/src/components/dialogs/buy-dialog/paddle.tsx
+++ b/apps/web/src/components/dialogs/buy-dialog/paddle.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState, useRef, useCallback } from "react";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Embed, Flex } from "@theme-ui/components";
import Loader from "../../loader";
import {
CheckoutData,
@@ -55,7 +56,7 @@ export function PaddleCheckout(props: PaddleCheckoutProps) {
const [isLoading, setIsLoading] = useState(true);
const [checkoutId, setCheckoutId] = useState<string>();
const appliedCouponCode = useRef<string>();
- const checkoutRef = useRef<HTMLIFrameElement>();
+ const checkoutRef = useRef<HTMLIFrameElement>(null);
const reloadCheckout = useCallback(() => {
if (!checkoutRef.current) return;
@@ -153,9 +154,8 @@ export function PaddleCheckout(props: PaddleCheckoutProps) {
}
/>
) : null}
- <Box
+ <Embed
ref={checkoutRef}
- as="iframe"
src={sourceUrl}
sx={{
m: 6,
diff --git a/apps/web/src/components/dialogs/buy-dialog/plan-list.tsx b/apps/web/src/components/dialogs/buy-dialog/plan-list.tsx
index 45ddecd7e..383d3faf5 100644
--- a/apps/web/src/components/dialogs/buy-dialog/plan-list.tsx
+++ b/apps/web/src/components/dialogs/buy-dialog/plan-list.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text, Flex, Button } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text, Flex, Button } from "@theme-ui/components";
import * as Icon from "../../icons";
import { ReactComponent as Nomad } from "../../../assets/nomad.svg";
import { Period, Plan } from "./types";
@@ -40,10 +41,10 @@ export function PlansList(props: PlansListProps) {
return (
<>
<Nomad width={200} />
- <Text variant="heading" textAlign="center" mt={4}>
+ <Text variant="heading" mt={4} sx={{ textAlign: "center" }}>
Choose a plan
</Text>
- <Text variant="body" textAlign="center" mt={1}>
+ <Text variant="body" mt={1} sx={{ textAlign: "center" }}>
{discount ? (
<>
We are giving a special <b>{discount}% discount</b> to all users
@@ -53,7 +54,7 @@ export function PlansList(props: PlansListProps) {
"Notesnook profits when you purchase a subscription — not by selling your data."
)}
</Text>
- <Flex flexDirection="column" alignSelf="stretch" mt={2}>
+ <Flex mt={2} sx={{ flexDirection: "column", alignSelf: "stretch" }}>
{plans.map((plan) => {
const metadata = PLAN_METADATA[plan.period];
return (
@@ -62,11 +63,6 @@ export function PlansList(props: PlansListProps) {
disabled={isLoading}
data-test-id={`checkout-plan-${plan.period}`}
variant="tool"
- display="flex"
- textAlign="start"
- justifyContent="space-between"
- alignItems="center"
- flex={1}
mt={1}
bg="transparent"
// sx={
@@ -77,10 +73,20 @@ export function PlansList(props: PlansListProps) {
// }
// }
onClick={() => onPlanSelected(plan)}
+ sx={{
+ flex: 1,
+ textAlign: "start",
+ alignItems: "center",
+ justifyContent: "space-between",
+ display: "flex"
+ }}
>
- <Text variant="subtitle" fontWeight="normal">
+ <Text variant="subtitle" sx={{ fontWeight: "normal" }}>
{metadata.title}
- <Text variant="body" fontWeight="normal" color="fontTertiary">
+ <Text
+ variant="body"
+ sx={{ fontWeight: "normal", color: "fontTertiary" }}
+ >
{metadata.subtitle}
</Text>
</Text>
@@ -100,23 +106,23 @@ function RecurringPricing(props: RecurringPricingProps) {
const { plan } = props;
return (
<Text
- sx={{ flexShrink: 0 }}
+ sx={{ flexShrink: 0, fontSize: "subBody", textAlign: "end" }}
variant="body"
- fontSize="subBody"
- textAlign={"end"}
>
{plan.originalPrice && (
<Text
- color="fontTertiary"
- fontSize={"body"}
- sx={{ textDecorationLine: "line-through" }}
+ sx={{
+ textDecorationLine: "line-through",
+ fontSize: "body",
+ color: "fontTertiary"
+ }}
>
{getCurrencySymbol(plan.currency)}
{plan.originalPrice.gross}
</Text>
)}
<Text>
- <Text as="span" fontSize="subtitle">
+ <Text as="span" sx={{ fontSize: "subtitle" }}>
{getCurrencySymbol(plan.currency)}
{plan.price.gross}
</Text>
diff --git a/apps/web/src/components/dialogs/buy-dialog/plans.ts b/apps/web/src/components/dialogs/buy-dialog/plans.ts
index fe5bc5b75..d49fb0f07 100644
--- a/apps/web/src/components/dialogs/buy-dialog/plans.ts
+++ b/apps/web/src/components/dialogs/buy-dialog/plans.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { isTesting } from "../../../utils/platform";
diff --git a/apps/web/src/components/dialogs/buy-dialog/store.ts b/apps/web/src/components/dialogs/buy-dialog/store.ts
index 7ebd00192..9436a3d70 100644
--- a/apps/web/src/components/dialogs/buy-dialog/store.ts
+++ b/apps/web/src/components/dialogs/buy-dialog/store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Plan, PricingInfo } from "./types";
import create from "zustand";
diff --git a/apps/web/src/components/dialogs/buy-dialog/types.ts b/apps/web/src/components/dialogs/buy-dialog/types.ts
index 1f8fa6123..8c1622569 100644
--- a/apps/web/src/components/dialogs/buy-dialog/types.ts
+++ b/apps/web/src/components/dialogs/buy-dialog/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export type Period = "monthly" | "yearly";
diff --git a/apps/web/src/components/dialogs/confirm.js b/apps/web/src/components/dialogs/confirm.js
index 6d3563fb1..8bfe06714 100644
--- a/apps/web/src/components/dialogs/confirm.js
+++ b/apps/web/src/components/dialogs/confirm.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Text } from "@theme-ui/components";
import Dialog from "./dialog";
function Confirm(props) {
diff --git a/apps/web/src/components/dialogs/dialog-loader.tsx b/apps/web/src/components/dialogs/dialog-loader.tsx
index d11be0647..b21598e5a 100644
--- a/apps/web/src/components/dialogs/dialog-loader.tsx
+++ b/apps/web/src/components/dialogs/dialog-loader.tsx
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Dialog from "./dialog";
import Skeleton from "react-loading-skeleton";
import "react-loading-skeleton/dist/skeleton.css";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
export default function DialogLoader() {
return (
diff --git a/apps/web/src/components/dialogs/dialog.js b/apps/web/src/components/dialogs/dialog.js
index 45e2a3c28..56b3eb82b 100644
--- a/apps/web/src/components/dialogs/dialog.js
+++ b/apps/web/src/components/dialogs/dialog.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text, Button as RebassButton } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text, Button as RebassButton } from "@theme-ui/components";
import * as Icon from "../icons";
import Modal from "react-modal";
import { useTheme } from "@emotion/react";
@@ -71,19 +72,19 @@ function Dialog(props) {
}}
>
<Flex
- flexDirection="column"
- width={["100%", "90%", props.width || "380px"]}
- maxHeight={["100%", "80%", "70%"]}
- height={["100%", "auto", "auto"]}
bg="background"
- alignSelf={"center"}
- overflowY={"hidden"}
sx={{
justifyContent: "stretch",
position: "relative",
overflow: "hidden",
boxShadow: "4px 5px 18px 2px #00000038",
- borderRadius: "dialog"
+ borderRadius: "dialog",
+ flexDirection: "column",
+ width: ["100%", "90%", props.width || "380px"],
+ height: ["100%", "auto", "auto"],
+ maxHeight: ["100%", "80%", "70%"],
+ alignSelf: "center",
+ overflowY: "hidden"
}}
>
{props.showClose && (
@@ -100,20 +101,24 @@ function Dialog(props) {
onClick={props.onClose}
/>
)}
- <Flex flexDirection="column" p={4} pb={0}>
+ <Flex p={4} pb={0} sx={{ flexDirection: "column" }}>
<Text
variant="heading"
- fontSize="subheading"
- textAlign={props.alignment || "left"}
- color="text"
+ sx={{
+ fontSize: "subheading",
+ textAlign: props.alignment || "left",
+ color: "text"
+ }}
>
{props.title}
</Text>
{props.description && (
<Text
variant="body"
- textAlign={props.alignment || "left"}
- color="fontTertiary"
+ sx={{
+ textAlign: props.alignment || "left",
+ color: "fontTertiary"
+ }}
>
{props.description}
</Text>
diff --git a/apps/web/src/components/dialogs/email-verification-dialog.js b/apps/web/src/components/dialogs/email-verification-dialog.js
index 5eef1d65f..6e36b0245 100644
--- a/apps/web/src/components/dialogs/email-verification-dialog.js
+++ b/apps/web/src/components/dialogs/email-verification-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import Dialog from "./dialog";
import { useStore as useUserStore } from "../../stores/user-store";
import { db } from "../../common/db";
@@ -85,15 +86,14 @@ function EmailVerificationDialog(props) {
disabled: isSending
}}
>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
<Text
as="span"
variant="body"
- alignSelf="stretch"
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", alignSelf: "stretch" }}
>
We have sent the email confirmation link at{" "}
- <Text as="b" fontWeight="bold">
+ <Text as="b" sx={{ fontWeight: "bold" }}>
{user.email}
</Text>
.
diff --git a/apps/web/src/components/dialogs/feature-dialog.tsx b/apps/web/src/components/dialogs/feature-dialog.tsx
index 421bab3ea..7de89c59e 100644
--- a/apps/web/src/components/dialogs/feature-dialog.tsx
+++ b/apps/web/src/components/dialogs/feature-dialog.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text, Flex, BoxProps } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text, Flex, BoxProps } from "@theme-ui/components";
import Dialog from "./dialog";
import * as Icon from "../icons";
import { getHomeRoute, hardNavigate } from "../../navigation";
@@ -27,12 +28,12 @@ import { useEffect } from "react";
type CallToAction = {
title: string;
- icon?: (props: BoxProps) => JSX.Element;
+ icon?: (props: BoxProps & { size: number }) => JSX.Element;
action?: () => void;
};
type SubFeature = {
title: string;
- icon?: (props: BoxProps) => JSX.Element;
+ icon?: (props: BoxProps & { size: number }) => JSX.Element;
subtitle?: string | JSX.Element;
};
type Feature = {
@@ -163,24 +164,27 @@ function FeatureDialog(props: FeatureDialogProps) {
}
}}
>
- <Flex flexDirection="column" overflowY="auto" mt={2}>
+ <Flex mt={2} sx={{ flexDirection: "column", overflowY: "auto" }}>
{feature.subFeatures?.map((feature) => (
<Flex
key={feature.title}
mb={2}
bg="bgSecondary"
p={2}
- sx={{ borderRadius: "default", ":hover": { bg: "hover" } }}
- flexDirection="column"
+ sx={{
+ borderRadius: "default",
+ ":hover": { bg: "hover" },
+ flexDirection: "column"
+ }}
>
- <Flex alignItems={"center"} justifyContent="start">
+ <Flex sx={{ alignItems: "center", justifyContent: "start" }}>
{feature.icon && <feature.icon size={14} color="primary" />}
- <Text variant="subtitle" fontWeight="normal" ml={1}>
+ <Text variant="subtitle" ml={1} sx={{ fontWeight: "normal" }}>
{feature.title}
</Text>
</Flex>
{feature.subtitle && (
- <Text variant="body" color="icon">
+ <Text variant="body" sx={{ color: "icon" }}>
{feature.subtitle}
</Text>
)}
diff --git a/apps/web/src/components/dialogs/import-dialog.js b/apps/web/src/components/dialogs/import-dialog.js
index e1b4cf05c..d08c96fc2 100644
--- a/apps/web/src/components/dialogs/import-dialog.js
+++ b/apps/web/src/components/dialogs/import-dialog.js
@@ -1,28 +1,29 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import Dialog from "./dialog";
import { db } from "../../common/db";
import { useDropzone } from "react-dropzone";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
import Accordion from "../accordion";
import { store as appStore } from "../../stores/app-store";
import { Importer } from "../../utils/importer";
@@ -108,7 +109,7 @@ function ImportDialog(props) {
}
}
>
- <Flex flexDirection="column" justifyContent="center">
+ <Flex sx={{ flexDirection: "column", justifyContent: "center" }}>
{progress.current > 0 ? (
<>
<Text variant="body" my={4} sx={{ textAlign: "center" }}>
@@ -122,7 +123,7 @@ function ImportDialog(props) {
errors occured.
</Text>
{errors.length > 0 && (
- <Flex flexDirection="column" my={1} bg="errorBg" p={1}>
+ <Flex my={1} bg="errorBg" p={1} sx={{ flexDirection: "column" }}>
{errors.map((error) => (
<Text
key={error.message}
@@ -145,7 +146,6 @@ function ImportDialog(props) {
>
<Flex
{...getRootProps()}
- flexDirection="column"
data-test-id="import-dialog-select-files"
sx={{
justifyContent: "center",
@@ -154,7 +154,8 @@ function ImportDialog(props) {
width: "full",
border: "2px dashed var(--border)",
borderRadius: "default",
- mt: 1
+ mt: 1,
+ flexDirection: "column"
}}
>
<Input {...getInputProps()} />
@@ -166,7 +167,7 @@ function ImportDialog(props) {
<Text variant="subBody">Only .zip files are supported.</Text>
</Text>
</Flex>
- <Flex flexDirection="column" mt={1}>
+ <Flex mt={1} sx={{ flexDirection: "column" }}>
{files.map((file, i) => (
<Text
key={file.name}
@@ -218,7 +219,7 @@ function ImportDialog(props) {
sx={{ mt: 1 }}
testId={"importer-dialog-notes"}
>
- <Flex flexDirection="column" mt={1}>
+ <Flex mt={1} sx={{ flexDirection: "column" }}>
{notes.map((note, i) => (
<Flex
key={note.title}
diff --git a/apps/web/src/components/dialogs/index.ts b/apps/web/src/components/dialogs/index.ts
index 7c0c8a8e5..5fa2e748d 100644
--- a/apps/web/src/components/dialogs/index.ts
+++ b/apps/web/src/components/dialogs/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
diff --git a/apps/web/src/components/dialogs/issue-dialog.tsx b/apps/web/src/components/dialogs/issue-dialog.tsx
index e9e62a4a0..4adcd569f 100644
--- a/apps/web/src/components/dialogs/issue-dialog.tsx
+++ b/apps/web/src/components/dialogs/issue-dialog.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Flex, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Link, Text } from "@theme-ui/components";
import { appVersion } from "../../utils/version";
import Field from "../field";
import Dialog from "./dialog";
@@ -65,7 +66,6 @@ function IssueDialog(props: IssueDialogProps) {
<Flex
id="issueForm"
as="form"
- flexDirection="column"
onSubmit={async (e) => {
e.preventDefault();
try {
@@ -94,6 +94,7 @@ function IssueDialog(props: IssueDialogProps) {
setIsSubmitting(false);
}
}}
+ sx={{ flexDirection: "column" }}
>
<Field
required
@@ -120,11 +121,10 @@ function IssueDialog(props: IssueDialogProps) {
/>
<Text
variant="error"
- color="warn"
bg={"warnBg"}
mt={1}
p={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: "warn" }}
>
Your bug report is public. Do NOT include sensitive information
(email, passwords etc) in the issue title or description.
@@ -160,14 +160,9 @@ function showIssueReportedDialog({ url }: { url: string }) {
<>
<p>
You can track your bug report at{" "}
- <Text
- as="a"
- target="_blank"
- href={url}
- sx={{ lineBreak: "anywhere" }}
- >
+ <Link target="_blank" href={url} sx={{ lineBreak: "anywhere" }}>
{url}
- </Text>
+ </Link>
.
</p>
<p>
diff --git a/apps/web/src/components/dialogs/item-dialog.js b/apps/web/src/components/dialogs/item-dialog.js
index 6ff2e326f..ac94059f9 100644
--- a/apps/web/src/components/dialogs/item-dialog.js
+++ b/apps/web/src/components/dialogs/item-dialog.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box } from "@theme-ui/components";
import Dialog from "./dialog";
import Field from "../field";
diff --git a/apps/web/src/components/dialogs/loading-dialog.js b/apps/web/src/components/dialogs/loading-dialog.js
index 0bc1b0d32..1d5dfa0da 100644
--- a/apps/web/src/components/dialogs/loading-dialog.js
+++ b/apps/web/src/components/dialogs/loading-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect } from "react";
-import { Box, Text } from "@streetwriters/rebass";
+import { Box, Text } from "@theme-ui/components";
import Dialog from "./dialog";
import * as Icon from "../icons";
diff --git a/apps/web/src/components/dialogs/mfa/multi-factor-dialog.tsx b/apps/web/src/components/dialogs/mfa/multi-factor-dialog.tsx
index d638ded48..cf1c96d16 100644
--- a/apps/web/src/components/dialogs/mfa/multi-factor-dialog.tsx
+++ b/apps/web/src/components/dialogs/mfa/multi-factor-dialog.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import { Perform } from "../../../common/dialog-controller";
import Dialog from "../dialog";
import {
diff --git a/apps/web/src/components/dialogs/mfa/recovery-code-dialog.tsx b/apps/web/src/components/dialogs/mfa/recovery-code-dialog.tsx
index 20b505002..ccf80f0b1 100644
--- a/apps/web/src/components/dialogs/mfa/recovery-code-dialog.tsx
+++ b/apps/web/src/components/dialogs/mfa/recovery-code-dialog.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import { Perform } from "../../../common/dialog-controller";
import Dialog from "../dialog";
import { steps } from "./steps";
diff --git a/apps/web/src/components/dialogs/mfa/steps.tsx b/apps/web/src/components/dialogs/mfa/steps.tsx
index 274c8f14e..99fe7baa1 100644
--- a/apps/web/src/components/dialogs/mfa/steps.tsx
+++ b/apps/web/src/components/dialogs/mfa/steps.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, {
PropsWithChildren,
@@ -25,7 +26,7 @@ import React, {
useRef,
useState
} from "react";
-import { Text, Flex, Button, Box } from "@streetwriters/rebass";
+import { Text, Flex, Button, Box } from "@theme-ui/components";
import { useSessionState } from "../../../hooks/use-session-state";
import {
Loading,
@@ -245,9 +246,7 @@ function ChooseAuthenticator(props: ChooseAuthenticatorProps) {
<Flex
as="form"
id="2faForm"
- flexDirection="column"
- flex={1}
- sx={{ overflow: "hidden" }}
+ sx={{ overflow: "hidden", flex: 1, flexDirection: "column" }}
onSubmit={(e) => {
e.preventDefault();
const authenticator = filteredAuthenticators[selected];
@@ -283,23 +282,22 @@ function ChooseAuthenticator(props: ChooseAuthenticatorProps) {
size={16}
color={selected === index ? "primary" : "text"}
/>
- <Text variant={"title"} fontWeight="body">
+ <Text variant={"title"} sx={{ fontWeight: "body" }}>
{auth.title}{" "}
{auth.recommended ? (
<Text
as="span"
variant={"subBody"}
- color="primary"
bg="shade"
px={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: "primary" }}
>
Recommended
</Text>
) : (
false
)}
- <Text variant="body" fontWeight="normal" mt={1}>
+ <Text variant="body" mt={1} sx={{ fontWeight: "normal" }}>
{auth.subtitle}
</Text>
</Text>
@@ -358,7 +356,7 @@ function SetupAuthenticatorApp(props: SetupAuthenticatorProps) {
<Text variant={"body"}>
Scan the QR code below with your authenticator app.
</Text>
- <Box alignSelf={"center"}>
+ <Box sx={{ alignSelf: "center" }}>
{authenticatorDetails.authenticatorUri ? (
<Suspense fallback={<Loading />}>
<QRCode
@@ -383,13 +381,13 @@ function SetupAuthenticatorApp(props: SetupAuthenticatorProps) {
>
<Text
className="selectable"
- fontFamily="monospace"
- fontSize="body"
ml={1}
sx={{
flex: 1,
overflowWrap: "anywhere",
- color: "text"
+ color: "text",
+ fontSize: "body",
+ fontFamily: "monospace"
}}
>
{authenticatorDetails.sharedKey ? (
@@ -443,17 +441,22 @@ function SetupEmail(props: SetupAuthenticatorProps) {
<Flex
mt={2}
bg="bgSecondary"
- alignItems={"center"}
- sx={{ borderRadius: "default", overflowWrap: "anywhere" }}
+ sx={{
+ borderRadius: "default",
+ overflowWrap: "anywhere",
+ alignItems: "center"
+ }}
>
- <Text ml={2} fontFamily="monospace" fontSize="subtitle" flex={1}>
+ <Text
+ ml={2}
+ sx={{ flex: 1, fontSize: "subtitle", fontFamily: "monospace" }}
+ >
{email}
</Text>
<Button
type="button"
variant={"secondary"}
- alignSelf={"center"}
- sx={{ p: 2, m: 0 }}
+ sx={{ p: 2, m: 0, alignSelf: "center" }}
disabled={isSending || !enabled}
onClick={async () => {
setIsSending(true);
@@ -499,7 +502,7 @@ function SetupSMS(props: SetupAuthenticatorProps) {
const [error, setError] = useState<string>();
const [phoneNumber, setPhoneNumber] = useState<string>();
const { elapsed, enabled, setEnabled } = useTimer(`2fa.sms`, 60);
- const inputRef = useRef<HTMLInputElement>();
+ const inputRef = useRef<HTMLInputElement>(null);
return (
<VerifyAuthenticatorForm
@@ -585,7 +588,7 @@ function SetupSMS(props: SetupAuthenticatorProps) {
function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
const { onNext, onError } = props;
const [codes, setCodes] = useState<string[]>([]);
- const recoveryCodesRef = useRef<HTMLDivElement>();
+ const recoveryCodesRef = useRef<HTMLDivElement>(null);
const generate = useCallback(async () => {
onError && onError("");
try {
@@ -650,13 +653,13 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
return (
<Flex
- flexDirection={"column"}
as="form"
id="2faForm"
onSubmit={(e) => {
e.preventDefault();
onNext(props.authenticatorType);
}}
+ sx={{ flexDirection: "column" }}
>
<Box
className="selectable"
@@ -675,10 +678,12 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
className="selectable"
as="code"
variant={"subheading"}
- textAlign="center"
- fontWeight="body"
- fontFamily={"monospace"}
- color="text"
+ sx={{
+ fontFamily: "monospace",
+ textAlign: "center",
+ fontWeight: "body",
+ color: "text"
+ }}
>
{code}
</Text>
@@ -711,16 +716,26 @@ type TwoFactorEnabledProps = StepComponentProps<AuthenticatorTypeOnNext> & {
function TwoFactorEnabled(props: TwoFactorEnabledProps) {
return (
<Flex
- flexDirection={"column"}
- justifyContent="center"
- alignItems={"center"}
mb={2}
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<MFA width={120} />
- <Text variant={"heading"} fontSize="subheading" mt={2} textAlign="center">
+ <Text
+ variant={"heading"}
+ mt={2}
+ sx={{ fontSize: "subheading", textAlign: "center" }}
+ >
Two-factor authentication enabled!
</Text>
- <Text variant={"body"} color="fontTertiary" mt={1} textAlign="center">
+ <Text
+ variant={"body"}
+ mt={1}
+ sx={{ textAlign: "center", color: "fontTertiary" }}
+ >
Your account is now 100% secure against unauthorized logins.
</Text>
<Button
@@ -755,16 +770,26 @@ function Fallback2FAEnabled(props: Fallback2FAEnabledProps) {
const { fallbackMethod, primaryMethod, onClose } = props;
return (
<Flex
- flexDirection={"column"}
- justifyContent="center"
- alignItems={"center"}
mb={2}
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Fallback2FA width={200} />
- <Text variant={"heading"} fontSize="subheading" mt={2} textAlign="center">
+ <Text
+ variant={"heading"}
+ mt={2}
+ sx={{ fontSize: "subheading", textAlign: "center" }}
+ >
Fallback 2FA method enabled!
</Text>
- <Text variant={"body"} color="fontTertiary" mt={1} textAlign="center">
+ <Text
+ variant={"body"}
+ mt={1}
+ sx={{ textAlign: "center", color: "fontTertiary" }}
+ >
You will now receive your 2FA codes on your{" "}
{mfaMethodToPhrase(fallbackMethod)} in case you lose access to your{" "}
{mfaMethodToPhrase(primaryMethod)}.
@@ -782,16 +807,15 @@ function Fallback2FAEnabled(props: Fallback2FAEnabledProps) {
function VerifyAuthenticatorForm(props: VerifyAuthenticatorFormProps) {
const { codeHelpText, onSubmitCode, children } = props;
- const formRef = useRef<HTMLFormElement>();
+ const formRef = useRef<HTMLFormElement>(null);
return (
<Flex
ref={formRef}
as="form"
id="2faForm"
- flexDirection="column"
- flex={1}
- sx={{ overflow: "hidden" }}
+ sx={{ overflow: "hidden", flex: 1, flexDirection: "column" }}
onSubmit={async (e) => {
+ if (!formRef.current) return;
e.preventDefault();
const form = new FormData(formRef.current);
const code = form.get("code");
diff --git a/apps/web/src/components/dialogs/mfa/types.ts b/apps/web/src/components/dialogs/mfa/types.ts
index c8fdad2b3..e0182d9d0 100644
--- a/apps/web/src/components/dialogs/mfa/types.ts
+++ b/apps/web/src/components/dialogs/mfa/types.ts
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { BoxProps } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { BoxProps } from "@theme-ui/components";
import { Perform } from "../../../common/dialog-controller";
export type AuthenticatorType = "app" | "sms" | "email";
@@ -25,7 +26,7 @@ export type Authenticator = {
type: AuthenticatorType;
title: string;
subtitle: string;
- icon: React.FunctionComponent<BoxProps>;
+ icon: React.FunctionComponent<BoxProps & { size: number }>;
recommended?: boolean;
};
diff --git a/apps/web/src/components/dialogs/migration-dialog.tsx b/apps/web/src/components/dialogs/migration-dialog.tsx
index 47fd26202..17e0b19d7 100644
--- a/apps/web/src/components/dialogs/migration-dialog.tsx
+++ b/apps/web/src/components/dialogs/migration-dialog.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text } from "@theme-ui/components";
import { createBackup } from "../../common";
import { db } from "../../common/db";
import { Perform } from "../../common/dialog-controller";
diff --git a/apps/web/src/components/dialogs/move-note-dialog.js b/apps/web/src/components/dialogs/move-note-dialog.js
index 725690525..67ddfec7d 100644
--- a/apps/web/src/components/dialogs/move-note-dialog.js
+++ b/apps/web/src/components/dialogs/move-note-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useRef, useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import { db } from "../../common/db";
import Dialog from "./dialog";
@@ -77,7 +78,7 @@ function MoveDialog({ onClose, noteIds }) {
onClick: onClose
}}
>
- <Flex flexDirection="column" mt={1} sx={{ overflowY: "hidden" }}>
+ <Flex mt={1} sx={{ overflowY: "hidden", flexDirection: "column" }}>
<FilteredList
testId="mnd-new-notebook-title"
placeholders={{
@@ -103,14 +104,14 @@ function MoveDialog({ onClose, noteIds }) {
key={notebook.id}
testId={`notebook-${index}`}
title={
- <Flex flexDirection={"column"} sx={{ px: 1 }}>
+ <Flex sx={{ px: 1, flexDirection: "column" }}>
<Text
variant={"body"}
sx={{ color: hasNotes ? "primary" : "text" }}
>
{notebook.title}
</Text>
- <Text variant={"subBody"} fontWeight="normal">
+ <Text variant={"subBody"} sx={{ fontWeight: "normal" }}>
{getTotalNotes(notebook)} notes &amp;{" "}
{notebook.topics.length} topics{" "}
{selectedTopics.length
@@ -287,7 +288,7 @@ function FilteredList({
: { icon: Icon.Search, onClick: () => _filter(query) }
}
/>
- <Flex flexDirection="column" mt={1} sx={{ overflowY: "hidden" }}>
+ <Flex mt={1} sx={{ overflowY: "hidden", flexDirection: "column" }}>
{noItemsFound && (
<Button
variant={"secondary"}
@@ -319,13 +320,15 @@ function Item(props) {
variant={"list"}
data-test-id={props["data-test-id"]}
p={1}
- justifyContent="space-between"
- alignItems="center"
pl={!indent ? 2 : indent * 15}
onClick={onClick}
- sx={{ display: "flex" }}
+ sx={{
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "space-between"
+ }}
>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
<Text variant="body">{title}</Text>
<Text variant="subBody">{pluralize(totalNotes, "note", "notes")}</Text>
</Flex>
diff --git a/apps/web/src/components/dialogs/onboarding-dialog.js b/apps/web/src/components/dialogs/onboarding-dialog.js
index f2662071d..052425135 100644
--- a/apps/web/src/components/dialogs/onboarding-dialog.js
+++ b/apps/web/src/components/dialogs/onboarding-dialog.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text, Flex, Button, Image, Box } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text, Flex, Button, Image, Box } from "@theme-ui/components";
import Dialog from "./dialog";
import * as Icon from "../icons";
import { ReactComponent as E2E } from "../../assets/e2e.svg";
@@ -29,7 +30,7 @@ import DarkUI from "../../assets/dark1.png";
import GooglePlay from "../../assets/play.png";
import AppleStore from "../../assets/apple.png";
import { useStore as useThemeStore } from "../../stores/theme-store";
-import { Checkbox, Label } from "@streetwriters/rebass-forms";
+import { Checkbox, Label } from "@theme-ui/components";
import { Features } from "../announcements/body";
import { showBuyDialog } from "../../common/dialog-controller";
import { TaskManager } from "../../common/task-manager";
@@ -155,16 +156,20 @@ function OnboardingDialog({ onClose: _onClose, type }) {
return (
<Dialog isOpen={true} width={500}>
- <Flex flexDirection="column" overflowY="auto" alignItems={"center"}>
+ <Flex
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ overflowY: "auto"
+ }}
+ >
{image}
<Text variant={"heading"} mt={2}>
{title}
</Text>
<Text
variant={"body"}
- color="fontTertiary"
- textAlign={"center"}
- maxWidth="70%"
+ sx={{ textAlign: "center", maxWidth: "70%", color: "fontTertiary" }}
>
{subtitle}
</Text>
@@ -185,7 +190,7 @@ export default OnboardingDialog;
function JoinCause({ onNext }) {
return (
- <Flex mb={4} flexDirection={"column"}>
+ <Flex mb={4} sx={{ flexDirection: "column" }}>
<Button
as="a"
href="https://discord.com/invite/zQBK97EE22"
@@ -199,9 +204,9 @@ function JoinCause({ onNext }) {
</Button>
<Button
variant={"anchor"}
- color="fontTertiary"
mt={2}
onClick={() => onNext()}
+ sx={{ color: "fontTertiary" }}
>
Skip for now
</Button>
@@ -219,7 +224,7 @@ const importers = [
];
function Importer({ onClose }) {
return (
- <Flex my={4} flexDirection={"column"}>
+ <Flex my={4} sx={{ flexDirection: "column" }}>
<Box sx={{ display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: 1 }}>
{importers.map((importer) => (
<Flex
@@ -234,7 +239,7 @@ function Importer({ onClose }) {
p: 1
}}
>
- <Text variant={"body"} textAlign="center" ml={1}>
+ <Text variant={"body"} ml={1} sx={{ textAlign: "center" }}>
{importer.title}
</Text>
</Flex>
@@ -253,9 +258,9 @@ function Importer({ onClose }) {
</Button>
<Button
variant={"anchor"}
- color="fontTertiary"
mt={2}
onClick={() => onClose()}
+ sx={{ color: "fontTertiary" }}
>
Skip for now
</Button>
@@ -352,10 +357,7 @@ function ThemeSelector() {
return (
<Flex
key={theme.key}
- flexDirection={"column"}
p={20}
- alignItems="center"
- justifyContent={"center"}
sx={{
borderRight: "1px solid var(--border)",
bg: isSelected ? "bgSecondary" : "transparent",
@@ -365,7 +367,10 @@ function ThemeSelector() {
},
":hover": {
bg: "hover"
- }
+ },
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
}}
onClick={() => {
setTheme(theme.key);
@@ -379,7 +384,7 @@ function ThemeSelector() {
boxShadow: isSelected ? "0px 0px 10px 1px #00000016" : "none"
}}
/>
- <Text variant={"subtitle"} color="icon" mt={2}>
+ <Text variant={"subtitle"} mt={2} sx={{ color: "icon" }}>
{theme.name}
</Text>
</Flex>
@@ -395,13 +400,13 @@ function TrackingConsent() {
true
);
return (
- <Label variant="text.subBody" my={4} width="80%">
+ <Label variant="text.subBody" my={4} sx={{ width: "80%" }}>
<Checkbox
- width={14}
checked={enableTelemetry}
onChange={(e) => {
setEnableTelemetry(e.target.checked);
}}
+ sx={{ width: 14 }}
/>
<Text>
Help improve Notesnook by sending completely anonymized product
@@ -413,9 +418,9 @@ function TrackingConsent() {
function CrossPlatform() {
return (
- <Flex my={4} alignItems="center">
- <Image src={GooglePlay} flexShrink={0} width={135} />
- <Image src={AppleStore} flexShrink={0} width={110} />
+ <Flex my={4} sx={{ alignItems: "center" }}>
+ <Image src={GooglePlay} sx={{ flexShrink: 0, width: 135 }} />
+ <Image src={AppleStore} sx={{ flexShrink: 0, width: 110 }} />
</Flex>
);
}
@@ -426,9 +431,11 @@ function TrialOffer({ onClose }) {
return (
<Flex
my={4}
- flexDirection="column"
- justifyContent={"center"}
- alignItems="center"
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Features item={{ style: {} }} />
{error ? (
@@ -436,9 +443,8 @@ function TrialOffer({ onClose }) {
variant={"body"}
mt={2}
bg="errorBg"
- color="error"
p={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: "error" }}
>
{error}
</Text>
@@ -447,15 +453,14 @@ function TrialOffer({ onClose }) {
variant={"body"}
mt={2}
bg="bgSecondary"
- color="icon"
p={1}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: "icon" }}
>
<b>Note:</b> Upgrade now and get 50% discount on all plans.
</Text>
)}
- <Flex mt={2} width="100%" justifyContent={"center"}>
+ <Flex mt={2} sx={{ justifyContent: "center", width: "100%" }}>
<Button
sx={{ borderRadius: 50, alignSelf: "center", mr: 2, width: "40%" }}
onClick={() => {
@@ -496,9 +501,9 @@ function TrialOffer({ onClose }) {
</Flex>
<Button
variant={"anchor"}
- color="fontTertiary"
mt={2}
onClick={() => onClose()}
+ sx={{ color: "fontTertiary" }}
>
Skip for now
</Button>
diff --git a/apps/web/src/components/dialogs/password-dialog.js b/apps/web/src/components/dialogs/password-dialog.js
index 47d18f9c3..1fb979341 100644
--- a/apps/web/src/components/dialogs/password-dialog.js
+++ b/apps/web/src/components/dialogs/password-dialog.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState, useCallback, useMemo } from "react";
-import { Box, Text } from "@streetwriters/rebass";
+import { Box, Text } from "@theme-ui/components";
import Dialog from "./dialog";
import Field from "../field";
-import { Checkbox, Label } from "@streetwriters/rebass-forms";
+import { Checkbox, Label } from "@theme-ui/components";
function PasswordDialog(props) {
const { type, checks } = props;
@@ -103,7 +104,11 @@ function PasswordDialog(props) {
{checks &&
checks.map((check) => (
- <Label key={check.key} alignItems="center" fontSize="title" mt={2}>
+ <Label
+ key={check.key}
+ mt={2}
+ sx={{ fontSize: "title", alignItems: "center" }}
+ >
<Checkbox id={check.key} name={check.key} />
{check.title}
</Label>
diff --git a/apps/web/src/components/dialogs/progress-dialog.js b/apps/web/src/components/dialogs/progress-dialog.js
index a47ac613e..f4fcc7e46 100644
--- a/apps/web/src/components/dialogs/progress-dialog.js
+++ b/apps/web/src/components/dialogs/progress-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
-import { Box, Flex, Text } from "@streetwriters/rebass";
+import { Box, Flex, Text } from "@theme-ui/components";
import Dialog from "./dialog";
function ProgressDialog(props) {
@@ -44,7 +45,7 @@ function ProgressDialog(props) {
description={props.subtitle}
onClose={() => {}}
>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
<Text variant="body">{text}</Text>
{current > 0 ? (
<>
diff --git a/apps/web/src/components/dialogs/prompt.tsx b/apps/web/src/components/dialogs/prompt.tsx
index 752e2c741..64a7e3566 100644
--- a/apps/web/src/components/dialogs/prompt.tsx
+++ b/apps/web/src/components/dialogs/prompt.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef } from "react";
import { Perform } from "../../common/dialog-controller";
@@ -30,7 +31,7 @@ export type PromptDialogProps = {
};
export default function Prompt(props: PromptDialogProps) {
- const inputRef = useRef<HTMLInputElement>();
+ const inputRef = useRef<HTMLInputElement>(null);
return (
<Dialog
isOpen={true}
diff --git a/apps/web/src/components/dialogs/recovery-key-dialog.js b/apps/web/src/components/dialogs/recovery-key-dialog.js
index b5024a6c1..0c2011a35 100644
--- a/apps/web/src/components/dialogs/recovery-key-dialog.js
+++ b/apps/web/src/components/dialogs/recovery-key-dialog.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
-import { Text, Flex, Button } from "@streetwriters/rebass";
+import { Text, Flex, Button } from "@theme-ui/components";
import Dialog from "./dialog";
import { db } from "../../common/db";
import Logo from "../../assets/notesnook-logo.png";
@@ -54,14 +55,16 @@ function RecoveryKeyDialog(props) {
}
}}
>
- <Flex flexDirection="column" flex={1} sx={{ overflow: "hidden" }}>
- <Flex flexDirection="column" sx={{ overflowY: "auto" }}>
+ <Flex sx={{ overflow: "hidden", flex: 1, flexDirection: "column" }}>
+ <Flex sx={{ overflowY: "auto", flexDirection: "column" }}>
<Text
- color="error"
bg="errorBg"
p={2}
- sx={{ borderRadius: "default" }}
- fontSize="subBody"
+ sx={{
+ borderRadius: "default",
+ fontSize: "subBody",
+ color: "error"
+ }}
>
In case you forget your password, your recovery key is the only way
to recover your data.
@@ -72,14 +75,20 @@ function RecoveryKeyDialog(props) {
mt={2}
bg="bgSecondary"
p={2}
- fontFamily="monospace"
- fontSize="body"
- color="text"
- sx={{ borderRadius: "default", overflowWrap: "anywhere" }}
+ sx={{
+ borderRadius: "default",
+ overflowWrap: "anywhere",
+ fontSize: "body",
+ fontFamily: "monospace",
+ color: "text"
+ }}
>
{key}
</Text>
- <Flex justifyContent="space-around" alignItems="center" mt={4}>
+ <Flex
+ mt={4}
+ sx={{ alignItems: "center", justifyContent: "space-around" }}
+ >
<Suspense fallback={<div />}>
<QRCode
value={key}
@@ -90,12 +99,11 @@ function RecoveryKeyDialog(props) {
/>
</Suspense>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
<Button
variant="secondary"
mt={1}
className="copyKey"
- fontSize="body"
onClick={async () => {
clipboard
.writeText(key)
@@ -109,13 +117,13 @@ function RecoveryKeyDialog(props) {
console.error("Error while copying text.", e);
});
}}
+ sx={{ fontSize: "body" }}
>
{copyText}
</Button>
<Button
variant="secondary"
mt={1}
- fontSize="body"
onClick={async () => {
const qrcode = document.getElementById("react-qrcode-logo");
qrcode.toBlob((blob) => {
@@ -125,19 +133,20 @@ function RecoveryKeyDialog(props) {
);
});
}}
+ sx={{ fontSize: "body" }}
>
Download QR Code
</Button>
<Button
variant="secondary"
mt={1}
- fontSize="body"
onClick={() => {
FileSaver.saveAs(
new Blob([Buffer.from(key)]),
`${email}-notesnook-recoverykey.txt`
);
}}
+ sx={{ fontSize: "body" }}
>
Download file
</Button>
diff --git a/apps/web/src/components/dialogs/reminder-dialog.js b/apps/web/src/components/dialogs/reminder-dialog.js
index 7aadf23ce..4689026b5 100644
--- a/apps/web/src/components/dialogs/reminder-dialog.js
+++ b/apps/web/src/components/dialogs/reminder-dialog.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text, Flex, Box } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text, Flex, Box } from "@theme-ui/components";
import Dialog from "./dialog";
import * as Icon from "../icons";
import { showBuyDialog } from "../../common/dialog-controller";
@@ -40,7 +41,7 @@ const reminders = {
title: (
<>
Subscribe now to{" "}
- <Text as="span" fontWeight="bold" color="primary">
+ <Text as="span" sx={{ fontWeight: "bold", color: "primary" }}>
get 30% off
</Text>
*
@@ -50,8 +51,8 @@ const reminders = {
},
features,
// footer: (
- // <Flex bg="bgSecondary" pb={2} justifyContent="center">
- // <Button variant="anchor" color="text">
+ // <Flex bg="bgSecondary" pb={2} sx={{justifyContent: "center"}}>
+ // <Button variant="anchor" sx={{color: "text"}}>
// Can't decide yet? Extend your trial!
// </Button>
// </Flex>
@@ -112,19 +113,24 @@ function ReminderDialog(props) {
footer={reminder.footer}
>
<Flex
- flexDirection="column"
- overflowY="auto"
- justifyContent="center"
- alignItems="center"
mt={2}
- overflow="hidden"
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center",
+ overflowY: "auto",
+ overflow: "hidden"
+ }}
>
{reminder.offer && (
<>
- <Text textAlign="center" variant="body" fontSize="title">
+ <Text
+ variant="body"
+ sx={{ fontSize: "title", textAlign: "center" }}
+ >
{reminder.offer.title}
</Text>
- <Text textAlign="center" variant="body" opacity="0.8">
+ <Text variant="body" opacity="0.8" sx={{ textAlign: "center" }}>
{reminder.offer.subtitle}
</Text>
</>
diff --git a/apps/web/src/components/dialogs/toolbar-config-dialog.tsx b/apps/web/src/components/dialogs/toolbar-config-dialog.tsx
index e58e64799..7d14ac7c8 100644
--- a/apps/web/src/components/dialogs/toolbar-config-dialog.tsx
+++ b/apps/web/src/components/dialogs/toolbar-config-dialog.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Button, Flex, FlexProps, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Button, Flex, FlexProps, Text } from "@theme-ui/components";
import { Perform } from "../../common/dialog-controller";
import Dialog from "./dialog";
import {
@@ -49,7 +50,7 @@ import { useEffect, useState } from "react";
import { CSS } from "@dnd-kit/utilities";
import { createPortal } from "react-dom";
import id from "@notesnook/core/utils/id";
-import { Label, Radio } from "@streetwriters/rebass-forms";
+import { Label, Radio } from "@theme-ui/components";
import { db } from "../../common/db";
import { useToolbarConfig } from "../editor/context";
import {
diff --git a/apps/web/src/components/dialogs/tracking-details-dialog.js b/apps/web/src/components/dialogs/tracking-details-dialog.js
index 437a123b1..a7a2540df 100644
--- a/apps/web/src/components/dialogs/tracking-details-dialog.js
+++ b/apps/web/src/components/dialogs/tracking-details-dialog.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Text } from "@theme-ui/components";
import { ANALYTICS_EVENTS } from "../../utils/analytics";
import Dialog from "./dialog";
@@ -36,13 +37,13 @@ function TrackingDetailsDialog(props) {
onClick: props.onClose
}}
>
- <Box overflowY="auto">
+ <Box sx={{ overflowY: "auto" }}>
<table>
<tr>
- <Text as="th" textAlign="left" variant="subtitle">
+ <Text as="th" variant="subtitle" sx={{ textAlign: "left" }}>
Event name
</Text>{" "}
- <Text as="th" textAlign="left" variant="subtitle">
+ <Text as="th" variant="subtitle" sx={{ textAlign: "left" }}>
Event detail
</Text>
</tr>
diff --git a/apps/web/src/components/diff-viewer/content-toggle.js b/apps/web/src/components/diff-viewer/content-toggle.js
index 6c8e93057..9e40f60ab 100644
--- a/apps/web/src/components/diff-viewer/content-toggle.js
+++ b/apps/web/src/components/diff-viewer/content-toggle.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { formatDate } from "@notesnook/core/utils/date";
-import { Flex, Button } from "@streetwriters/rebass";
+import { Flex, Button } from "@theme-ui/components";
function ContentToggle(props) {
const {
@@ -31,7 +32,7 @@ function ContentToggle(props) {
} = props;
return (
- <Flex flexDirection="column" sx={sx}>
+ <Flex sx={{ ...sx, flexDirection: "column" }}>
<Flex>
{isOtherSelected && (
<Button
@@ -61,9 +62,12 @@ function ContentToggle(props) {
</Button>
</Flex>
<Flex
- alignItems="center"
mt={1}
- sx={{ fontSize: "subBody", color: "fontTertiary" }}
+ sx={{
+ fontSize: "subBody",
+ color: "fontTertiary",
+ alignItems: "center"
+ }}
>
{label} | {formatDate(dateEdited, true)}
</Flex>
diff --git a/apps/web/src/components/diff-viewer/index.js b/apps/web/src/components/diff-viewer/index.js
index 26a4b5a84..90662b1af 100644
--- a/apps/web/src/components/diff-viewer/index.js
+++ b/apps/web/src/components/diff-viewer/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState, useEffect, useCallback } from "react";
-import { Flex, Text, Button } from "@streetwriters/rebass";
+import { Flex, Text, Button } from "@theme-ui/components";
import * as Icon from "../icons";
import ContentToggle from "./content-toggle";
import { store as notesStore } from "../../stores/note-store";
@@ -124,29 +125,28 @@ function DiffViewer(props) {
return (
<Flex
className="diffviewer"
- width="100%"
- flex="1 1 auto"
- flexDirection="column"
- overflow="hidden"
+ sx={{
+ flex: "1 1 auto",
+ flexDirection: "column",
+ width: "100%",
+ overflow: "hidden"
+ }}
>
<Text
mt={2}
variant="heading"
- textAlign="center"
sx={{
flexShrink: 0,
whiteSpace: "nowrap",
overflow: "hidden",
- textOverflow: "ellipsis"
+ textOverflow: "ellipsis",
+ textAlign: "center"
}}
>
{conflictedNote.title}
</Text>
- <Flex alignSelf="center" justifySelf="center" mt={1}>
+ <Flex mt={1} sx={{ alignSelf: "center", justifySelf: "center" }}>
<Button
- display="flex"
- justifyContent="center"
- alignItems="center"
variant="tool"
onClick={async () => {
setIsDownloadingImages(true);
@@ -167,29 +167,41 @@ function DiffViewer(props) {
}}
disabled={isDownloadingImages}
mr={2}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
>
{isDownloadingImages ? (
<Icon.Loading size={18} />
) : (
<Icon.ImageDownload size={18} />
)}
- <Text display={["none", "block", "block"]} fontSize="body" ml={1}>
+ <Text
+ ml={1}
+ sx={{ fontSize: "body", display: ["none", "block", "block"] }}
+ >
{isDownloadingImages ? "Downloading..." : "Load images"}
</Text>
</Button>
</Flex>
<ScrollSync>
<Flex
- flex="1 1 auto"
- flexDirection={["column", "column", "row"]}
- overflow="hidden"
+ sx={{
+ flex: "1 1 auto",
+ flexDirection: ["column", "column", "row"],
+ overflow: "hidden"
+ }}
>
<Flex
- flexDirection="column"
className="firstEditor"
- height={["50%", "50%", "100%"]}
- width={["100%", "100%", "50%"]}
- flex="1 1 auto"
+ sx={{
+ flex: "1 1 auto",
+ flexDirection: "column",
+ width: ["100%", "100%", "50%"],
+ height: ["50%", "50%", "100%"]
+ }}
>
<ContentToggle
label="Current note"
@@ -236,11 +248,13 @@ function DiffViewer(props) {
</ScrollSyncPane>
</Flex>
<Flex
- flexDirection="column"
className="secondEditor"
- flex="1 1 auto"
- height={["50%", "50%", "100%"]}
- width={["100%", "100%", "50%"]}
+ sx={{
+ flex: "1 1 auto",
+ flexDirection: "column",
+ width: ["100%", "100%", "50%"],
+ height: ["50%", "50%", "100%"]
+ }}
>
<ContentToggle
resolveConflict={({ saveCopy }) => {
diff --git a/apps/web/src/components/dropdown-button/index.js b/apps/web/src/components/dropdown-button/index.js
index 32956f668..98c56d51b 100644
--- a/apps/web/src/components/dropdown-button/index.js
+++ b/apps/web/src/components/dropdown-button/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Button, Flex } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Button, Flex } from "@theme-ui/components";
import { useMenuTrigger } from "../../hooks/use-menu";
import { ChevronDown } from "../icons";
diff --git a/apps/web/src/components/editor/-placeholder.js b/apps/web/src/components/editor/-placeholder.js
index 366ebf606..a67c3e3fe 100644
--- a/apps/web/src/components/editor/-placeholder.js
+++ b/apps/web/src/components/editor/-placeholder.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Logo from "../../assets/logo.svg";
import LogoDark from "../../assets/logo-dark.svg";
-import { Button, Flex, Image, Text } from "@streetwriters/rebass";
+import { Button, Flex, Image, Text } from "@theme-ui/components";
import { hashNavigate } from "../../navigation";
import * as Icon from "../icons";
import { useStore as useThemeStore } from "../../stores/theme-store";
@@ -27,21 +28,23 @@ function EditorPlaceholder() {
const theme = useThemeStore((store) => store.theme);
return (
<Flex
- flexDirection="column"
- flex={1}
- justifyContent="center"
- alignItems="center"
+ sx={{
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
- <Image src={theme === "dark" ? LogoDark : Logo} width={150} />
- <Text variant="body" textAlign="center" mt={2}>
+ <Image src={theme === "dark" ? LogoDark : Logo} sx={{ width: 150 }} />
+ <Text variant="body" mt={2} sx={{ textAlign: "center" }}>
Please create or open a note to start editing.
</Text>
<Button
mt={2}
- display="flex"
sx={{
alignItems: "center",
- justifyContent: "center"
+ justifyContent: "center",
+ display: "flex"
}}
variant="tool"
onClick={() =>
diff --git a/apps/web/src/components/editor/context.ts b/apps/web/src/components/editor/context.ts
index 1bae00dec..9679f2734 100644
--- a/apps/web/src/components/editor/context.ts
+++ b/apps/web/src/components/editor/context.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useRef } from "react";
import { IEditor, NoteStatistics } from "./types";
diff --git a/apps/web/src/components/editor/footer.js b/apps/web/src/components/editor/footer.js
index 5c2e37d30..198fbe198 100644
--- a/apps/web/src/components/editor/footer.js
+++ b/apps/web/src/components/editor/footer.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { formatDate } from "@notesnook/core/utils/date";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { useStore } from "../../stores/editor-store";
import { Loading, Saved, NotSaved } from "../icons";
import { useNoteStatistics } from "./context";
@@ -38,13 +39,13 @@ function EditorFooter() {
if (!id) return null;
return (
- <Flex alignItems="center">
+ <Flex sx={{ alignItems: "center" }}>
<Text
className="selectable"
data-test-id="editor-word-count"
variant="subBody"
- color="bgSecondaryText"
mr={2}
+ sx={{ color: "bgSecondaryText" }}
>
{words.total + " words"}
{words.selected ? ` (${words.selected} selected)` : ""}
@@ -52,8 +53,8 @@ function EditorFooter() {
<Text
className="selectable"
variant="subBody"
- color="bgSecondaryText"
mr={2}
+ sx={{ color: "bgSecondaryText" }}
>
{formatDate(dateEdited || Date.now())}
</Text>
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.js
index 75c51b9ad..79d3b4432 100644
--- a/apps/web/src/components/editor/header.js
+++ b/apps/web/src/components/editor/header.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { useStore } from "../../stores/editor-store";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
import * as Icon from "../icons";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import IconTag from "../icon-tag";
import { db } from "../../common/db";
import { useMenuTrigger } from "../../hooks/use-menu";
@@ -36,7 +37,7 @@ function Header({ readonly }) {
return (
<>
{!readonly && id && (
- <Flex alignItems="center" flexWrap="wrap" sx={{ lineHeight: 2.5 }}>
+ <Flex flexWrap="wrap" sx={{ lineHeight: 2.5, alignItems: "center" }}>
{tags?.map((tag) => (
<IconTag
testId={`tag-${tag}`}
@@ -148,12 +149,15 @@ function Autosuggest({
<Input
ref={inputRef}
variant="clean"
- width="auto"
- alignSelf="flex-start"
- sx={{ width: "auto", border: "none", p: 0, fontSize: "body" }}
+ sx={{
+ width: "auto",
+ border: "none",
+ p: 0,
+ fontSize: "body",
+ alignSelf: "flex-start"
+ }}
placeholder="Add a tag..."
data-test-id="editor-tag-input"
- fontSize="subtitle"
onFocus={() => {
const text = getInputValue();
if (!text) setFiltered(defaultItems);
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx
index 58f2c8983..bd391e501 100644
--- a/apps/web/src/components/editor/index.tsx
+++ b/apps/web/src/components/editor/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
useEffect,
@@ -23,7 +24,7 @@ import {
useRef,
PropsWithChildren
} from "react";
-import { Box, Button, Flex, Text } from "@streetwriters/rebass";
+import { Box, Button, Flex, Text } from "@theme-ui/components";
import Properties from "../properties";
import { useStore, store as editorstore } from "../../stores/editor-store";
import Toolbar from "./toolbar";
@@ -136,13 +137,13 @@ export default function EditorManager({
return (
<Flex
ref={dropRef}
- flexDirection="column"
id="editorContainer"
- flex={1}
sx={{
position: "relative",
alignSelf: "stretch",
- overflow: "hidden"
+ overflow: "hidden",
+ flex: 1,
+ flexDirection: "column"
}}
>
{previewSession.current && (
@@ -290,12 +291,12 @@ function EditorChrome(props: PropsWithChildren<EditorProps>) {
variant="columnFill"
className="editor"
sx={{
- alignSelf: ["stretch", focusMode ? "center" : "stretch", "center"]
+ alignSelf: ["stretch", focusMode ? "center" : "stretch", "center"],
+ width: "100%",
+ maxWidth: focusMode
+ ? "min(100%, 850px)"
+ : "max(calc(100% - 200px), 850px)"
}}
- maxWidth={
- focusMode ? "min(100%, 850px)" : "max(calc(100% - 200px), 850px)"
- }
- width="100%"
px={2}
onClick={onRequestFocus}
// mt={[2, 2, 25]}
@@ -367,10 +368,9 @@ function PreviewModeNotice(props: PreviewModeNoticeProps) {
<Flex
bg="bgSecondary"
p={2}
- justifyContent={"space-between"}
- alignItems={"center"}
+ sx={{ alignItems: "center", justifyContent: "space-between" }}
>
- <Flex flexDirection={"column"} mr={4}>
+ <Flex mr={4} sx={{ flexDirection: "column" }}>
<Text variant={"subtitle"}>Preview</Text>
<Text variant={"body"}>
You are previewing note version edited from {formatDate(dateCreated)}{" "}
@@ -453,7 +453,7 @@ function DropZone(props: DropZoneProps) {
}
function useDragOverlay() {
- const dropElementRef = useRef<HTMLElement>();
+ const dropElementRef = useRef<HTMLElement>(null);
const overlayRef = useRef<HTMLElement>();
useEffect(() => {
diff --git a/apps/web/src/components/editor/loading.tsx b/apps/web/src/components/editor/loading.tsx
index 98e8b87d9..63aab2e3d 100644
--- a/apps/web/src/components/editor/loading.tsx
+++ b/apps/web/src/components/editor/loading.tsx
@@ -1,34 +1,37 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
function EditorLoading({ text }: { text?: string }) {
return (
<Flex
- flexDirection="column"
- flex={1}
- justifyContent="center"
- alignItems="center"
+ sx={{
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Icon.Loading color="primary" sx={{ mt: 2 }} />
- <Text variant="body" textAlign="center" mt={2}>
+ <Text variant="body" mt={2} sx={{ textAlign: "center" }}>
{text || "Loading editor. Please wait..."}
</Text>
</Flex>
diff --git a/apps/web/src/components/editor/picker.ts b/apps/web/src/components/editor/picker.ts
index f8d5b3265..addd5ef34 100644
--- a/apps/web/src/components/editor/picker.ts
+++ b/apps/web/src/components/editor/picker.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { SerializedKey } from "@notesnook/crypto/dist/src/types";
import { AppEventManager, AppEvents } from "../../common/app-events";
diff --git a/apps/web/src/components/editor/tiptap.tsx b/apps/web/src/components/editor/tiptap.tsx
index 51f4c30a6..0c9c7d006 100644
--- a/apps/web/src/components/editor/tiptap.tsx
+++ b/apps/web/src/components/editor/tiptap.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "@notesnook/editor/styles/styles.css";
import "@notesnook/editor/styles/katex.min.css";
@@ -31,7 +32,7 @@ import {
AttachmentType,
usePermissionHandler
} from "@notesnook/editor";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import { PropsWithChildren, useEffect, useRef, useState } from "react";
import useMobile from "../../hooks/use-mobile";
import { Attachment } from "./picker";
@@ -243,7 +244,7 @@ function TipTap(props: TipTapProps) {
function TiptapWrapper(props: Omit<TipTapProps, "editorContainer" | "theme">) {
const theme = useTheme() as Theme;
const [isReady, setIsReady] = useState(false);
- const editorContainerRef = useRef<HTMLDivElement>();
+ const editorContainerRef = useRef<HTMLDivElement>(null);
useEffect(() => {
setIsReady(true);
}, []);
diff --git a/apps/web/src/components/editor/title-box.tsx b/apps/web/src/components/editor/title-box.tsx
index 68e0b99de..798858030 100644
--- a/apps/web/src/components/editor/title-box.tsx
+++ b/apps/web/src/components/editor/title-box.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
type TitleBoxProps = {
nonce?: number;
@@ -45,13 +46,13 @@ function TitleBox(props: TitleBoxProps) {
data-test-id="editor-title"
className="editorTitle"
placeholder={"Note title"}
- width="100%"
readOnly={readonly}
sx={{
p: 0,
fontFamily: "heading",
fontSize: ["1.625em", "1.625em", "2.625em"],
- fontWeight: "heading"
+ fontWeight: "heading",
+ width: "100%"
}}
onChange={(e) => {
setCurrentTitle(e.target.value);
diff --git a/apps/web/src/components/editor/toolbar.js b/apps/web/src/components/editor/toolbar.js
index fd36ea737..9674dbbb7 100644
--- a/apps/web/src/components/editor/toolbar.js
+++ b/apps/web/src/components/editor/toolbar.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useMemo, useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import { useStore as useAppStore } from "../../stores/app-store";
import { useStore as useThemeStore } from "../../stores/theme-store";
@@ -169,8 +170,8 @@ function Toolbar() {
);
return (
- <Flex m={2} justifyContent={"space-between"}>
- <Flex justifyContent="center" alignItems="center" flex={1}>
+ <Flex m={2} sx={{ justifyContent: "space-between" }}>
+ <Flex sx={{ flex: 1, alignItems: "center", justifyContent: "center" }}>
<Icon.ArrowLeft
sx={{
display: ["block", "none", "none"],
@@ -220,7 +221,6 @@ function Toolbar() {
data-test-id={tool.title.toLowerCase().replace(/ /g, "-")}
disabled={!tool.enabled}
variant="tool"
- flexShrink={0}
title={tool.title}
key={tool.title}
mr={1}
@@ -230,23 +230,31 @@ function Toolbar() {
tool.hidden ? "none" : "flex"
],
color: tool.enabled ? "text" : "disabled",
- cursor: tool.enabled ? "pointer" : "not-allowed"
+ cursor: tool.enabled ? "pointer" : "not-allowed",
+ flexDirection: "row",
+ flexShrink: 0,
+ alignItems: "center"
}}
onClick={tool.onClick}
- flexDirection="row"
- alignItems="center"
>
<tool.icon size={18} color={tool.enabled ? "text" : "disabled"} />
- <Text display={["none", "none", "block"]} variant="body" ml={1}>
+ <Text
+ variant="body"
+ ml={1}
+ sx={{ display: ["none", "none", "block"] }}
+ >
{tool.title}
</Text>
</Button>
))}
<Flex
- alignItems="center"
- justifyContent="flex-end"
bg="bgSecondary"
- sx={{ borderRadius: "default", overflow: "hidden" }}
+ sx={{
+ borderRadius: "default",
+ overflow: "hidden",
+ alignItems: "center",
+ justifyContent: "flex-end"
+ }}
>
{inlineTools.map((tool) => (
<Button
@@ -254,7 +262,6 @@ function Toolbar() {
disabled={!tool.enabled}
variant="tool"
bg="transparent"
- flexShrink={0}
title={tool.title}
key={tool.title}
sx={{
@@ -264,23 +271,26 @@ function Toolbar() {
tool.hidden ? "none" : "flex"
],
color: tool.enabled ? "text" : "disabled",
- cursor: tool.enabled ? "pointer" : "not-allowed"
+ cursor: tool.enabled ? "pointer" : "not-allowed",
+ flexDirection: "row",
+ flexShrink: 0,
+ alignItems: "center"
}}
onClick={tool.onClick}
- flexDirection="row"
- alignItems="center"
>
<tool.icon size={18} color={tool.enabled ? "text" : "disabled"} />
{tool.new && (
<Text
variant="subBody"
- fontSize={10}
ml={1}
bg="primary"
- color="static"
px={"3px"}
py="1px"
- sx={{ borderRadius: "default" }}
+ sx={{
+ borderRadius: "default",
+ fontSize: 10,
+ color: "static"
+ }}
>
NEW
</Text>
diff --git a/apps/web/src/components/editor/types.ts b/apps/web/src/components/editor/types.ts
index e42f14801..306b6e098 100644
--- a/apps/web/src/components/editor/types.ts
+++ b/apps/web/src/components/editor/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Attachment } from "./picker";
diff --git a/apps/web/src/components/field/index.js b/apps/web/src/components/field/index.js
index 312eb6ce9..b3c23a228 100644
--- a/apps/web/src/components/field/index.js
+++ b/apps/web/src/components/field/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
-import { Input, Label } from "@streetwriters/rebass-forms";
+import { Button, Flex, Text } from "@theme-ui/components";
+import { Input, Label } from "@theme-ui/components";
import * as Icon from "../icons";
const passwordValidationRules = [
@@ -75,7 +76,7 @@ function Field(props) {
const [rules, setRules] = useState(passwordValidationRules);
return (
- <Flex sx={{ ...sx, ...styles.container }} flexDirection="column">
+ <Flex sx={{ ...sx, ...styles.container, flexDirection: "column" }}>
<Label
htmlFor={id}
sx={{
@@ -192,7 +193,7 @@ function Field(props) {
)}
</Flex>
{validatePassword && (
- <Flex flexDirection="column" mt={1}>
+ <Flex mt={1} sx={{ flexDirection: "column" }}>
{rules.map((rule) => (
<Flex key={rule.title}>
{rule.isValid ? (
@@ -200,7 +201,7 @@ function Field(props) {
) : (
<Icon.Cross color="error" size={14} />
)}
- <Text fontSize="body" color="text" ml={1}>
+ <Text ml={1} sx={{ fontSize: "body", color: "text" }}>
{rule.title}
</Text>
</Flex>
diff --git a/apps/web/src/components/global-menu-wrapper/index.js b/apps/web/src/components/global-menu-wrapper/index.js
index 8f1e0969c..56ebf9bc7 100644
--- a/apps/web/src/components/global-menu-wrapper/index.js
+++ b/apps/web/src/components/global-menu-wrapper/index.js
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Menu from "../menu";
import { useMenuTrigger, useMenu, getPosition } from "../../hooks/use-menu";
import Modal from "react-modal";
-import { Box } from "@streetwriters/rebass";
+import { Box } from "@theme-ui/components";
function GlobalMenuWrapper() {
const { isOpen, closeMenu } = useMenuTrigger();
diff --git a/apps/web/src/components/group-header/index.js b/apps/web/src/components/group-header/index.js
index 45d229334..1fbfc08e4 100644
--- a/apps/web/src/components/group-header/index.js
+++ b/apps/web/src/components/group-header/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import * as Icon from "../icons";
import { useEffect, useMemo, useRef, useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import { db } from "../../common/db";
import { useMenuTrigger } from "../../hooks/use-menu";
import { useStore as useNoteStore } from "../../stores/note-store";
@@ -217,8 +218,6 @@ function GroupHeader(props) {
py={1}
pl={1}
pr={0}
- alignItems="center"
- justifyContent="space-between"
bg="bgSecondary"
sx={{
borderRadius: "default",
@@ -227,14 +226,18 @@ function GroupHeader(props) {
":focus": {
border: "1px solid var(--primary)",
outline: "none"
- }
+ },
+ alignItems: "center",
+ justifyContent: "space-between"
}}
tabIndex={0}
>
<Text
variant="subtitle"
- fontSize={"body"}
- color={title === "Conflicted" ? "error" : "primary"}
+ sx={{
+ fontSize: "body",
+ color: title === "Conflicted" ? "error" : "primary"
+ }}
>
{title}
</Text>
@@ -289,12 +292,10 @@ function IconButton(props) {
<Button
variant="secondary"
bg="transparent"
- display="flex"
- alignItems="center"
title={title}
p={"2px"}
mr={[2, 0]}
- sx={{ ":last-of-type": { mr: 0 } }}
+ sx={{ ":last-of-type": { mr: 0 }, alignItems: "center", display: "flex" }}
onClick={(e) => {
e.stopPropagation();
onClick(e);
diff --git a/apps/web/src/components/hash-router/index.js b/apps/web/src/components/hash-router/index.js
index 32473c3bc..2efc47b95 100644
--- a/apps/web/src/components/hash-router/index.js
+++ b/apps/web/src/components/hash-router/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import useHashRoutes from "../../hooks/use-hash-routes";
diff --git a/apps/web/src/components/icon-tag/index.js b/apps/web/src/components/icon-tag/index.js
index 412c82663..ebfd47294 100644
--- a/apps/web/src/components/icon-tag/index.js
+++ b/apps/web/src/components/icon-tag/index.js
@@ -1,28 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
function IconTag({ text, title, icon: Icon, onClick, styles, testId }) {
return (
<Flex
data-test-id={testId}
- flexShrink={0}
onClick={(e) => {
if (onClick) {
e.stopPropagation();
@@ -44,11 +44,12 @@ function IconTag({ text, title, icon: Icon, onClick, styles, testId }) {
mr: 1,
cursor: onClick ? "pointer" : "default",
overflow: "hidden",
- ...styles?.container
+ ...styles?.container,
+ flexShrink: 0,
+ alignItems: "center",
+ justifyContent: "center"
}}
bg="bgSecondary"
- justifyContent="center"
- alignItems="center"
py="2px"
>
<Icon
diff --git a/apps/web/src/components/icons/index.js b/apps/web/src/components/icons/index.js
index 355dd2bd0..43e497258 100644
--- a/apps/web/src/components/icons/index.js
+++ b/apps/web/src/components/icons/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
import MDIIcon from "@mdi/react";
@@ -202,7 +203,6 @@ function createIcon(name, rotate = false) {
const [isHovering, setIsHovering] = useState();
return (
<AnimatedFlex
- flexShrink={0}
id={props.id}
className={props.className}
title={props.title}
@@ -212,9 +212,12 @@ function createIcon(name, rotate = false) {
animate={props.animation}
onClick={props.onClick}
data-test-id={props["data-test-id"]}
- sx={props.sx}
- justifyContent="center"
- alignItems="center"
+ sx={{
+ ...props.sx,
+ justifyContent: "center",
+ alignItems: "center",
+ flexShrink: 0
+ }}
onMouseEnter={() => setIsHovering(true)}
onMouseLeave={() => setIsHovering(false)}
>
diff --git a/apps/web/src/components/icons/resolver.js b/apps/web/src/components/icons/resolver.js
index da83214a7..df0a605a7 100644
--- a/apps/web/src/components/icons/resolver.js
+++ b/apps/web/src/components/icons/resolver.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { toTitleCase, toCamelCase } = require("../../utils/string");
diff --git a/apps/web/src/components/install-notice/index.js b/apps/web/src/components/install-notice/index.js
index 5e1a8d895..36d55f5a5 100644
--- a/apps/web/src/components/install-notice/index.js
+++ b/apps/web/src/components/install-notice/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ReactDOM from "react-dom";
-import { Box, Button, Flex, Text } from "@streetwriters/rebass";
+import { Box, Button, Flex, Text } from "@theme-ui/components";
import Config from "../../utils/config";
import { getDownloadLink, getPlatform } from "../../utils/platform";
import DropdownButton from "../dropdown-button";
@@ -51,7 +52,6 @@ function getOptions(onClose) {
export default function InstallNotice({ onClose }) {
return (
<Flex
- flexDirection={"column"}
sx={{
position: "absolute",
top: ["initial", 2],
@@ -62,7 +62,8 @@ export default function InstallNotice({ onClose }) {
bg: "background",
borderRadius: "default",
border: "1px solid var(--border)",
- width: ["95%", 400]
+ width: ["95%", 400],
+ flexDirection: "column"
}}
p={2}
>
@@ -97,16 +98,16 @@ export default function InstallNotice({ onClose }) {
</Box>
)}
- <Flex mt={[4, 1]} alignItems={"center"}>
+ <Flex mt={[4, 1]} sx={{ alignItems: "center" }}>
<DropdownButton title={"Options"} options={getOptions(onClose)} />
<Button
variant={"secondary"}
ml={1}
- alignSelf={"start"}
onClick={() => {
onClose();
Config.set("installNotice", false);
}}
+ sx={{ alignSelf: "start" }}
>
{`Don't show again`}
</Button>
diff --git a/apps/web/src/components/list-container/index.js b/apps/web/src/components/list-container/index.js
index b04bc5d0b..f0a7f2ac1 100644
--- a/apps/web/src/components/list-container/index.js
+++ b/apps/web/src/components/list-container/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useMemo, useRef, useState } from "react";
-import { Flex, Button } from "@streetwriters/rebass";
+import { Flex, Button } from "@theme-ui/components";
import * as Icon from "../icons";
import { Virtuoso } from "react-virtuoso";
import {
@@ -249,7 +250,7 @@ function ListContainer(props) {
{props.button && (
<Button
variant="primary"
- testId={`${props.type}-action-button`}
+ data-test-id={`${props.type}-action-button`}
onClick={props.button.onClick}
sx={{
position: "absolute",
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.js
index ad9b2257c..4d8e3934f 100644
--- a/apps/web/src/components/list-item/index.js
+++ b/apps/web/src/components/list-item/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Box, Flex, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import {
store as selectionStore,
@@ -132,7 +133,10 @@ function ListItem(props) {
// outline: `1px solid var(--${primary})`,
},
overflow: "hidden",
- maxWidth: "100%"
+ maxWidth: "100%",
+ flexDirection: isCompact ? "row" : "column",
+ justifyContent: isCompact ? "space-between" : "center",
+ alignItems: isCompact ? "center" : undefined
}}
onKeyPress={(e) => {
if (e.key === "Enter") {
@@ -141,9 +145,6 @@ function ListItem(props) {
if (props.onKeyPress) props.onKeyPress(e);
}
}}
- flexDirection={isCompact ? "row" : "column"}
- justifyContent={isCompact ? "space-between" : "center"}
- alignItems={isCompact ? "center" : undefined}
onClick={(e) => {
if (e.shiftKey) {
//ignore (handled by listcontainer)
@@ -164,13 +165,13 @@ function ListItem(props) {
<Text
data-test-id={`${props.item.type}-${props.index}-title`}
variant={"subtitle"}
- fontWeight={isCompact ? "body" : "bold"}
- color={text}
- display={"block"}
sx={{
whiteSpace: "nowrap",
overflow: "hidden",
- textOverflow: "ellipsis"
+ textOverflow: "ellipsis",
+ fontWeight: isCompact ? "body" : "bold",
+ color: text,
+ display: "block"
}}
>
{props.title}
@@ -195,7 +196,11 @@ function ListItem(props) {
</Text>
)}
{props.footer ? (
- <Box flexShrink={0} ml={isCompact ? 1 : 0} mt={isCompact ? 0 : 1}>
+ <Box
+ ml={isCompact ? 1 : 0}
+ mt={isCompact ? 0 : 1}
+ sx={{ flexShrink: 0 }}
+ >
{props.footer}
</Box>
) : null}
diff --git a/apps/web/src/components/loader/index.js b/apps/web/src/components/loader/index.js
index 7577e3638..0ab8819cc 100644
--- a/apps/web/src/components/loader/index.js
+++ b/apps/web/src/components/loader/index.js
@@ -1,32 +1,35 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import { Loading } from "../icons";
export default function Loader({ title, text }) {
return (
<Flex
- flexDirection="column"
- flex={1}
- justifyContent="center"
- alignItems="center"
- sx={{ zIndex: 1 }}
+ sx={{
+ zIndex: 1,
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Loading rotate />
<Text variant="subtitle" mt={4}>
diff --git a/apps/web/src/components/loaders/editor-loader.tsx b/apps/web/src/components/loaders/editor-loader.tsx
index fbc29edb3..87103fc29 100644
--- a/apps/web/src/components/loaders/editor-loader.tsx
+++ b/apps/web/src/components/loaders/editor-loader.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { memo } from "react";
import Skeleton from "react-loading-skeleton";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import "react-loading-skeleton/dist/skeleton.css";
export const EditorLoader = memo(function EditorLoader() {
diff --git a/apps/web/src/components/loaders/list-loader.tsx b/apps/web/src/components/loaders/list-loader.tsx
index 9f15b8808..f0e219bf0 100644
--- a/apps/web/src/components/loaders/list-loader.tsx
+++ b/apps/web/src/components/loaders/list-loader.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { memo } from "react";
import Skeleton from "react-loading-skeleton";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import "react-loading-skeleton/dist/skeleton.css";
import { getRandomArbitrary } from "../../utils/random";
@@ -26,8 +27,10 @@ const Lines = [1, 2, 3, 4].map(() => getRandomArbitrary(40, 90));
export const ListLoader = memo(function ListLoader() {
return (
<>
- <Flex alignItems="center" justifyContent={"center"} sx={{ py: 1, mx: 1 }}>
- <Box height={38}>
+ <Flex
+ sx={{ py: 1, mx: 1, alignItems: "center", justifyContent: "center" }}
+ >
+ <Box sx={{ height: 38 }}>
<Skeleton width={38} height={38} circle baseColor="var(--border)" />
</Box>
<Flex
@@ -38,10 +41,10 @@ export const ListLoader = memo(function ListLoader() {
justifyContent: "center"
}}
>
- <Box height={14}>
+ <Box sx={{ height: 14 }}>
<Skeleton inline height={14} baseColor="var(--border)" />
</Box>
- <Box height={10} sx={{ mt: 1 }}>
+ <Box sx={{ mt: 1, height: 10 }}>
<Skeleton inline height={10} baseColor="var(--border)" />
</Box>
</Flex>
diff --git a/apps/web/src/components/loaders/navigation-loader.tsx b/apps/web/src/components/loaders/navigation-loader.tsx
index b26b67820..9c6fe5a6a 100644
--- a/apps/web/src/components/loaders/navigation-loader.tsx
+++ b/apps/web/src/components/loaders/navigation-loader.tsx
@@ -1,36 +1,37 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { memo } from "react";
import Skeleton from "react-loading-skeleton";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import "react-loading-skeleton/dist/skeleton.css";
export const NavigationLoader = memo(function NavigationLoader() {
return (
<Flex
id="navigationmenu"
- flexDirection="column"
- flex={1}
sx={{
height: "100%",
zIndex: 1,
- position: "relative"
+ position: "relative",
+ flex: 1,
+ flexDirection: "column"
}}
bg={"bgSecondary"}
>
diff --git a/apps/web/src/components/loaders/status-bar-loader.tsx b/apps/web/src/components/loaders/status-bar-loader.tsx
index 0b3301f95..f7f3595f1 100644
--- a/apps/web/src/components/loaders/status-bar-loader.tsx
+++ b/apps/web/src/components/loaders/status-bar-loader.tsx
@@ -1,35 +1,39 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { memo } from "react";
import Skeleton from "react-loading-skeleton";
-import { Box } from "@streetwriters/rebass";
+import { Box } from "@theme-ui/components";
import "react-loading-skeleton/dist/skeleton.css";
export const StatusBarLoader = memo(function StatusBarLoader() {
return (
<Box
bg="bgSecondary"
- display={["none", "flex"]}
- sx={{ borderTop: "1px solid", borderTopColor: "border" }}
- justifyContent="space-between"
+ sx={{
+ borderTop: "1px solid",
+ borderTopColor: "border",
+ justifyContent: "space-between",
+ height: 27,
+ display: ["none", "flex"]
+ }}
px={2}
- height={27}
>
<Skeleton
width={80}
diff --git a/apps/web/src/components/loaders/view-loader.tsx b/apps/web/src/components/loaders/view-loader.tsx
index 5603d5178..bcc3a0175 100644
--- a/apps/web/src/components/loaders/view-loader.tsx
+++ b/apps/web/src/components/loaders/view-loader.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { memo } from "react";
import Skeleton from "react-loading-skeleton";
-import { Box, Flex } from "@streetwriters/rebass";
+import { Box, Flex } from "@theme-ui/components";
import "react-loading-skeleton/dist/skeleton.css";
import { ListLoader } from "./list-loader";
diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.js
index 77fafd1d2..b5e2f10e7 100644
--- a/apps/web/src/components/menu/index.js
+++ b/apps/web/src/components/menu/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useRef, useEffect, useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { getPosition } from "../../hooks/use-menu";
import { FlexScrollContainer } from "../scroll-container";
import MenuItem from "./menu-item";
@@ -218,7 +219,6 @@ function MenuContainer({ title, children }) {
tabIndex={-1}
bg="background"
py={1}
- flexDirection={"column"}
sx={{
position: "relative",
listStyle: "none",
@@ -227,20 +227,21 @@ function MenuContainer({ title, children }) {
borderRadius: "default",
boxShadow: "0px 0px 10px 0px #00000022",
border: "1px solid var(--border)",
- width: 220
+ width: 220,
+ flexDirection: "column"
}}
>
{title && (
<Text
- fontFamily="body"
- fontSize="subtitle"
- color="primary"
py={"8px"}
px={3}
sx={{
borderBottom: "1px solid",
borderBottomColor: "border",
- wordWrap: "break-word"
+ wordWrap: "break-word",
+ fontSize: "subtitle",
+ fontFamily: "body",
+ color: "primary"
}}
>
{title}
diff --git a/apps/web/src/components/menu/menu-item.js b/apps/web/src/components/menu/menu-item.js
index b1183f8c4..4bcdf6dbc 100644
--- a/apps/web/src/components/menu/menu-item.js
+++ b/apps/web/src/components/menu/menu-item.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Check, ChevronRight, Pro } from "../icons";
import { useRef } from "react";
-import { Flex, Box, Text, Button } from "@streetwriters/rebass";
+import { Flex, Box, Text, Button } from "@theme-ui/components";
function MenuItem({ item, isFocused, onMouseEnter, onMouseLeave, onClick }) {
const {
@@ -41,21 +42,18 @@ function MenuItem({ item, isFocused, onMouseEnter, onMouseLeave, onClick }) {
<Box
as="li"
key={key}
- width="95%"
- height="0.5px"
bg="border"
my={2}
- alignSelf="center"
+ sx={{ width: "95%", height: "0.5px", alignSelf: "center" }}
/>
);
return (
<Flex
as="li"
- flexDirection={"column"}
- flex={1}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
+ sx={{ flex: 1, flexDirection: "column" }}
>
<Button
id={key}
@@ -64,14 +62,14 @@ function MenuItem({ item, isFocused, onMouseEnter, onMouseLeave, onClick }) {
ref={itemRef}
tabIndex={-1}
variant="menuitem"
- display="flex"
- alignItems={"center"}
- justifyContent={"space-between"}
title={tooltip}
disabled={isDisabled}
onClick={onClick}
sx={{
- bg: isFocused ? "hover" : "transparent"
+ bg: isFocused ? "hover" : "transparent",
+ alignItems: "center",
+ justifyContent: "space-between",
+ display: "flex"
}}
>
<Flex>
@@ -80,9 +78,11 @@ function MenuItem({ item, isFocused, onMouseEnter, onMouseLeave, onClick }) {
)}
<Text
as="span"
- fontFamily="body"
- fontSize="menu"
- color={color || "text"}
+ sx={{
+ fontSize: "menu",
+ fontFamily: "body",
+ color: color || "text"
+ }}
>
{title}
</Text>
@@ -96,9 +96,11 @@ function MenuItem({ item, isFocused, onMouseEnter, onMouseLeave, onClick }) {
{modifier && (
<Text
as="span"
- fontFamily="body"
- fontSize="menu"
- color="fontTertiary"
+ sx={{
+ fontSize: "menu",
+ fontFamily: "body",
+ color: "fontTertiary"
+ }}
>
{modifier}
</Text>
diff --git a/apps/web/src/components/navigation-menu/index.js b/apps/web/src/components/navigation-menu/index.js
index 75265e240..0b773b8b0 100644
--- a/apps/web/src/components/navigation-menu/index.js
+++ b/apps/web/src/components/navigation-menu/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect } from "react";
-import { Box, Button, Flex } from "@streetwriters/rebass";
+import { Box, Button, Flex } from "@theme-ui/components";
import {
Note,
Notebook,
@@ -117,8 +118,6 @@ function NavigationMenu(props) {
return (
<AnimatedFlex
id="navigationmenu"
- flexDirection="column"
- justifyContent="space-between"
initial={{
opacity: 1
}}
@@ -131,13 +130,15 @@ function NavigationMenu(props) {
zIndex: 1,
height: "auto",
position: "relative",
- flex: 1
+ flex: 1,
+ flexDirection: "column",
+ justifyContent: "space-between"
}}
bg={"bgSecondary"}
px={0}
>
<FlexScrollContainer>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
{routes.map((item) => (
<NavigationItem
isTablet={isTablet}
@@ -183,11 +184,9 @@ function NavigationMenu(props) {
/>
))}
<Box
- width="85%"
- height="0.8px"
bg="border"
- alignSelf="center"
my={1}
+ sx={{ width: "85%", height: "0.8px", alignSelf: "center" }}
/>
{pins.map((pin) => (
<NavigationItem
@@ -229,7 +228,7 @@ function NavigationMenu(props) {
))}
</Flex>
</FlexScrollContainer>
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
{!isLoggedIn && (
<NavigationItem
isTablet={isTablet}
diff --git a/apps/web/src/components/navigation-menu/navigation-item.js b/apps/web/src/components/navigation-menu/navigation-item.js
index 6c1a28485..bc6148075 100644
--- a/apps/web/src/components/navigation-menu/navigation-item.js
+++ b/apps/web/src/components/navigation-menu/navigation-item.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Button, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Button, Flex, Text } from "@theme-ui/components";
import { useStore as useAppStore } from "../../stores/app-store";
import { useMenuTrigger } from "../../hooks/use-menu";
import useMobile from "../../hooks/use-mobile";
@@ -59,7 +60,10 @@ function NavigationItem(props) {
bg={"transparent"}
sx={{
px: 2,
- flex: 1
+ flex: 1,
+ alignItems: "center",
+ justifyContent: isTablet ? "center" : "flex-start",
+ display: "flex"
}}
label={title}
title={title}
@@ -72,9 +76,6 @@ function NavigationItem(props) {
if (isMobile) toggleSideMenu(false);
props.onClick();
}}
- display="flex"
- justifyContent={isTablet ? "center" : "flex-start"}
- alignItems="center"
>
<Icon
size={isTablet ? 18 : 15}
@@ -97,14 +98,14 @@ function NavigationItem(props) {
)}
<Text
- display={isTablet ? "none" : "block"}
variant="body"
- fontSize="subtitle"
sx={{
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
- fontWeight: props.selected ? "bold" : "normal"
+ fontWeight: props.selected ? "bold" : "normal",
+ fontSize: "subtitle",
+ display: isTablet ? "none" : "block"
}}
ml={1}
>
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js
index 61f6dda87..dd3bd522c 100644
--- a/apps/web/src/components/note/index.js
+++ b/apps/web/src/components/note/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useMemo } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import TimeAgo from "../time-ago";
import ListItem from "../list-item";
@@ -110,10 +111,10 @@ function Note(props) {
}
footer={
<Flex
- alignItems="center"
sx={{
fontSize: "subBody",
- color: isOpened ? "bgSecondaryText" : "fontTertiary"
+ color: isOpened ? "bgSecondaryText" : "fontTertiary",
+ alignItems: "center"
}}
>
{isCompact ? (
@@ -188,7 +189,6 @@ function Note(props) {
key={tag.id}
variant="anchor"
mr={1}
- color="fontTertiary"
title={`Go to #${tag.alias}`}
onClick={(e) => {
e.stopPropagation();
@@ -198,7 +198,8 @@ function Note(props) {
sx={{
maxWidth: `calc(100% / ${tags.length})`,
overflow: "hidden",
- textOverflow: "ellipsis"
+ textOverflow: "ellipsis",
+ color: "fontTertiary"
}}
>
#{tag.alias}
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index 3c8cf3008..1b8f658cb 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import ListItem from "../list-item";
import { useStore, store } from "../../stores/notebook-store";
import { store as appStore } from "../../stores/app-store";
@@ -50,7 +51,7 @@ function Notebook(props) {
footer={
isCompact ? (
<>
- <Text fontSize="subBody" color="fontTertiary">
+ <Text sx={{ fontSize: "subBody", color: "fontTertiary" }}>
{pluralize(totalNotes, "note", "notes")}
</Text>
</>
@@ -71,13 +72,16 @@ function Notebook(props) {
</Flex>
)}
<Flex
- sx={{ fontSize: "subBody", color: "fontTertiary" }}
- alignItems="center"
+ sx={{
+ fontSize: "subBody",
+ color: "fontTertiary",
+ alignItems: "center"
+ }}
>
{notebook.pinned && (
<Icon.PinFilled color="primary" size={13} sx={{ mr: 1 }} />
)}
- <Text variant="subBody" color="primary">
+ <Text variant="subBody" sx={{ color: "primary" }}>
Notebook
</Text>
<Text as="span" mx={1}>
diff --git a/apps/web/src/components/placeholders/attachments-placeholder.js b/apps/web/src/components/placeholders/attachments-placeholder.js
index 871b00912..b531a29b8 100644
--- a/apps/web/src/components/placeholders/attachments-placeholder.js
+++ b/apps/web/src/components/placeholders/attachments-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/placeholders/favorites-placeholder.js b/apps/web/src/components/placeholders/favorites-placeholder.js
index 518953d66..28d36ea94 100644
--- a/apps/web/src/components/placeholders/favorites-placeholder.js
+++ b/apps/web/src/components/placeholders/favorites-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/placeholders/index.js b/apps/web/src/components/placeholders/index.js
index 1667c91bb..f9a7c9feb 100644
--- a/apps/web/src/components/placeholders/index.js
+++ b/apps/web/src/components/placeholders/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
const PlaceholderLoader = React.lazy(() => import("./loader"));
function Placeholder(props) {
@@ -27,8 +28,7 @@ function Placeholder(props) {
<>
<Flex
variant="columnCenter"
- alignSelf="stretch"
- sx={{ position: "relative" }}
+ sx={{ position: "relative", alignSelf: "stretch" }}
>
<React.Suspense fallback={<div />}>
<PlaceholderLoader name={id} width={"150px"} height={"150px"} />
@@ -36,17 +36,19 @@ function Placeholder(props) {
<Text
variant="body"
mt={2}
- color="fontTertiary"
- textAlign="center"
mx={4}
+ sx={{ textAlign: "center", color: "fontTertiary" }}
>
{text}
</Text>
{callToAction && (
<Button
mt={1}
- display="flex"
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
variant="tool"
onClick={callToAction.onClick}
>
diff --git a/apps/web/src/components/placeholders/loader.js b/apps/web/src/components/placeholders/loader.js
index 35e4b4611..cc91f2244 100644
--- a/apps/web/src/components/placeholders/loader.js
+++ b/apps/web/src/components/placeholders/loader.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useLayoutEffect } from "react";
import { ReactComponent as Note } from "../../assets/note2.svg";
diff --git a/apps/web/src/components/placeholders/monographs-placeholder.js b/apps/web/src/components/placeholders/monographs-placeholder.js
index babe9996d..6db643c66 100644
--- a/apps/web/src/components/placeholders/monographs-placeholder.js
+++ b/apps/web/src/components/placeholders/monographs-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/placeholders/notebooks-placeholder.js b/apps/web/src/components/placeholders/notebooks-placeholder.js
index 3e735cf49..1a9c16d9a 100644
--- a/apps/web/src/components/placeholders/notebooks-placeholder.js
+++ b/apps/web/src/components/placeholders/notebooks-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
import { Plus } from "../icons";
diff --git a/apps/web/src/components/placeholders/notesplacholder.js b/apps/web/src/components/placeholders/notesplacholder.js
index fc13827b7..9c5d3838c 100644
--- a/apps/web/src/components/placeholders/notesplacholder.js
+++ b/apps/web/src/components/placeholders/notesplacholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
import * as Icon from "../icons";
diff --git a/apps/web/src/components/placeholders/search-placeholder.js b/apps/web/src/components/placeholders/search-placeholder.js
index 4694aa901..6be003742 100644
--- a/apps/web/src/components/placeholders/search-placeholder.js
+++ b/apps/web/src/components/placeholders/search-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/placeholders/tags-placeholder.js b/apps/web/src/components/placeholders/tags-placeholder.js
index 507e69e42..37d249ca0 100644
--- a/apps/web/src/components/placeholders/tags-placeholder.js
+++ b/apps/web/src/components/placeholders/tags-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/placeholders/topics-placeholder.js b/apps/web/src/components/placeholders/topics-placeholder.js
index c1dec02f9..e56a80c72 100644
--- a/apps/web/src/components/placeholders/topics-placeholder.js
+++ b/apps/web/src/components/placeholders/topics-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
import { Plus } from "../icons";
diff --git a/apps/web/src/components/placeholders/trash-placeholder.js b/apps/web/src/components/placeholders/trash-placeholder.js
index bb7f4eb17..76b45e767 100644
--- a/apps/web/src/components/placeholders/trash-placeholder.js
+++ b/apps/web/src/components/placeholders/trash-placeholder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Placeholder from "./index";
diff --git a/apps/web/src/components/progress-bar/index.js b/apps/web/src/components/progress-bar/index.js
index 8104acd16..9f2171f69 100644
--- a/apps/web/src/components/progress-bar/index.js
+++ b/apps/web/src/components/progress-bar/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useAnimation } from "framer-motion";
import { useEffect } from "react";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import { AnimatedBox } from "../animated";
function ProgressBar(props) {
@@ -29,7 +30,7 @@ function ProgressBar(props) {
}, [animation, progress, duration]);
return (
- <Flex overflow="hidden" width={width} sx={sx}>
+ <Flex sx={{ ...sx, width: width, overflow: "hidden" }}>
<AnimatedBox
height={5}
initial={{ width: "0%" }}
diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.js
index 1706a22ea..92879513d 100644
--- a/apps/web/src/components/properties/index.js
+++ b/apps/web/src/components/properties/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useCallback, useEffect, useState } from "react";
import * as Icon from "../icons";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { useStore, store } from "../../stores/editor-store";
import { COLORS } from "../../common/constants";
import { db } from "../../common/db";
@@ -131,9 +132,9 @@ function Properties(props) {
borderLeft: "1px solid",
borderLeftColor: "border",
overflowY: "hidden",
- overflowX: "hidden"
+ overflowX: "hidden",
+ flexDirection: "column"
}}
- flexDirection="column"
bg="background"
// px={2}
>
@@ -165,21 +166,21 @@ function Properties(props) {
{metadataItems.map((item) => (
<Flex
key={item.key}
- alignItems="center"
- justifyContent="space-between"
py={2}
px={2}
sx={{
- borderBottom: "1px solid var(--border)"
+ borderBottom: "1px solid var(--border)",
+ alignItems: "center",
+ justifyContent: "space-between"
}}
>
- <Text variant="body" color="fontTertiary">
+ <Text variant="body" sx={{ color: "fontTertiary" }}>
{item.label}
</Text>
<Text
className="selectable"
variant="body"
- color="fontTertiary"
+ sx={{ color: "fontTertiary" }}
>
{item.value(session[item.key])}
</Text>
@@ -191,19 +192,19 @@ function Properties(props) {
py={2}
px={2}
sx={{
- cursor: "pointer"
+ cursor: "pointer",
+ justifyContent: "center"
}}
- justifyContent="center"
>
{COLORS.map((label) => (
<Flex
key={label}
- justifyContent="space-between"
- alignItems="center"
onClick={() => noteStore.get().setColor(sessionId, label)}
sx={{
cursor: "pointer",
- position: "relative"
+ position: "relative",
+ alignItems: "center",
+ justifyContent: "space-between"
}}
data-test-id={`properties-${label}`}
>
@@ -244,14 +245,17 @@ function Properties(props) {
cursor: "pointer",
":hover": {
bg: "hover"
- }
+ },
+ flexDirection: "column"
}}
- flexDirection="column"
onClick={() => {
navigate(`/notebooks/${notebook.data.id}`);
}}
>
- <Text variant="body" display="flex" alignItems="center">
+ <Text
+ variant="body"
+ sx={{ alignItems: "center", display: "flex" }}
+ >
<Icon.Notebook size={13} sx={{ flexShrink: 0, mr: 1 }} />
{notebook.title}
</Text>
@@ -333,10 +337,10 @@ function Properties(props) {
bg: isSelected ? "bgSecondary" : "transparent",
":hover": {
bg: "hover"
- }
+ },
+ alignItems: "center",
+ justifyContent: "space-between"
}}
- justifyContent={"space-between"}
- alignItems={"center"}
title="Click to preview"
onClick={async () => {
toggleProperties(false);
@@ -389,12 +393,12 @@ export default React.memo(Properties);
function Card({ title, subtitle, button, children }) {
return (
<Flex
- flexDirection="column"
sx={{
- borderRadius: "default"
+ borderRadius: "default",
+ flexDirection: "column"
}}
>
- <Flex mx={2} mt={2} alignItems="center">
+ <Flex mx={2} mt={2} sx={{ alignItems: "center" }}>
{button}
<Text variant="subtitle">{title}</Text>
</Flex>
diff --git a/apps/web/src/components/properties/toggle.js b/apps/web/src/components/properties/toggle.js
index db6846372..d893e74ed 100644
--- a/apps/web/src/components/properties/toggle.js
+++ b/apps/web/src/components/properties/toggle.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import { useStore } from "../../stores/editor-store";
import Switch from "../switch";
@@ -25,18 +26,21 @@ function Toggle(props) {
const isOn = useStore((store) => store.session[toggleKey]);
return (
<Flex
- alignItems="center"
- justifyContent="space-between"
py={2}
px={2}
sx={{
borderBottom: "1px solid var(--border)",
- cursor: "pointer"
+ cursor: "pointer",
+ alignItems: "center",
+ justifyContent: "space-between"
}}
onClick={() => onToggle(!isOn)}
data-test-id={props.testId}
>
- <Text display="flex" alignItems="center" variant="body" color="text">
+ <Text
+ variant="body"
+ sx={{ alignItems: "center", color: "text", display: "flex" }}
+ >
<ToggleIcon size={13} sx={{ flexShrink: 0, mr: 1 }} />
{label}
</Text>
diff --git a/apps/web/src/components/publish-view/index.js b/apps/web/src/components/publish-view/index.js
index c49289ecd..759f5a5bf 100644
--- a/apps/web/src/components/publish-view/index.js
+++ b/apps/web/src/components/publish-view/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useMemo, useState } from "react";
import ReactDOM from "react-dom";
-import { Flex, Text, Button } from "@streetwriters/rebass";
+import { Flex, Text, Button } from "@theme-ui/components";
import * as Icon from "../icons";
import Toggle from "../toggle";
import Field from "../field";
@@ -83,25 +84,31 @@ function PublishView(props) {
borderColor: "border",
borderRadius: "default",
boxShadow: "0px 0px 15px 0px #00000011",
- ...position
+ ...position,
+ flexDirection: "column"
}}
bg="background"
// p={2}
- flexDirection="column"
+
onClick={(e) => {
e.stopPropagation();
}}
>
- <Flex flexDirection={"column"} p={2}>
- <Text variant="body" fontSize="title" fontWeight="bold" color="primary">
+ <Flex p={2} sx={{ flexDirection: "column" }}>
+ <Text
+ variant="body"
+ sx={{ fontSize: "title", fontWeight: "bold", color: "primary" }}
+ >
{noteTitle}
</Text>
{isPublishing ? (
<Flex
- flexDirection="column"
- alignItems="center"
my={50}
- justifyContent="center"
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Text>Please wait...</Text>
{processingStatus && (
@@ -114,8 +121,11 @@ function PublishView(props) {
) : (
<>
{publishId ? (
- <Flex mt={1} flexDirection="column" overflow="hidden">
- <Text variant="body" color="fontTertiary" fontWeight="bold">
+ <Flex mt={1} sx={{ flexDirection: "column", overflow: "hidden" }}>
+ <Text
+ variant="body"
+ sx={{ fontWeight: "bold", color: "fontTertiary" }}
+ >
Published at
</Text>
<Flex
@@ -158,7 +168,7 @@ function PublishView(props) {
</Flex>
) : (
<>
- <Text variant="body" color="fontTertiary">
+ <Text variant="body" sx={{ color: "fontTertiary" }}>
This note will be published to a public URL.
</Text>
</>
@@ -191,19 +201,18 @@ function PublishView(props) {
</Flex>
<Flex
- alignItems="center"
- justifyContent={"end"}
bg="bgSecondary"
p={1}
px={2}
+ sx={{ alignItems: "center", justifyContent: "end" }}
>
<Button
variant="primary"
- color="primary"
- fontWeight="bold"
bg={"transparent"}
sx={{
- ":hover": { bg: "bgSecondary" }
+ ":hover": { bg: "bgSecondary" },
+ fontWeight: "bold",
+ color: "primary"
}}
onClick={async () => {
try {
@@ -238,11 +247,11 @@ function PublishView(props) {
{publishId && (
<Button
variant="primary"
- color="error"
- fontWeight="bold"
bg={"transparent"}
sx={{
- ":hover": { bg: "bgSecondary" }
+ ":hover": { bg: "bgSecondary" },
+ fontWeight: "bold",
+ color: "error"
}}
onClick={async () => {
try {
@@ -269,11 +278,11 @@ function PublishView(props) {
<Button
variant="primary"
data-test-id="dialog-no"
- color="text"
- fontWeight="bold"
bg={"transparent"}
sx={{
- ":hover": { bg: "bgSecondary" }
+ ":hover": { bg: "bgSecondary" },
+ fontWeight: "bold",
+ color: "text"
}}
onClick={() => {
onClose(false);
diff --git a/apps/web/src/components/reminder-bar/index.js b/apps/web/src/components/reminder-bar/index.js
index fd5ee043d..39104d17b 100644
--- a/apps/web/src/components/reminder-bar/index.js
+++ b/apps/web/src/components/reminder-bar/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useMemo } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import { useStore as useAppStore } from "../../stores/app-store";
import { Reminders } from "../../common/reminders";
import * as Icon from "../icons";
@@ -38,27 +39,27 @@ function ReminderBar() {
if (!reminder) return null;
return (
<Flex
- alignItems="center"
sx={{
cursor: "pointer",
borderRadius: "default",
- ":hover": { bg: "hover" }
+ ":hover": { bg: "hover" },
+ alignItems: "center"
}}
p={1}
onClick={reminder?.action}
mx={1}
>
- <Flex alignItems="center" flex={1}>
+ <Flex sx={{ flex: 1, alignItems: "center" }}>
<reminder.icon
size={18}
color="primary"
sx={{ bg: "shade", mr: 2, p: 2, borderRadius: 80 }}
/>
- <Flex variant="columnCenter" alignItems="flex-start">
- <Text variant="body" fontSize={"body"}>
+ <Flex variant="columnCenter" sx={{ alignItems: "flex-start" }}>
+ <Text variant="body" sx={{ fontSize: "body" }}>
{reminder.title}
</Text>
- <Text display={["block", "none", "block"]} variant="subBody">
+ <Text variant="subBody" sx={{ display: ["block", "none", "block"] }}>
{reminder.subtitle}
</Text>
</Flex>
diff --git a/apps/web/src/components/route-container/index.js b/apps/web/src/components/route-container/index.js
index bb8823654..ee81866ac 100644
--- a/apps/web/src/components/route-container/index.js
+++ b/apps/web/src/components/route-container/index.js
@@ -1,29 +1,30 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef, useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import { useStore } from "../../stores/app-store";
import { CREATE_BUTTON_MAP } from "../../common";
import useMobile from "../../hooks/use-mobile";
import { navigate } from "../../navigation";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
function RouteContainer(props) {
const {
@@ -46,7 +47,7 @@ function RouteContainer(props) {
isEditable={isEditable}
onChange={onChange}
/>
- {component || <Flex id={id} flexDirection="column" flex={1} />}
+ {component || <Flex id={id} sx={{ flex: 1, flexDirection: "column" }} />}
</>
);
}
@@ -61,9 +62,9 @@ function Header(props) {
// if (!subtitle) return null;
return (
- <Flex mx={2} flexDirection="column" justifyContent="center">
- <Flex alignItems="center" justifyContent="space-between">
- <Flex justifyContent="center" alignItems="center" py={2}>
+ <Flex mx={2} sx={{ flexDirection: "column", justifyContent: "center" }}>
+ <Flex sx={{ alignItems: "center", justifyContent: "space-between" }}>
+ <Flex py={2} sx={{ alignItems: "center", justifyContent: "center" }}>
{buttons?.back ? (
<Icon.ArrowLeft
size={24}
@@ -95,7 +96,7 @@ function Header(props) {
/>
)}
</Flex>
- <Flex flexShrink={0}>
+ <Flex sx={{ flexShrink: 0 }}>
{buttons?.search && (
<Icon.Search
size={24}
@@ -134,13 +135,12 @@ function RouteTitle({ title, subtitle, isEditable, onChange }) {
}, [title]);
return (
- <Flex flexDirection="column">
+ <Flex sx={{ flexDirection: "column" }}>
{subtitle && <Text variant="subBody">{subtitle}</Text>}
<Input
ref={ref}
variant="clean"
data-test-id="routeHeader"
- color={"text"}
title={title}
sx={{
overflow: "hidden",
@@ -155,7 +155,8 @@ function RouteTitle({ title, subtitle, isEditable, onChange }) {
border: "none",
bg: isEditing ? "bgSecondary" : "transparent",
- ":focus-visible": { outline: "none" }
+ ":focus-visible": { outline: "none" },
+ color: "text"
}}
onDoubleClick={(e) => {
setIsEditing(isEditable && true);
diff --git a/apps/web/src/components/scroll-container/index.js b/apps/web/src/components/scroll-container/index.js
index 88cd010d0..61ec1d84c 100644
--- a/apps/web/src/components/scroll-container/index.js
+++ b/apps/web/src/components/scroll-container/index.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useRef } from "react";
-import { Box } from "@streetwriters/rebass";
+import { Box } from "@theme-ui/components";
import { Scrollbars } from "rc-scrollbars";
const ScrollContainer = ({ children, style, forwardedRef, ...props }) => {
diff --git a/apps/web/src/components/search/index.js b/apps/web/src/components/search/index.js
index 5b0924e8b..de88a6f92 100644
--- a/apps/web/src/components/search/index.js
+++ b/apps/web/src/components/search/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import * as Icon from "../icons";
import "./search.css";
diff --git a/apps/web/src/components/status-bar/index.js b/apps/web/src/components/status-bar/index.js
index da68394e4..c856833c6 100644
--- a/apps/web/src/components/status-bar/index.js
+++ b/apps/web/src/components/status-bar/index.js
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Button, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Button, Flex, Text } from "@theme-ui/components";
import EditorFooter from "../editor/footer";
import {
Circle,
@@ -51,9 +52,12 @@ function StatusBar() {
return (
<Box
bg="bgSecondary"
- display={["none", "flex"]}
- sx={{ borderTop: "1px solid", borderTopColor: "border" }}
- justifyContent="space-between"
+ sx={{
+ borderTop: "1px solid",
+ borderTopColor: "border",
+ justifyContent: "space-between",
+ display: ["none", "flex"]
+ }}
px={2}
>
<Flex>
@@ -66,8 +70,11 @@ function StatusBar() {
: hashNavigate("/email/verify")
}
variant="statusitem"
- display="flex"
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
>
<Circle
size={7}
@@ -76,8 +83,8 @@ function StatusBar() {
<Text
className="selectable"
variant="subBody"
- color="bgSecondaryText"
ml={1}
+ sx={{ color: "bgSecondaryText" }}
>
{user.email}
{user.isEmailConfirmed ? "" : " (not verified)"}
@@ -89,34 +96,44 @@ function StatusBar() {
) : (
<Button
variant="statusitem"
- display="flex"
onClick={() => hardNavigate("/login")}
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
>
<Circle size={7} color="error" />
- <Text variant="subBody" color="bgSecondaryText" ml={1}>
+ <Text variant="subBody" ml={1} sx={{ color: "bgSecondaryText" }}>
Not logged in
</Text>
</Button>
)}
<Button
variant="statusitem"
- display="flex"
onClick={() => showIssueDialog()}
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
title="Facing an issue? Click here to create a bug report."
>
<Issue size={12} />
- <Text variant="subBody" color="bgSecondaryText" ml={1}>
+ <Text variant="subBody" ml={1} sx={{ color: "bgSecondaryText" }}>
Report an issue
</Text>
</Button>
{statuses?.map(({ key, status, progress, icon }) => {
const Icon = getIconFromAlias(icon);
return (
- <Flex key={key} ml={1} alignItems="center" justifyContent="center">
+ <Flex
+ key={key}
+ ml={1}
+ sx={{ alignItems: "center", justifyContent: "center" }}
+ >
{Icon ? <Icon size={12} /> : <Loading size={12} />}
- <Text variant="subBody" color="bgSecondaryText" ml={1}>
+ <Text variant="subBody" ml={1} sx={{ color: "bgSecondaryText" }}>
{progress ? `${progress}% ${status}` : status}
</Text>
</Flex>
@@ -126,7 +143,6 @@ function StatusBar() {
{updateStatus && (
<Button
variant="statusitem"
- display="flex"
onClick={async () => {
if (updateStatus.type === "available") {
await showUpdateAvailableNotice(updateStatus);
@@ -136,7 +152,11 @@ function StatusBar() {
checkForUpdate();
}
}}
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ display: "flex"
+ }}
>
<Update
rotate={
@@ -151,7 +171,7 @@ function StatusBar() {
}
size={12}
/>
- <Text variant="subBody" color="bgSecondaryText" ml={1}>
+ <Text variant="subBody" ml={1} sx={{ color: "bgSecondaryText" }}>
{statusToInfoText(updateStatus)}
</Text>
</Button>
@@ -192,9 +212,8 @@ function SyncStatus() {
return (
<Button
variant="statusitem"
- display="flex"
onClick={() => sync()}
- sx={{ alignItems: "center", justifyContent: "center" }}
+ sx={{ alignItems: "center", justifyContent: "center", display: "flex" }}
title={status.tooltip}
data-test-id={`sync-status-${status.key}`}
>
diff --git a/apps/web/src/components/switch/index.js b/apps/web/src/components/switch/index.js
index 3fc4e243d..790205cee 100644
--- a/apps/web/src/components/switch/index.js
+++ b/apps/web/src/components/switch/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ReactToggle from "react-toggle";
import "react-toggle/style.css";
diff --git a/apps/web/src/components/tag/index.js b/apps/web/src/components/tag/index.js
index 96e50d4c7..2a768509b 100644
--- a/apps/web/src/components/tag/index.js
+++ b/apps/web/src/components/tag/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ListItem from "../list-item";
import { hashNavigate, navigate } from "../../navigation";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import { store as appStore } from "../../stores/app-store";
import { store as tagStore } from "../../stores/tag-store";
import { store as editorStore } from "../../stores/editor-store";
@@ -86,7 +87,7 @@ export default Tag;
function TagNode({ title }) {
return (
<Text as="span" variant="title">
- <Text as="span" color="primary">
+ <Text as="span" sx={{ color: "primary" }}>
{"#"}
</Text>
{title}
diff --git a/apps/web/src/components/theme-provider/index.js b/apps/web/src/components/theme-provider/index.js
index 5da25070a..f307e89ff 100644
--- a/apps/web/src/components/theme-provider/index.js
+++ b/apps/web/src/components/theme-provider/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useStore } from "../../stores/theme-store";
import { ThemeProvider as EmotionThemeProvider } from "@emotion/react";
diff --git a/apps/web/src/components/time-ago/index.js b/apps/web/src/components/time-ago/index.js
index 29779365d..ce0545c2b 100644
--- a/apps/web/src/components/time-ago/index.js
+++ b/apps/web/src/components/time-ago/index.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { formatDate } from "@notesnook/core/utils/date";
import React, { useEffect, useRef } from "react";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import { register, format, cancel, render } from "timeago.js";
const shortLocale = [
diff --git a/apps/web/src/components/tip/index.js b/apps/web/src/components/tip/index.js
index 5f3d57fe2..d5cd91ee6 100644
--- a/apps/web/src/components/tip/index.js
+++ b/apps/web/src/components/tip/index.js
@@ -1,31 +1,35 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text } from "@theme-ui/components";
function TextWithTip({ text, tip, sx, color }) {
return (
- <Text color={color || "text"} fontSize="body" sx={sx}>
+ <Text sx={{ ...sx, fontSize: "body", color: color || "text" }}>
{text}
<Text
- color={"fontTertiary"}
- fontSize="subBody"
- sx={{ wordBreak: "break-word", whiteSpace: "pre-wrap" }}
+ sx={{
+ wordBreak: "break-word",
+ whiteSpace: "pre-wrap",
+ fontSize: "subBody",
+ color: "fontTertiary"
+ }}
>
{tip}
</Text>
diff --git a/apps/web/src/components/toggle/index.js b/apps/web/src/components/toggle/index.js
index 510eb3169..719dcf215 100644
--- a/apps/web/src/components/toggle/index.js
+++ b/apps/web/src/components/toggle/index.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback } from "react";
import { showBuyDialog } from "../../common/dialog-controller";
import Tip from "../tip";
import { isUserPremium } from "../../hooks/use-is-user-premium";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import Switch from "../switch";
function Toggle(props) {
@@ -35,15 +36,15 @@ function Toggle(props) {
if (onlyIf === false) return null;
return (
<Flex
- justifyContent="space-between"
- alignItems="center"
onClick={onClick}
py={2}
sx={{
cursor: "pointer",
borderBottom: "1px solid",
borderBottomColor: "border",
- ":hover": { borderBottomColor: "primary" }
+ ":hover": { borderBottomColor: "primary" },
+ alignItems: "center",
+ justifyContent: "space-between"
}}
>
<Tip text={title} tip={isToggled ? onTip : offTip} sx={{ mr: 2 }} />
diff --git a/apps/web/src/components/topic/index.js b/apps/web/src/components/topic/index.js
index d5413527a..322aa89bb 100644
--- a/apps/web/src/components/topic/index.js
+++ b/apps/web/src/components/topic/index.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import ListItem from "../list-item";
import { db } from "../../common/db";
import { store as appStore } from "../../stores/app-store";
import { hashNavigate } from "../../navigation";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import * as Icon from "../icons";
import { Multiselect } from "../../common/multi-select";
import { pluralize } from "../../utils/string";
@@ -36,10 +37,13 @@ function Topic({ item, index, onClick }) {
title={topic.title}
footer={
<Flex
- sx={{ fontSize: "subBody", color: "fontTertiary" }}
- alignItems="center"
+ sx={{
+ fontSize: "subBody",
+ color: "fontTertiary",
+ alignItems: "center"
+ }}
>
- <Text variant="subBody" color="primary">
+ <Text variant="subBody" sx={{ color: "primary" }}>
Topic
</Text>
<Text as="span" mx={1}>
diff --git a/apps/web/src/components/trash-item/index.js b/apps/web/src/components/trash-item/index.js
index a66b0299e..1ba392fa5 100644
--- a/apps/web/src/components/trash-item/index.js
+++ b/apps/web/src/components/trash-item/index.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ListItem from "../list-item";
import { showMultiPermanentDeleteConfirmation } from "../../common/dialog-controller";
import * as Icon from "../icons";
import { store } from "../../stores/trash-store";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import TimeAgo from "../time-ago";
import { toTitleCase } from "../../utils/string";
import { showUndoableToast } from "../../common/toasts";
@@ -40,7 +41,7 @@ function TrashItem({ item, index, date }) {
<Text as="span" mx={1}>
•
</Text>
- <Text color="primary">{toTitleCase(item.itemType)}</Text>
+ <Text sx={{ color: "primary" }}>{toTitleCase(item.itemType)}</Text>
</Flex>
}
menu={{ items: menuItems, extraData: { item } }}
diff --git a/apps/web/src/components/unlock/index.js b/apps/web/src/components/unlock/index.js
index bcea2bf06..58d2e225b 100644
--- a/apps/web/src/components/unlock/index.js
+++ b/apps/web/src/components/unlock/index.js
@@ -1,29 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import {
- useRef,
- useState,
- useCallback,
- useEffect,
- useMemo
-} from "react";
-import { Flex, Text, Button } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { useRef, useState, useCallback, useEffect, useMemo } from "react";
+import { Flex, Text, Button } from "@theme-ui/components";
import * as Icon from "../icons";
import { db } from "../../common/db";
import { useStore as useEditorStore } from "../../stores/editor-store";
@@ -70,34 +65,36 @@ function Unlock(props) {
return (
<Flex
- flex="1"
- flexDirection="column"
- justifyContent="center"
- alignItems="center"
mx={2}
+ sx={{
+ flex: "1",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Flex
- justifyContent="center"
- alignItems="center"
- flexDirection={"column"}
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Icon.Lock size={100} sx={{ opacity: 0.2 }} />
<Text
data-test-id="unlock-note-title"
variant="heading"
- fontSize={36}
mx={100}
mt={25}
- textAlign="center"
+ sx={{ fontSize: 36, textAlign: "center" }}
>
{note?.title || "Open note"}
</Text>
</Flex>
<Text
variant="subheading"
- color="fontTertiary"
mt={20}
- textAlign="center"
+ sx={{ textAlign: "center", color: "fontTertiary" }}
>
Please enter the password to unlock this note
</Text>
@@ -119,14 +116,16 @@ function Unlock(props) {
/>
{isWrong && (
<Flex
- alignItems="center"
- justifyContent="center"
- alignSelf="flex-center"
- color="error"
mt={2}
+ sx={{
+ alignItems: "center",
+ justifyContent: "center",
+ color: "error",
+ alignSelf: "flex-center"
+ }}
>
<Icon.Alert color="error" size={12} />
- <Text ml={1} fontSize={"body"}>
+ <Text ml={1} sx={{ fontSize: "body" }}>
Wrong password
</Text>
</Flex>
diff --git a/apps/web/src/hooks/use-announcements.js b/apps/web/src/hooks/use-announcements.js
index 939b96324..5190276e8 100644
--- a/apps/web/src/hooks/use-announcements.js
+++ b/apps/web/src/hooks/use-announcements.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useState } from "react";
import { SUBSCRIPTION_STATUS } from "../common/constants";
diff --git a/apps/web/src/hooks/use-auto-updater.js b/apps/web/src/hooks/use-auto-updater.js
index 40cf3afd3..5b2834cfc 100644
--- a/apps/web/src/hooks/use-auto-updater.js
+++ b/apps/web/src/hooks/use-auto-updater.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { AppEventManager } from "../common/app-events";
diff --git a/apps/web/src/hooks/use-database.js b/apps/web/src/hooks/use-database.js
index 677677cf7..fefbd2100 100644
--- a/apps/web/src/hooks/use-database.js
+++ b/apps/web/src/hooks/use-database.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import { initializeDatabase } from "../common/db";
diff --git a/apps/web/src/hooks/use-hash-location.ts b/apps/web/src/hooks/use-hash-location.ts
index 1fd119ada..a5dbe8cb7 100644
--- a/apps/web/src/hooks/use-hash-location.ts
+++ b/apps/web/src/hooks/use-hash-location.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState, useEffect } from "react";
import { hashNavigate } from "../navigation";
diff --git a/apps/web/src/hooks/use-hash-routes.js b/apps/web/src/hooks/use-hash-routes.js
index 13c18f6df..366994b6e 100644
--- a/apps/web/src/hooks/use-hash-routes.js
+++ b/apps/web/src/hooks/use-hash-routes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import makeMatcher from "wouter/matcher";
import useHashLocation from "./use-hash-location";
diff --git a/apps/web/src/hooks/use-is-user-premium.js b/apps/web/src/hooks/use-is-user-premium.js
index 684d143ec..6f63733e1 100644
--- a/apps/web/src/hooks/use-is-user-premium.js
+++ b/apps/web/src/hooks/use-is-user-premium.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { SUBSCRIPTION_STATUS } from "../common/constants";
import {
diff --git a/apps/web/src/hooks/use-location.js b/apps/web/src/hooks/use-location.js
index d5a716189..ffeb724d6 100644
--- a/apps/web/src/hooks/use-location.js
+++ b/apps/web/src/hooks/use-location.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { useState, useEffect } = require("react");
const { getCurrentPath, NavigationEvents } = require("../navigation");
diff --git a/apps/web/src/hooks/use-media-query.js b/apps/web/src/hooks/use-media-query.js
index eaa4a1814..5b00a374b 100644
--- a/apps/web/src/hooks/use-media-query.js
+++ b/apps/web/src/hooks/use-media-query.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/* eslint-disable react-hooks/rules-of-hooks */
import { useState, useEffect } from "react";
diff --git a/apps/web/src/hooks/use-menu.js b/apps/web/src/hooks/use-menu.js
index 09b4d5bb4..7b3d3bbba 100644
--- a/apps/web/src/hooks/use-menu.js
+++ b/apps/web/src/hooks/use-menu.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create from "zustand";
import shallow from "zustand/shallow";
diff --git a/apps/web/src/hooks/use-mobile.js b/apps/web/src/hooks/use-mobile.js
index 61d65a51f..c3e1a1af9 100644
--- a/apps/web/src/hooks/use-mobile.js
+++ b/apps/web/src/hooks/use-mobile.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import useMediaQuery from "./use-media-query";
diff --git a/apps/web/src/hooks/use-navigate.js b/apps/web/src/hooks/use-navigate.js
index 357fd2d7d..3ed3bbc9b 100644
--- a/apps/web/src/hooks/use-navigate.js
+++ b/apps/web/src/hooks/use-navigate.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const { useEffect } = require("react");
const { NavigationEvents } = require("../navigation");
diff --git a/apps/web/src/hooks/use-persistent-state.ts b/apps/web/src/hooks/use-persistent-state.ts
index cbc9eadf9..7f332e430 100644
--- a/apps/web/src/hooks/use-persistent-state.ts
+++ b/apps/web/src/hooks/use-persistent-state.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import config from "../utils/config";
diff --git a/apps/web/src/hooks/use-routes.js b/apps/web/src/hooks/use-routes.js
index 1fbccd288..7f9486e52 100644
--- a/apps/web/src/hooks/use-routes.js
+++ b/apps/web/src/hooks/use-routes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useLocation } from "wouter";
import makeMatcher from "wouter/matcher";
diff --git a/apps/web/src/hooks/use-session-state.ts b/apps/web/src/hooks/use-session-state.ts
index e295269ce..b87cfcaeb 100644
--- a/apps/web/src/hooks/use-session-state.ts
+++ b/apps/web/src/hooks/use-session-state.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
diff --git a/apps/web/src/hooks/use-slider.js b/apps/web/src/hooks/use-slider.js
index 145892ab8..fe36f4155 100644
--- a/apps/web/src/hooks/use-slider.js
+++ b/apps/web/src/hooks/use-slider.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useRef } from "react";
diff --git a/apps/web/src/hooks/use-status.ts b/apps/web/src/hooks/use-status.ts
index 619be1cb6..c934b34d1 100644
--- a/apps/web/src/hooks/use-status.ts
+++ b/apps/web/src/hooks/use-status.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create from "zustand";
import produce from "immer";
diff --git a/apps/web/src/hooks/use-system-theme.js b/apps/web/src/hooks/use-system-theme.js
index 13f0658ea..07619552d 100644
--- a/apps/web/src/hooks/use-system-theme.js
+++ b/apps/web/src/hooks/use-system-theme.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EVENTS } from "@notesnook/desktop/events";
import { useEffect, useState } from "react";
diff --git a/apps/web/src/hooks/use-tablet.js b/apps/web/src/hooks/use-tablet.js
index 5f8da7241..2457f1c10 100644
--- a/apps/web/src/hooks/use-tablet.js
+++ b/apps/web/src/hooks/use-tablet.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import useMediaQuery from "./use-media-query";
diff --git a/apps/web/src/hooks/use-timer.ts b/apps/web/src/hooks/use-timer.ts
index 23f6789ce..e5748946b 100644
--- a/apps/web/src/hooks/use-timer.ts
+++ b/apps/web/src/hooks/use-timer.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef } from "react";
import { useSessionState } from "./use-session-state";
@@ -22,7 +23,7 @@ import { useSessionState } from "./use-session-state";
export function useTimer(id: string, duration: number) {
const [seconds, setSeconds] = useSessionState(id, duration);
const [enabled, setEnabled] = useSessionState(`${id}.canSendAgain`, true);
- const interval = useRef<NodeJS.Timeout>();
+ const interval = useRef<number>();
useEffect(() => {
if (!enabled) {
@@ -36,7 +37,7 @@ export function useTimer(id: string, duration: number) {
}
return seconds;
});
- }, 1000);
+ }, 1000) as unknown as number;
}
return () => {
if (interval.current) clearInterval(interval.current);
diff --git a/apps/web/src/hooks/use-zoom-factor.js b/apps/web/src/hooks/use-zoom-factor.js
index 2704a122f..b493b263f 100644
--- a/apps/web/src/hooks/use-zoom-factor.js
+++ b/apps/web/src/hooks/use-zoom-factor.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useState } from "react";
import setZoomFactor from "../commands/set-zoom-factor";
diff --git a/apps/web/src/index.tsx b/apps/web/src/index.tsx
index 10c06502e..4a25ce02f 100644
--- a/apps/web/src/index.tsx
+++ b/apps/web/src/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "@notesnook/core/types";
import { EVENTS } from "@notesnook/desktop/events";
diff --git a/apps/web/src/interfaces/fs.js b/apps/web/src/interfaces/fs.js
index b404c3478..75f1f3372 100644
--- a/apps/web/src/interfaces/fs.js
+++ b/apps/web/src/interfaces/fs.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "web-streams-polyfill/dist/ponyfill";
import localforage from "localforage";
@@ -489,7 +490,6 @@ class ChunkDistributor {
/**
* @typedef {{length: number, data: Uint8Array, final: boolean}} Chunk
*/
-
constructor(chunkSize) {
this.chunkSize = chunkSize;
this.chunks = [];
diff --git a/apps/web/src/interfaces/nncrypto.stub.ts b/apps/web/src/interfaces/nncrypto.stub.ts
index a011818f8..e80d28660 100644
--- a/apps/web/src/interfaces/nncrypto.stub.ts
+++ b/apps/web/src/interfaces/nncrypto.stub.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { INNCrypto } from "@notesnook/crypto/dist/src/interfaces";
import "worker-loader?filename=static/workers/nncrypto.worker.js!@notesnook/crypto-worker/dist/src/worker.js";
diff --git a/apps/web/src/interfaces/storage.ts b/apps/web/src/interfaces/storage.ts
index 898a31e58..a64a27c34 100644
--- a/apps/web/src/interfaces/storage.ts
+++ b/apps/web/src/interfaces/storage.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import localforage from "localforage";
import { extendPrototype } from "localforage-getitems";
diff --git a/apps/web/src/navigation/hash-routes.js b/apps/web/src/navigation/hash-routes.js
index 9b6c2f43a..a56cf707b 100644
--- a/apps/web/src/navigation/hash-routes.js
+++ b/apps/web/src/navigation/hash-routes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Vault from "../common/vault";
import {
diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.js
index 21034ed1c..5f05ef37b 100644
--- a/apps/web/src/navigation/index.js
+++ b/apps/web/src/navigation/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
import EventManager from "@notesnook/core/utils/event-manager";
diff --git a/apps/web/src/navigation/routes.js b/apps/web/src/navigation/routes.js
index b0a59ce1d..b60f74bbe 100644
--- a/apps/web/src/navigation/routes.js
+++ b/apps/web/src/navigation/routes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/db";
import Home from "../views/home";
diff --git a/apps/web/src/re-exports/react-qrcode-logo.js b/apps/web/src/re-exports/react-qrcode-logo.js
index 46d4dcab6..c87118d95 100644
--- a/apps/web/src/re-exports/react-qrcode-logo.js
+++ b/apps/web/src/re-exports/react-qrcode-logo.js
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export { QRCode as default } from "react-qrcode-logo";
diff --git a/apps/web/src/react-app-env.d.ts b/apps/web/src/react-app-env.d.ts
index e96c95578..ab9a352b2 100644
--- a/apps/web/src/react-app-env.d.ts
+++ b/apps/web/src/react-app-env.d.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/// <reference types="react-scripts" />
diff --git a/apps/web/src/service-worker-registration.js b/apps/web/src/service-worker-registration.js
index 8f1546a68..b3fa5a75a 100644
--- a/apps/web/src/service-worker-registration.js
+++ b/apps/web/src/service-worker-registration.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// This optional code is used to register a service worker.
// register() is not called by default.
diff --git a/apps/web/src/service-worker.js b/apps/web/src/service-worker.js
index de5938a21..841b36c41 100644
--- a/apps/web/src/service-worker.js
+++ b/apps/web/src/service-worker.js
@@ -1,23 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-/* eslint-disable no-restricted-globals */
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/* eslint-disable no-restricted-globals */
// This service worker can be customized!
// See https://developers.google.com/web/tools/workbox/modules
// for the list of available Workbox modules, or add any other
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js
index ebe2cf612..7323f9827 100644
--- a/apps/web/src/stores/app-store.js
+++ b/apps/web/src/stores/app-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/stores/attachment-store.js b/apps/web/src/stores/attachment-store.js
index 0cc70541f..eecb2c585 100644
--- a/apps/web/src/stores/attachment-store.js
+++ b/apps/web/src/stores/attachment-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.js
index bfa2cae13..ede13caa9 100644
--- a/apps/web/src/stores/editor-store.js
+++ b/apps/web/src/stores/editor-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { store as noteStore } from "./note-store";
diff --git a/apps/web/src/stores/index.js b/apps/web/src/stores/index.js
index 743f30725..e2b3df68f 100644
--- a/apps/web/src/stores/index.js
+++ b/apps/web/src/stores/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
class BaseStore {
static new(set, get) {
diff --git a/apps/web/src/stores/monograph-store.js b/apps/web/src/stores/monograph-store.js
index 474f49acf..aa3081176 100644
--- a/apps/web/src/stores/monograph-store.js
+++ b/apps/web/src/stores/monograph-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/stores/note-store.js b/apps/web/src/stores/note-store.js
index 3af3952ff..011b50e2d 100644
--- a/apps/web/src/stores/note-store.js
+++ b/apps/web/src/stores/note-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/db";
import createStore from "../common/store";
diff --git a/apps/web/src/stores/notebook-store.js b/apps/web/src/stores/notebook-store.js
index 90500585f..f043c9cd0 100644
--- a/apps/web/src/stores/notebook-store.js
+++ b/apps/web/src/stores/notebook-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/db";
import createStore from "../common/store";
diff --git a/apps/web/src/stores/search-store.js b/apps/web/src/stores/search-store.js
index 037bc90ab..1790f1432 100644
--- a/apps/web/src/stores/search-store.js
+++ b/apps/web/src/stores/search-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/stores/selection-store.js b/apps/web/src/stores/selection-store.js
index 1fd2e0983..55d9abcc1 100644
--- a/apps/web/src/stores/selection-store.js
+++ b/apps/web/src/stores/selection-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import BaseStore from "./index";
diff --git a/apps/web/src/stores/setting-store.js b/apps/web/src/stores/setting-store.js
index e5c289636..14e726d56 100644
--- a/apps/web/src/stores/setting-store.js
+++ b/apps/web/src/stores/setting-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import Config from "../utils/config";
diff --git a/apps/web/src/stores/tag-store.js b/apps/web/src/stores/tag-store.js
index 9e581fabf..74a59d27e 100644
--- a/apps/web/src/stores/tag-store.js
+++ b/apps/web/src/stores/tag-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/stores/theme-store.js b/apps/web/src/stores/theme-store.js
index 79a6ffea2..6e9b2b9aa 100644
--- a/apps/web/src/stores/theme-store.js
+++ b/apps/web/src/stores/theme-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import BaseStore from "./index";
diff --git a/apps/web/src/stores/trash-store.js b/apps/web/src/stores/trash-store.js
index b9174ac0b..95d3eaa07 100644
--- a/apps/web/src/stores/trash-store.js
+++ b/apps/web/src/stores/trash-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { db } from "../common/db";
import createStore from "../common/store";
diff --git a/apps/web/src/stores/user-store.js b/apps/web/src/stores/user-store.js
index 5c9bba270..9c0cf6e6a 100644
--- a/apps/web/src/stores/user-store.js
+++ b/apps/web/src/stores/user-store.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import createStore from "../common/store";
import { db } from "../common/db";
diff --git a/apps/web/src/utils/analytics.ts b/apps/web/src/utils/analytics.ts
index 9da0b3b41..baec620bb 100644
--- a/apps/web/src/utils/analytics.ts
+++ b/apps/web/src/utils/analytics.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Config from "./config";
import { getPlatform } from "./platform";
diff --git a/apps/web/src/utils/color.js b/apps/web/src/utils/color.js
index fec1631b0..0fd722297 100644
--- a/apps/web/src/utils/color.js
+++ b/apps/web/src/utils/color.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function hexToRGB(hex, alpha = 1) {
let parseString = hex;
diff --git a/apps/web/src/utils/config.ts b/apps/web/src/utils/config.ts
index ef8f8ccc6..85bb8865c 100644
--- a/apps/web/src/utils/config.ts
+++ b/apps/web/src/utils/config.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { tryParse } from "./parse";
diff --git a/apps/web/src/utils/css.js b/apps/web/src/utils/css.js
index d50d4eea5..7398f0f6c 100644
--- a/apps/web/src/utils/css.js
+++ b/apps/web/src/utils/css.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function removeCss(id) {
var link = document.getElementById(id);
diff --git a/apps/web/src/utils/debounce.ts b/apps/web/src/utils/debounce.ts
index 687ab6a04..4bbe7a431 100644
--- a/apps/web/src/utils/debounce.ts
+++ b/apps/web/src/utils/debounce.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function debounce<F extends (...args: never[]) => void>(
func: F,
diff --git a/apps/web/src/utils/dimensions.js b/apps/web/src/utils/dimensions.js
index 6d31b0c27..148157fa8 100644
--- a/apps/web/src/utils/dimensions.js
+++ b/apps/web/src/utils/dimensions.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function isMobile() {
var match = window.matchMedia || window.msMatchMedia;
diff --git a/apps/web/src/utils/filename.js b/apps/web/src/utils/filename.js
index 7f1cb5b4a..8cd8cbb30 100644
--- a/apps/web/src/utils/filename.js
+++ b/apps/web/src/utils/filename.js
@@ -1,23 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-/*jshint node:true*/
+Copyright (C) 2022 Streetwriters (Private) Limited
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/*jshint node:true*/
/**
* Replaces characters in strings that are illegal/unsafe for filenames.
* Unsafe characters are either removed or replaced by a substitute set
@@ -44,7 +44,6 @@
* @param {Object} options {replacement: String | Function }
* @return {String} Sanitized filename
*/
-
var illegalRe = /[/?<>\\:*|"]/g;
//var controlRe = /[x00-x1f\x80-\x9f]/g;
var reservedRe = /^\.+$/;
diff --git a/apps/web/src/utils/importer.js b/apps/web/src/utils/importer.js
index af4838622..17d8b84d2 100644
--- a/apps/web/src/utils/importer.js
+++ b/apps/web/src/utils/importer.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { unzipSync } from "fflate";
import { db } from "../common/db";
diff --git a/apps/web/src/utils/keyboard.js b/apps/web/src/utils/keyboard.js
index eed91845e..a8320b45c 100644
--- a/apps/web/src/utils/keyboard.js
+++ b/apps/web/src/utils/keyboard.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import EventManager from "@notesnook/core/utils/event-manager";
diff --git a/apps/web/src/utils/logger.ts b/apps/web/src/utils/logger.ts
index 68e04b512..49f4cc130 100644
--- a/apps/web/src/utils/logger.ts
+++ b/apps/web/src/utils/logger.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
initalize,
diff --git a/apps/web/src/utils/object.js b/apps/web/src/utils/object.js
index b8fa3deb2..a95e743a6 100644
--- a/apps/web/src/utils/object.js
+++ b/apps/web/src/utils/object.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function objectMap(obj, fn) {
return Object.entries(obj).map(([k, v], i) => fn(k, v, i));
diff --git a/apps/web/src/utils/page-visibility.js b/apps/web/src/utils/page-visibility.js
index ae324efaf..546994543 100644
--- a/apps/web/src/utils/page-visibility.js
+++ b/apps/web/src/utils/page-visibility.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
var hidden, visibilityChange;
if (typeof document.hidden !== "undefined") {
diff --git a/apps/web/src/utils/parse.js b/apps/web/src/utils/parse.js
index 488a83066..20911bfd1 100644
--- a/apps/web/src/utils/parse.js
+++ b/apps/web/src/utils/parse.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function tryParse(val) {
if (val === "undefined" || val === "null") return;
diff --git a/apps/web/src/utils/platform.js b/apps/web/src/utils/platform.js
index 7393f2129..fef59f947 100644
--- a/apps/web/src/utils/platform.js
+++ b/apps/web/src/utils/platform.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function getPlatform() {
var userAgent = window.navigator.userAgent,
diff --git a/apps/web/src/utils/random.js b/apps/web/src/utils/random.js
index d57a38686..7f6c90fa9 100644
--- a/apps/web/src/utils/random.js
+++ b/apps/web/src/utils/random.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function getRandom(min, max) {
return Math.round(Math.random() * (max - min) + min);
diff --git a/apps/web/src/utils/string.js b/apps/web/src/utils/string.js
index dbeb77e51..d57eed72a 100644
--- a/apps/web/src/utils/string.js
+++ b/apps/web/src/utils/string.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function toTitleCase(str) {
if (!str || !str[0]) {
diff --git a/apps/web/src/utils/toast.tsx b/apps/web/src/utils/toast.tsx
index 73e648b43..6a33eafcc 100644
--- a/apps/web/src/utils/toast.tsx
+++ b/apps/web/src/utils/toast.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Button, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Button, Flex, Text } from "@theme-ui/components";
import ThemeProvider from "../components/theme-provider";
import { Error, Warn, Success } from "../components/icons";
import { store as appstore } from "../stores/app-store";
@@ -67,31 +68,32 @@ function ToastContainer(props: ToastContainerProps) {
<Flex
bg={"background"}
data-test-id="toast"
- justifyContent="center"
- alignItems="center"
- sx={{ borderRadius: "default" }}
+ sx={{
+ borderRadius: "default",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Text
data-test-id="toast-message"
variant="body"
- fontSize="body"
- color="text"
mr={2}
+ sx={{ fontSize: "body", color: "text" }}
>
{message}
</Text>
{actions?.map((action) => (
<Button
- flexShrink={0}
variant="primary"
- color={action.type || "primary"}
- fontWeight="bold"
bg={"transparent"}
- fontSize="body"
sx={{
py: "7px",
":hover": { bg: "bgSecondary" },
- m: 0
+ m: 0,
+ flexShrink: 0,
+ fontSize: "body",
+ fontWeight: "bold",
+ color: action.type || "primary"
}}
key={action.text}
onClick={action.onClick}
diff --git a/apps/web/src/utils/version.ts b/apps/web/src/utils/version.ts
index 01d38c897..d64b24f4c 100644
--- a/apps/web/src/utils/version.ts
+++ b/apps/web/src/utils/version.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export type Platforms = "web" | "desktop";
export type AppVersion = typeof appVersion;
diff --git a/apps/web/src/utils/zip.ts b/apps/web/src/utils/zip.ts
index 1b7ea6b1a..3a1f9d008 100644
--- a/apps/web/src/utils/zip.ts
+++ b/apps/web/src/utils/zip.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Unzipped } from "fflate";
import { sanitizeFilename } from "./filename";
diff --git a/apps/web/src/views/auth.tsx b/apps/web/src/views/auth.tsx
index 0bbfff6c7..55eaf40f7 100644
--- a/apps/web/src/views/auth.tsx
+++ b/apps/web/src/views/auth.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
-import { BoxProps, Button, Flex, Text } from "@streetwriters/rebass";
+import { BoxProps, Button, Flex, Link, Text } from "@theme-ui/components";
import {
CheckCircle,
Loading,
@@ -155,11 +156,11 @@ function Auth(props: AuthProps) {
return (
<AuthContainer>
<Flex
- flexDirection={"column"}
sx={{
zIndex: 1,
flex: 1,
- overflowY: "auto"
+ overflowY: "auto",
+ flexDirection: "column"
}}
>
{route === "login" || route === "signup" || route === "recover" ? (
@@ -189,13 +190,13 @@ function Auth(props: AuthProps) {
mt: 2,
mr: 2,
alignSelf: "end",
- alignItems: "center"
+ alignItems: "center",
+ color: "error"
}}
onClick={async () => {
await db.user?.logout();
openURL("/login");
}}
- color="error"
>
<Logout size={16} sx={{ mr: 1 }} color="error" /> Logout
permanently
@@ -258,11 +259,10 @@ function Login(props: BaseAuthComponentProps<"login">) {
<Button
data-test-id="auth-forgot-password"
type="button"
- alignSelf="end"
mt={2}
variant="anchor"
- color="text"
onClick={() => navigate("recover")}
+ sx={{ color: "text", alignSelf: "end" }}
>
Forgot password?
</Button>
@@ -333,26 +333,28 @@ function Signup(props: BaseAuthComponentProps<"signup">) {
disabled={!isAppLoaded}
loading={!isAppLoaded}
/>
- <Text mt={4} variant="subBody" fontSize={13} textAlign="center">
+ <Text
+ mt={4}
+ variant="subBody"
+ sx={{ fontSize: 13, textAlign: "center" }}
+ >
By pressing {`"Create account" button, you agree to our`}{" "}
- <Text
- as="a"
- color="primary"
+ <Link
target="_blank"
rel="noreferrer"
href="https://notesnook.com/tos"
+ sx={{ color: "primary" }}
>
Terms of Service
- </Text>{" "}
+ </Link>{" "}
&amp;{" "}
- <Text
- as="a"
- color="primary"
+ <Link
rel="noreferrer"
href="https://notesnook.com/privacy"
+ sx={{ color: "primary" }}
>
Privacy Policy
- </Text>
+ </Link>
.
</Text>
</>
@@ -386,7 +388,7 @@ function SessionExpiry(props: BaseAuthComponentProps<"sessionExpiry">) {
title="Your session has expired"
subtitle={
<Flex bg="shade" p={1} sx={{ borderRadius: "default" }}>
- <Text as="span" fontSize="body" color="primary">
+ <Text as="span" sx={{ fontSize: "body", color: "primary" }}>
<b>
All your local changes are safe and will be synced after you
login.
@@ -422,11 +424,10 @@ function SessionExpiry(props: BaseAuthComponentProps<"sessionExpiry">) {
<Button
data-test-id="auth-forgot-password"
type="button"
- alignSelf="end"
mt={2}
variant="anchor"
- color="text"
onClick={() => user && navigate("recover", { email: user.email })}
+ sx={{ color: "text", alignSelf: "end" }}
>
Forgot password?
</Button>
@@ -479,7 +480,7 @@ function AccountRecovery(props: BaseAuthComponentProps<"recover">) {
<>
<Flex bg="background" p={2} mt={2} sx={{ borderRadius: "default" }}>
<CheckCircle size={20} color="primary" />
- <Text variant="body" color="primary" ml={2}>
+ <Text variant="body" ml={2} sx={{ color: "primary" }}>
{success}
</Text>
</Flex>
@@ -653,8 +654,8 @@ function MFACode(props: BaseAuthComponentProps<"mfa:code">) {
type="button"
mt={4}
variant={"anchor"}
- color="text"
onClick={() => navigate("mfa:select", formData)}
+ sx={{ color: "text" }}
>
{texts.selector}
</Button>
@@ -666,7 +667,7 @@ type MFAMethodType = AuthenticatorType | "recoveryCode";
type MFAMethod = {
type: MFAMethodType;
title: string;
- icon: (props: BoxProps) => JSX.Element;
+ icon: (props: BoxProps & { size: number }) => JSX.Element;
};
const MFAMethods: MFAMethod[] = [
{ type: "app", title: "Use an authenticator app", icon: MFAAuthenticator },
@@ -736,7 +737,7 @@ function MFASelector(props: BaseAuthComponentProps<"mfa:select">) {
size={16}
color={selected === index ? "primary" : "text"}
/>
- <Text variant={"title"} fontWeight="body">
+ <Text variant={"title"} sx={{ fontWeight: "body" }}>
{method.title}
</Text>
</Button>
@@ -747,7 +748,7 @@ function MFASelector(props: BaseAuthComponentProps<"mfa:select">) {
disabled={!isAppLoaded}
loading={!isAppLoaded}
/> */}
- {/* <Button type="button" mt={4} variant={"anchor"} color="text">
+ {/* <Button type="button" mt={4} variant={"anchor"} sx={{color: "text"}}>
Don't have access to your {mfaMethodToPhrase(formData.primaryMethod)}?
</Button> */}
</AuthForm>
@@ -771,7 +772,7 @@ export function AuthForm<T extends AuthRoutes>(props: AuthFormProps<T>) {
const { title, subtitle, children } = props;
const [isSubmitting, setIsSubmitting] = useState(false);
const [error, setError] = useState<string>();
- const formRef = useRef<HTMLFormElement>();
+ const formRef = useRef<HTMLFormElement>(null);
const [form, setForm] = useState<AuthFormData[T] | undefined>();
if (isSubmitting)
@@ -782,13 +783,8 @@ export function AuthForm<T extends AuthRoutes>(props: AuthFormProps<T>) {
ref={formRef}
as="form"
id="authForm"
- flexDirection="column"
- alignSelf="center"
- justifyContent={"center"}
- alignItems="center"
- width={["95%", "45%"]}
- flex={1}
onSubmit={async (e) => {
+ if (!formRef.current) return;
e.preventDefault();
setError("");
@@ -805,17 +801,23 @@ export function AuthForm<T extends AuthRoutes>(props: AuthFormProps<T>) {
setIsSubmitting(false);
}
}}
+ sx={{
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center",
+ width: ["95%", "45%"],
+ alignSelf: "center"
+ }}
>
- <Text variant={"heading"} fontSize={32} textAlign="center">
+ <Text variant={"heading"} sx={{ fontSize: 32, textAlign: "center" }}>
{title}
</Text>
<Text
variant="body"
- fontSize={"title"}
- textAlign="center"
mt={2}
mb={35}
- color="fontTertiary"
+ sx={{ fontSize: "title", textAlign: "center", color: "fontTertiary" }}
>
{subtitle}
</Text>
@@ -847,10 +849,10 @@ function SubtitleWithAction(props: SubtitleWithActionProps) {
sx={{
textDecoration: "underline",
":hover": { color: "dimPrimary" },
- cursor: "pointer"
+ cursor: "pointer",
+ color: "text"
}}
as="b"
- color="text"
onClick={props.action.onClick}
>
{props.action.text}
@@ -918,15 +920,17 @@ export function SubmitButton(props: SubmitButtonProps) {
return (
<Button
data-test-id="submitButton"
- display="flex"
type="submit"
mt={50}
variant="primary"
- alignSelf={"center"}
px={50}
- sx={{ borderRadius: 50 }}
- justifyContent="center"
- alignItems="center"
+ sx={{
+ borderRadius: 50,
+ alignItems: "center",
+ justifyContent: "center",
+ alignSelf: "center",
+ display: "flex"
+ }}
disabled={props.disabled}
>
{props.loading ? <Loading color="static" /> : props.text}
diff --git a/apps/web/src/views/email-confirmed.js b/apps/web/src/views/email-confirmed.js
index 8b5ada4df..8060dcdb3 100644
--- a/apps/web/src/views/email-confirmed.js
+++ b/apps/web/src/views/email-confirmed.js
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "../app.css";
import { useEffect } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import ThemeProvider from "../components/theme-provider";
import { ANALYTICS_EVENTS, trackEvent } from "../utils/analytics";
import { useQueryParams } from "../navigation";
@@ -34,16 +35,20 @@ function EmailConfirmed() {
<ThemeProvider>
<Flex
bg="background"
- height={"100%"}
- overflowY="auto"
- flexDirection={"column"}
- fontSize={[14, 16, 18]}
+ sx={{
+ flexDirection: "column",
+ fontSize: [14, 16, 18],
+ height: "100%",
+ overflowY: "auto"
+ }}
>
<Flex
- flexDirection="column"
- justifyContent="center"
- alignItems="center"
- flex={1}
+ sx={{
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<Icon.MailCheck
sx={{ bg: "shade", borderRadius: 100, p: 5 }}
@@ -51,40 +56,45 @@ function EmailConfirmed() {
color="primary"
/>
<Text
- textAlign="center"
variant="heading"
- fontWeight="heading"
- fontSize="2.5em"
mt={5}
+ sx={{
+ fontSize: "2.5em",
+ textAlign: "center",
+ fontWeight: "heading"
+ }}
>
Huzzah!
</Text>
<Text
- textAlign="center"
variant="heading"
- fontWeight="bold"
- fontSize="1.5em"
- color="icon"
mt={2}
+ sx={{
+ fontSize: "1.5em",
+ textAlign: "center",
+ fontWeight: "bold",
+ color: "icon"
+ }}
>
Your email has been confirmed.
</Text>
<Text
- textAlign="center"
variant="body"
- fontSize="1.2em"
- color="fontTertiary"
mt={2}
- sx={{ wordWrap: "break-word" }}
+ sx={{
+ wordWrap: "break-word",
+ fontSize: "1.2em",
+ textAlign: "center",
+ color: "fontTertiary"
+ }}
>
Thank you for choosing end-to-end encrypted note taking.
</Text>
</Flex>
<Flex
- flexDirection="column"
bg="bgSecondary"
- justifyContent="center"
p={5}
+ sx={{ flexDirection: "column", justifyContent: "center" }}
>
<BlogPromoBanner link="https://blog.notesnook.com/why-another-note-taking-app/" />
</Flex>
@@ -116,17 +126,25 @@ const social = [
];
function BlogPromoBanner() {
return (
- <Flex flexDirection="column" justifyContent="center" alignItems="center">
- <Text variant="heading" fontSize="1.2em" textAlign="center">
+ <Flex
+ sx={{
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
+ >
+ <Text variant="heading" sx={{ fontSize: "1.2em", textAlign: "center" }}>
Share Notesnook with your friends!
</Text>
<Text
- textAlign="center"
variant="body"
- fontSize="1em"
- color="fontTertiary"
mt={2}
- sx={{ wordWrap: "break-word" }}
+ sx={{
+ wordWrap: "break-word",
+ fontSize: "1em",
+ textAlign: "center",
+ color: "fontTertiary"
+ }}
>
{`Because where's the fun in nookin' alone?`}
</Text>
@@ -146,14 +164,16 @@ function BlogPromoBanner() {
))}
</Flex>
<Text
- textAlign="center"
variant="body"
- color="fontTertiary"
mt={2}
- sx={{ wordWrap: "break-word" }}
+ sx={{
+ wordWrap: "break-word",
+ textAlign: "center",
+ color: "fontTertiary"
+ }}
>
Use{" "}
- <Text as="span" fontWeight="bold" color="primary">
+ <Text as="span" sx={{ fontWeight: "bold", color: "primary" }}>
#notesnook
</Text>{" "}
and get a chance to win free promo codes.
@@ -194,10 +214,10 @@ function BlogPromoBanner() {
as="a"
href={link}
target="_blank"
- fontSize="title"
- width="100%"
- fontWeight="bold"
- sx={{ boxShadow: "2px 2px 15px 0px #00000044" }}
+
+
+
+ sx={{ boxShadow: "2px 2px 15px 0px #00000044" ,fontSize: "title", fontWeight: "bold", width: "100%"}}
onClick={() =>
trackEvent(`Email verification blog promo`, "blog-promo")
}
@@ -212,17 +232,17 @@ function BlogPromoBanner() {
// const { discount, coupon, userId } = props;
// return (
-// <Flex flexDirection="column" p={4}>
+// <Flex p={4} sx={{flexDirection: "column"}}>
// <Text
// as="p"
// variant="body"
-// fontSize="title"
+//
// lineHeight="22px"
-// textAlign="center"
-// >
+//
+// sx={{fontSize: "title", textAlign: "center"}}>
// We started out building Notesnook in November 2019. Our mission was to
// make privacy simple. It is one thing to say,{" "}
-// <Text as="span" color="primary">
+// <Text as="span" sx={{color: "primary"}}>
// "Privacy is our basic right"
// </Text>{" "}
// and quite another to actually prove it.
@@ -230,31 +250,31 @@ function BlogPromoBanner() {
// Almost 1 and a half year later, we are here with over 2000 users, 5000+
// downloads on Google Play Store, 10,000+ encrypted notes, and 100+
// members in our Discord community; all proof that{" "}
-// <Text as="span" color="primary">
+// <Text as="span" sx={{color: "primary"}}>
// privacy matters.
// </Text>
// <br />
// </Text>
-// <Text variant="title" mt={2} textAlign="center">
+// <Text variant="title" mt={2} sx={{textAlign: "center"}}>
// In celebration of this happy day, we are giving a special discount to
// all our new members.
// </Text>
// <Text
// variant="heading"
-// fontSize={32}
-// color="primary"
-// textAlign="center"
-// fontWeight="bold"
+//
+//
+//
+//
// mt={2}
-// >
+// sx={{fontSize: 32, textAlign: "center", fontWeight: "bold", color: "primary"}}>
// {discount}% OFF if you subscribe today!
// </Text>
// <Button
// mt={2}
-// fontSize="title"
-// width="100%"
-// fontWeight="bold"
-// sx={{ boxShadow: "2px 2px 15px 0px #00000044" }}
+//
+//
+//
+// sx={{ boxShadow: "2px 2px 15px 0px #00000044" ,fontSize: "title", fontWeight: "bold", width: "100%"}}
// onClick={async () => {
// trackEvent(`Email verification offer`, "offers");
// let user = await db.user.getUser();
@@ -264,15 +284,15 @@ function BlogPromoBanner() {
// >
// Subscribe now and stand up for privacy!
// </Button>
-// <Text variant="body" textAlign="center" mt={2} color="fontTertiary">
+// <Text variant="body" mt={2} sx={{textAlign: "center", color: "fontTertiary"}}>
// Big companies say, "X feature won't be possible if we went
// zero-knowledge." We are here to call them out. Your contribution will
// help us prove that giving up on privacy is just an excuse to rip users
// off, sell their data and make money.
-// <Text variant="body" fontSize="subBody" mt={1}>
+// <Text variant="body" mt={1} sx={{fontSize: "subBody"}}>
// *Use code <b>{coupon}</b> at checkout to get your discount.
// </Text>
-// <Text variant="body" fontSize="subBody" mt={1}>
+// <Text variant="body" mt={1} sx={{fontSize: "subBody"}}>
// ** Only the first 10 people get to claim the discount. Be the first.
// </Text>
// </Text>
diff --git a/apps/web/src/views/home.js b/apps/web/src/views/home.js
index 067906a1c..fa9419a6e 100644
--- a/apps/web/src/views/home.js
+++ b/apps/web/src/views/home.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { useEffect, useState } from "react";
import { useStore, store } from "../stores/note-store";
diff --git a/apps/web/src/views/notebooks.js b/apps/web/src/views/notebooks.js
index 0ae3f093f..fc8b3c833 100644
--- a/apps/web/src/views/notebooks.js
+++ b/apps/web/src/views/notebooks.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ListContainer from "../components/list-container";
import { useStore, store } from "../stores/notebook-store";
diff --git a/apps/web/src/views/notes.js b/apps/web/src/views/notes.js
index cfe35067b..fccded99e 100644
--- a/apps/web/src/views/notes.js
+++ b/apps/web/src/views/notes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import ListContainer from "../components/list-container";
@@ -24,7 +25,7 @@ import { hashNavigate, navigate } from "../navigation";
import FavoritesPlaceholder from "../components/placeholders/favorites-placeholder";
import { groupArray } from "@notesnook/core/utils/grouping";
import { db } from "../common/db";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { SyncError } from "../components/icons";
function Notes() {
@@ -57,9 +58,9 @@ function Notes() {
items={groupArray(context.notes, db.settings.getGroupOptions(type))}
header={
isSynced ? null : (
- <Flex bg="errorBg" p={2} py={1} alignItems="center">
+ <Flex bg="errorBg" p={2} py={1} sx={{ alignItems: "center" }}>
<SyncError color="error" size={16} />
- <Text variant={"body"} color="error" ml={1}>
+ <Text variant={"body"} ml={1} sx={{ color: "error" }}>
Some notes of this topic are not synced.
</Text>
</Flex>
diff --git a/apps/web/src/views/recovery.tsx b/apps/web/src/views/recovery.tsx
index 4f6fe9425..13359aa09 100644
--- a/apps/web/src/views/recovery.tsx
+++ b/apps/web/src/views/recovery.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useMemo, useRef, useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import { Error as ErrorIcon } from "../components/icons";
import { makeURL, useQueryParams } from "../navigation";
import { db } from "../common/db";
@@ -170,11 +171,11 @@ function Recovery(props: RecoveryProps) {
return (
<AuthContainer>
<Flex
- flexDirection={"column"}
sx={{
zIndex: 1,
flex: 1,
- overflowY: "auto"
+ overflowY: "auto",
+ flexDirection: "column"
}}
>
{isAuthenticating ? (
@@ -184,7 +185,10 @@ function Recovery(props: RecoveryProps) {
/>
) : (
<>
- <Flex justifyContent={"space-between"} alignItems="start" m={2}>
+ <Flex
+ m={2}
+ sx={{ alignItems: "start", justifyContent: "space-between" }}
+ >
<Text
sx={{
display: "flex",
@@ -299,12 +303,15 @@ function RecoveryMethods(props: BaseRecoveryComponentProps<"methods">) {
}}
onClick={() => setSelected(index)}
>
- <Text variant={"title"} color={method.isDangerous ? "error" : "text"}>
+ <Text
+ variant={"title"}
+ sx={{ color: method.isDangerous ? "error" : "text" }}
+ >
{method.title}
</Text>
<Text
variant={"body"}
- color={method.isDangerous ? "error" : "fontTertiary"}
+ sx={{ color: method.isDangerous ? "error" : "fontTertiary" }}
>
{method.description}
</Text>
@@ -349,8 +356,8 @@ function RecoveryKeyMethod(props: BaseRecoveryComponentProps<"method:key">) {
type="button"
mt={4}
variant={"anchor"}
- color="text"
onClick={() => navigate("methods")}
+ sx={{ color: "text" }}
>
{`Don't have your recovery key?`}
</Button>
@@ -374,8 +381,7 @@ function BackupFileMethod(props: BaseRecoveryComponentProps<"method:backup">) {
bg="background"
p={2}
mt={2}
- sx={{ borderRadius: "default" }}
- color="error"
+ sx={{ borderRadius: "default", color: "error" }}
ml={2}
>
All the data in your account will be overwritten with the data in the
@@ -408,8 +414,8 @@ function BackupFileMethod(props: BaseRecoveryComponentProps<"method:backup">) {
type="button"
mt={4}
variant={"anchor"}
- color="text"
onClick={() => navigate("methods")}
+ sx={{ color: "text" }}
>
{`Don't have a backup file?`}
</Button>
@@ -554,7 +560,7 @@ export function RecoveryForm<T extends RecoveryRoutes>(
const { title, subtitle, children, testId } = props;
const [isSubmitting, setIsSubmitting] = useState(false);
const [error, setError] = useState<string>();
- const formRef = useRef<HTMLFormElement>();
+ const formRef = useRef<HTMLFormElement>(null);
const [form, setForm] = useState<RecoveryFormData[T] | undefined>();
if (isSubmitting && props.loading)
@@ -566,13 +572,9 @@ export function RecoveryForm<T extends RecoveryRoutes>(
data-test-id={testId}
as="form"
id="authForm"
- flexDirection="column"
- alignSelf="center"
- justifyContent={"center"}
- alignItems="center"
- width={["95%", 420]}
- flex={1}
onSubmit={async (e) => {
+ if (!formRef.current) return;
+
e.preventDefault();
setError("");
@@ -592,17 +594,23 @@ export function RecoveryForm<T extends RecoveryRoutes>(
setIsSubmitting(false);
}
}}
+ sx={{
+ flex: 1,
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center",
+ width: ["95%", 420],
+ alignSelf: "center"
+ }}
>
- <Text variant={"heading"} fontSize={32} textAlign="center">
+ <Text variant={"heading"} sx={{ fontSize: 32, textAlign: "center" }}>
{title}
</Text>
<Text
variant="body"
- fontSize={"title"}
- textAlign="center"
mt={2}
mb={35}
- color="fontTertiary"
+ sx={{ fontSize: "title", textAlign: "center", color: "fontTertiary" }}
>
{subtitle}
</Text>
diff --git a/apps/web/src/views/search.js b/apps/web/src/views/search.js
index f512c8b6e..f175338f8 100644
--- a/apps/web/src/views/search.js
+++ b/apps/web/src/views/search.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import ListContainer from "../components/list-container";
@@ -23,7 +24,7 @@ import { db } from "../common/db";
import SearchBox from "../components/search";
import ProgressBar from "../components/progress-bar";
import { useStore as useNoteStore } from "../stores/note-store";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { showToast } from "../utils/toast";
import { store as notebookstore } from "../stores/notebook-store";
import { hardNavigate } from "../navigation";
@@ -141,10 +142,12 @@ function Search({ type }) {
<SearchBox onSearch={onSearch} />
{searchState.isSearching ? (
<Flex
- flex="1"
- justifyContent="center"
- alignItems="center"
- flexDirection="column"
+ sx={{
+ flex: "1",
+ flexDirection: "column",
+ alignItems: "center",
+ justifyContent: "center"
+ }}
>
<SearchPlaceholder
text={`Searching in ${searchState.totalItems} ${type}...`}
diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.js
index 05f065e32..309dfe9e3 100644
--- a/apps/web/src/views/settings.js
+++ b/apps/web/src/views/settings.js
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useMemo, useState } from "react";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import * as Icon from "../components/icons";
import { useStore as useUserStore } from "../stores/user-store";
import { useStore as useNoteStore } from "../stores/note-store";
@@ -56,7 +57,7 @@ import Toggle from "../components/toggle";
import { isDesktop } from "../utils/platform";
import Vault from "../common/vault";
import { isUserPremium } from "../hooks/use-is-user-premium";
-import { Slider } from "@streetwriters/rebass-forms";
+import { Slider } from "@theme-ui/components";
import useZoomFactor from "../hooks/use-zoom-factor";
import { PATHS } from "@notesnook/desktop/paths";
import { openPath } from "../commands/open";
@@ -182,9 +183,11 @@ function Settings() {
}}
>
<Flex
- flex="1 1 auto"
- justifyContent="space-between"
- alignItems="center"
+ sx={{
+ flex: "1 1 auto",
+ alignItems: "center",
+ justifyContent: "space-between"
+ }}
>
<Flex>
<Flex
@@ -198,9 +201,9 @@ function Settings() {
>
<Icon.User size={20} color="primary" />
</Flex>
- <Flex variant="columnCenter" alignItems="flex-start">
+ <Flex variant="columnCenter" sx={{ alignItems: "flex-start" }}>
<Text variant="subBody">You are not logged in</Text>
- <Text variant="body" fontSize={"body"}>
+ <Text variant="body" sx={{ fontSize: "body" }}>
Login to sync your notes
</Text>
</Flex>
@@ -386,9 +389,9 @@ function Settings() {
/>
<Flex
flexWrap="wrap"
- justifyContent="left"
sx={{
- borderRadius: "default"
+ borderRadius: "default",
+ justifyContent: "left"
}}
>
{getAllAccents().map((color) => (
@@ -751,12 +754,15 @@ function Settings() {
)}
{isLoggedIn && (
<Flex
- flexDirection={"column"}
- sx={{ border: "2px solid var(--error)", borderRadius: "default" }}
+ sx={{
+ border: "2px solid var(--error)",
+ borderRadius: "default",
+ flexDirection: "column"
+ }}
p={1}
my={2}
>
- <Text variant={"body"} fontWeight={"bold"} color="error">
+ <Text variant={"body"} sx={{ fontWeight: "bold", color: "error" }}>
DANGER ZONE
</Text>
<Button
@@ -816,30 +822,30 @@ function OptionsItem(props) {
if (onlyIf === false) return null;
return (
<Flex
- flexDirection="column"
- justifyContent="center"
py={2}
sx={{
cursor: "pointer",
borderBottom: "1px solid",
borderBottomColor: "border",
- ":hover": { borderBottomColor: "primary" }
+ ":hover": { borderBottomColor: "primary" },
+ flexDirection: "column",
+ justifyContent: "center"
}}
>
<Tip text={title} tip={tip} />
<Flex
- justifyContent="space-evenly"
mt={2}
bg="border"
- sx={{ borderRadius: "default", overflow: "hidden" }}
+ sx={{
+ borderRadius: "default",
+ overflow: "hidden",
+ justifyContent: "space-evenly"
+ }}
>
{options.map((option, index) => (
<Text
key={option}
- flex={1}
bg={selectedOption === index ? "primary" : "transparent"}
- color={selectedOption === index ? "static" : "gray"}
- textAlign="center"
variant="subBody"
p={2}
py={1}
@@ -851,7 +857,10 @@ function OptionsItem(props) {
}
}}
sx={{
- ":hover": { color: selectedOption === index ? "static" : "text" }
+ ":hover": { color: selectedOption === index ? "static" : "text" },
+ flex: 1,
+ textAlign: "center",
+ color: selectedOption === index ? "static" : "gray"
}}
>
{option}
@@ -921,9 +930,11 @@ function AccountStatus(props) {
return (
<AccountStatusContainer user={user} color={"fontTertiary"}>
<Text
- color={remainingDays <= 5 ? "error" : "text"}
variant="body"
- fontSize={"heading"}
+ sx={{
+ fontSize: "heading",
+ color: remainingDays <= 5 ? "error" : "text"
+ }}
>
{remainingDays > 0 && isPro
? `Subscribed to Notesnook Pro`
@@ -968,9 +979,11 @@ function AccountStatus(props) {
mt={1}
px={"4px"}
py={"2px"}
- alignSelf="flex-end"
- sx={{ borderRadius: "default" }}
- color={"primary"}
+ sx={{
+ borderRadius: "default",
+ color: "primary",
+ alignSelf: "flex-end"
+ }}
>
Awarded by {provider}
</Text>
@@ -1016,9 +1029,11 @@ function AccountStatus(props) {
mt={1}
px={"4px"}
py={"2px"}
- alignSelf="flex-end"
- sx={{ borderRadius: "default" }}
- color={"primary"}
+ sx={{
+ borderRadius: "default",
+ color: "primary",
+ alignSelf: "flex-end"
+ }}
>
Purchased on {provider}
</Text>
@@ -1033,15 +1048,18 @@ function AccountStatusContainer(props) {
return (
<Flex
bg={bg}
- flexDirection="column"
p={2}
mt={1}
- sx={{ borderRadius: "default", border: "1px solid var(--border)" }}
+ sx={{
+ borderRadius: "default",
+ border: "1px solid var(--border)",
+ flexDirection: "column"
+ }}
>
- <Flex flex="1" justifyContent="space-between">
+ <Flex sx={{ flex: "1", justifyContent: "space-between" }}>
<Flex>
<Icon.User size={15} color={color} />
- <Text color={color} variant="body" ml={1}>
+ <Text variant="body" ml={1} sx={{ color: color }}>
{user.email}
</Text>
</Flex>
@@ -1049,9 +1067,8 @@ function AccountStatusContainer(props) {
variant="subBody"
px={"2px"}
py={"1px"}
- sx={{ borderRadius: "default" }}
+ sx={{ borderRadius: "default", color: color }}
bg={bg}
- color={color}
>
{subscriptionStatusToString(user)}
</Text>
@@ -1066,16 +1083,21 @@ function Header(props) {
return (
<Flex
data-test-id={testId}
- sx={{ borderBottom: "1px solid var(--border)", cursor: "pointer" }}
+ sx={{
+ borderBottom: "1px solid var(--border)",
+ cursor: "pointer",
+ justifyContent: "space-between"
+ }}
// mt={2}
py={2}
- justifyContent="space-between"
onClick={onClick}
>
<Text
variant="subtitle"
- fontWeight={isOpen ? "bold" : "body"}
- color={isOpen ? "primary" : "fontTertiary"}
+ sx={{
+ fontWeight: isOpen ? "bold" : "body",
+ color: isOpen ? "primary" : "fontTertiary"
+ }}
>
{title}
</Text>
diff --git a/apps/web/src/views/tags.js b/apps/web/src/views/tags.js
index d71062636..e75b1ef76 100644
--- a/apps/web/src/views/tags.js
+++ b/apps/web/src/views/tags.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ListContainer from "../components/list-container";
import { useStore, store } from "../stores/tag-store";
diff --git a/apps/web/src/views/topics.js b/apps/web/src/views/topics.js
index 445668582..dbf62ad36 100644
--- a/apps/web/src/views/topics.js
+++ b/apps/web/src/views/topics.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useState } from "react";
import ListContainer from "../components/list-container";
@@ -22,7 +23,7 @@ import { useStore as useNbStore } from "../stores/notebook-store";
import { useStore as useAppStore } from "../stores/app-store";
import { hashNavigate } from "../navigation";
import TopicsPlaceholder from "../components/placeholders/topics-placeholder";
-import { Button, Flex, Text } from "@streetwriters/rebass";
+import { Button, Flex, Text } from "@theme-ui/components";
import { Edit, RemoveShortcutLink, ShortcutLink } from "../components/icons";
import { getTotalNotes } from "../common";
import { formatDate } from "@notesnook/core/utils/date";
@@ -71,18 +72,16 @@ function NotebookHeader({ notebook }) {
const totalNotes = getTotalNotes(notebook);
return (
- <Flex flexDirection="column" mx={2} my={2}>
+ <Flex mx={2} my={2} sx={{ flexDirection: "column" }}>
<Text variant="subBody">{formatDate(dateEdited)}</Text>
- <Flex justifyContent="space-between" alignItems="center">
+ <Flex sx={{ alignItems: "center", justifyContent: "space-between" }}>
<Text variant="heading">{title}</Text>
<Flex>
<Button
variant="tool"
- sx={{ borderRadius: 100 }}
+ sx={{ borderRadius: 100, width: 30, height: 30 }}
mr={1}
p={0}
- width={30}
- height={30}
title={isShortcut ? "Remove shortcut" : "Create shortcut"}
onClick={() => pinItemToMenu(notebook)}
>
@@ -94,10 +93,8 @@ function NotebookHeader({ notebook }) {
</Button>
<Button
variant="tool"
- sx={{ borderRadius: 100 }}
+ sx={{ borderRadius: 100, width: 30, height: 30 }}
p={0}
- width={30}
- height={30}
title="Edit notebook"
onClick={() => hashNavigate(`/notebooks/${notebook.id}/edit`)}
>
@@ -107,7 +104,7 @@ function NotebookHeader({ notebook }) {
</Flex>
{description && (
- <Text variant="body" fontSize="subtitle">
+ <Text variant="body" sx={{ fontSize: "subtitle" }}>
{description}
</Text>
)}
diff --git a/apps/web/src/views/trash.js b/apps/web/src/views/trash.js
index 563379702..28c0f3bff 100644
--- a/apps/web/src/views/trash.js
+++ b/apps/web/src/views/trash.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import * as Icon from "../components/icons";
import ListContainer from "../components/list-container";
@@ -22,7 +23,7 @@ import { confirm } from "../common/dialog-controller";
import { useStore, store } from "../stores/trash-store";
import TrashPlaceholder from "../components/placeholders/trash-placeholder";
import { showToast } from "../utils/toast";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import useNavigate from "../hooks/use-navigate";
import { db } from "../common/db";
@@ -55,11 +56,11 @@ function Trash() {
message: (
<>
This action is{" "}
- <Text as="span" color="error">
+ <Text as="span" sx={{ color: "error" }}>
IRREVERSIBLE
</Text>
. You will{" "}
- <Text as="span" color="primary">
+ <Text as="span" sx={{ color: "primary" }}>
not be able to recover any of these items.
</Text>
</>
diff --git a/package-lock.json b/package-lock.json
index 1f06ee3be..bd4182162 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,6 +5,9 @@
"packages": {
"": {
"name": "notesnook",
+ "dependencies": {
+ "eslint-plugin-header": "^3.1.1"
+ },
"devDependencies": {
"@commitlint/cli": "^17.1.1",
"@types/node": "^18.7.13",
@@ -2431,7 +2434,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz",
"integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==",
- "dev": true,
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
@@ -2457,7 +2459,6 @@
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz",
"integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==",
- "dev": true,
"dependencies": {
"@humanwhocodes/object-schema": "^1.2.1",
"debug": "^4.1.1",
@@ -2471,7 +2472,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz",
"integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==",
- "dev": true,
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nzakas"
@@ -2480,8 +2480,7 @@
"node_modules/@humanwhocodes/object-schema": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
- "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
- "dev": true
+ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
},
"node_modules/@hutson/parse-repository-url": {
"version": "3.0.2",
@@ -3528,7 +3527,6 @@
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
@@ -3541,7 +3539,6 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
"engines": {
"node": ">= 8"
}
@@ -3550,7 +3547,6 @@
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
@@ -4304,7 +4300,6 @@
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
"integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==",
- "dev": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -4316,7 +4311,6 @@
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
@@ -4380,7 +4374,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -4420,7 +4413,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -4429,7 +4421,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"dependencies": {
"color-convert": "^2.0.1"
},
@@ -4482,8 +4473,7 @@
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"node_modules/aria-query": {
"version": "4.2.2",
@@ -4536,7 +4526,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -4727,8 +4716,7 @@
"node_modules/balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
},
"node_modules/base64-js": {
"version": "1.5.1",
@@ -4806,7 +4794,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -4816,7 +4803,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
"dependencies": {
"fill-range": "^7.0.1"
},
@@ -4946,7 +4932,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -4997,7 +4982,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -5161,7 +5145,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"dependencies": {
"color-name": "~1.1.4"
},
@@ -5172,8 +5155,7 @@
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/color-support": {
"version": "1.1.3",
@@ -5228,8 +5210,7 @@
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
},
"node_modules/concat-stream": {
"version": "2.0.0",
@@ -5500,7 +5481,6 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -5538,7 +5518,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"dependencies": {
"ms": "2.1.2"
},
@@ -5600,8 +5579,7 @@
"node_modules/deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"node_modules/defaults": {
"version": "1.0.3",
@@ -5691,7 +5669,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
- "dev": true,
"dependencies": {
"path-type": "^4.0.0"
},
@@ -5703,7 +5680,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
"dependencies": {
"esutils": "^2.0.2"
},
@@ -5918,7 +5894,6 @@
"version": "8.22.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz",
"integrity": "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==",
- "dev": true,
"dependencies": {
"@eslint/eslintrc": "^1.3.0",
"@humanwhocodes/config-array": "^0.10.4",
@@ -6103,6 +6078,14 @@
"eslint": "^8.1.0"
}
},
+ "node_modules/eslint-plugin-header": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
+ "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
+ "peerDependencies": {
+ "eslint": ">=7.7.0"
+ }
+ },
"node_modules/eslint-plugin-import": {
"version": "2.26.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz",
@@ -6410,7 +6393,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
"integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==",
- "dev": true,
"dependencies": {
"eslint-visitor-keys": "^2.0.0"
},
@@ -6428,7 +6410,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",
"integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",
- "dev": true,
"engines": {
"node": ">=10"
}
@@ -6437,7 +6418,6 @@
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",
"integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==",
- "dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
@@ -6446,7 +6426,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
"engines": {
"node": ">=10"
},
@@ -6458,7 +6437,6 @@
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",
"integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
- "dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
"estraverse": "^5.2.0"
@@ -6471,7 +6449,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
"dependencies": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
@@ -6487,7 +6464,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"dependencies": {
"is-glob": "^4.0.3"
},
@@ -6499,7 +6475,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
"dependencies": {
"p-locate": "^5.0.0"
},
@@ -6514,7 +6489,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
"dependencies": {
"yocto-queue": "^0.1.0"
},
@@ -6529,7 +6503,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
"dependencies": {
"p-limit": "^3.0.2"
},
@@ -6544,7 +6517,6 @@
"version": "9.3.3",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz",
"integrity": "sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==",
- "dev": true,
"dependencies": {
"acorn": "^8.8.0",
"acorn-jsx": "^5.3.2",
@@ -6561,7 +6533,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
- "dev": true,
"dependencies": {
"estraverse": "^5.1.0"
},
@@ -6573,7 +6544,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
"dependencies": {
"estraverse": "^5.2.0"
},
@@ -6585,7 +6555,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"engines": {
"node": ">=4.0"
}
@@ -6594,7 +6563,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -6645,14 +6613,12 @@
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"node_modules/fast-glob": {
"version": "3.2.11",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
"integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
- "dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
@@ -6667,20 +6633,17 @@
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"node_modules/fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
},
"node_modules/fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
"integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
- "dev": true,
"dependencies": {
"reusify": "^1.0.4"
}
@@ -6704,7 +6667,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
"dependencies": {
"flat-cache": "^3.0.4"
},
@@ -6716,7 +6678,6 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -6750,7 +6711,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
"integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
- "dev": true,
"dependencies": {
"flatted": "^3.1.0",
"rimraf": "^3.0.2"
@@ -6762,8 +6722,7 @@
"node_modules/flatted": {
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz",
- "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==",
- "dev": true
+ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ=="
},
"node_modules/fs-constants": {
"version": "1.0.0",
@@ -6801,8 +6760,7 @@
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
},
"node_modules/fsevents": {
"version": "2.3.2",
@@ -6845,8 +6803,7 @@
"node_modules/functional-red-black-tree": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
- "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==",
- "dev": true
+ "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g=="
},
"node_modules/functions-have-names": {
"version": "1.2.3",
@@ -7123,7 +7080,6 @@
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
"dependencies": {
"is-glob": "^4.0.1"
},
@@ -7168,7 +7124,6 @@
"version": "13.17.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
- "dev": true,
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -7183,7 +7138,6 @@
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
"integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
"engines": {
"node": ">=10"
},
@@ -7195,7 +7149,6 @@
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
- "dev": true,
"dependencies": {
"array-union": "^2.1.0",
"dir-glob": "^3.0.1",
@@ -7220,8 +7173,7 @@
"node_modules/grapheme-splitter": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
- "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==",
- "dev": true
+ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ=="
},
"node_modules/handlebars": {
"version": "4.7.7",
@@ -7278,7 +7230,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -7454,7 +7405,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
- "dev": true,
"engines": {
"node": ">= 4"
}
@@ -7496,7 +7446,6 @@
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
- "dev": true,
"dependencies": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -7512,7 +7461,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -7540,7 +7488,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
"engines": {
"node": ">=0.8.19"
}
@@ -7564,7 +7511,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -7573,8 +7519,7 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/ini": {
"version": "1.3.8",
@@ -7789,7 +7734,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -7807,7 +7751,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
@@ -7846,7 +7789,6 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
"engines": {
"node": ">=0.12.0"
}
@@ -8035,8 +7977,7 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
},
"node_modules/isobject": {
"version": "3.0.1",
@@ -8057,7 +7998,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
"dependencies": {
"argparse": "^2.0.1"
},
@@ -8092,14 +8032,12 @@
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
},
"node_modules/json-stringify-nice": {
"version": "1.1.4",
@@ -8257,7 +8195,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1",
"type-check": "~0.4.0"
@@ -8429,8 +8366,7 @@
"node_modules/lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
},
"node_modules/log-symbols": {
"version": "4.1.0",
@@ -8663,7 +8599,6 @@
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "dev": true,
"engines": {
"node": ">= 8"
}
@@ -8672,7 +8607,6 @@
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
- "dev": true,
"dependencies": {
"braces": "^3.0.2",
"picomatch": "^2.3.1"
@@ -8703,7 +8637,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -8869,8 +8802,7 @@
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/multimatch": {
"version": "5.0.0",
@@ -8909,8 +8841,7 @@
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
},
"node_modules/negotiator": {
"version": "0.6.3",
@@ -9634,7 +9565,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -9675,7 +9605,6 @@
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
- "dev": true,
"dependencies": {
"deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6",
@@ -9919,7 +9848,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"dependencies": {
"callsites": "^3.0.0"
},
@@ -9984,7 +9912,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -9993,7 +9920,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -10002,7 +9928,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -10017,7 +9942,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -10032,7 +9956,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true,
"engines": {
"node": ">=8.6"
},
@@ -10068,7 +9991,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -10176,7 +10098,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -10195,7 +10116,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -10595,7 +10515,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
"integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",
- "dev": true,
"engines": {
"node": ">=8"
},
@@ -10750,7 +10669,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "dev": true,
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
@@ -10760,7 +10678,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
"dependencies": {
"glob": "^7.1.3"
},
@@ -10775,7 +10692,6 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -10804,7 +10720,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -10907,7 +10822,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
"dependencies": {
"shebang-regex": "^3.0.0"
},
@@ -10919,7 +10833,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -10948,7 +10861,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -11169,7 +11081,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
@@ -11211,7 +11122,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
"engines": {
"node": ">=8"
},
@@ -11240,7 +11150,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
"dependencies": {
"has-flag": "^4.0.0"
},
@@ -11314,8 +11223,7 @@
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
},
"node_modules/through": {
"version": "2.3.8",
@@ -11357,7 +11265,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
"dependencies": {
"is-number": "^7.0.0"
},
@@ -11491,7 +11398,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1"
},
@@ -11686,7 +11592,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
"dependencies": {
"punycode": "^2.1.0"
}
@@ -11709,8 +11614,7 @@
"node_modules/v8-compile-cache": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
- "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
- "dev": true
+ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA=="
},
"node_modules/v8-compile-cache-lib": {
"version": "3.0.1",
@@ -11783,7 +11687,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"dependencies": {
"isexe": "^2.0.0"
},
@@ -11823,7 +11726,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -11854,8 +11756,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
"node_modules/write-file-atomic": {
"version": "4.0.2",
@@ -12088,7 +11989,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
"engines": {
"node": ">=10"
},
@@ -13812,7 +13712,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz",
"integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==",
- "dev": true,
"requires": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
@@ -13835,7 +13734,6 @@
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz",
"integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==",
- "dev": true,
"requires": {
"@humanwhocodes/object-schema": "^1.2.1",
"debug": "^4.1.1",
@@ -13845,14 +13743,12 @@
"@humanwhocodes/gitignore-to-minimatch": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz",
- "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==",
- "dev": true
+ "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA=="
},
"@humanwhocodes/object-schema": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
- "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
- "dev": true
+ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
},
"@hutson/parse-repository-url": {
"version": "3.0.2",
@@ -14710,7 +14606,6 @@
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
"requires": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
@@ -14719,14 +14614,12 @@
"@nodelib/fs.stat": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="
},
"@nodelib/fs.walk": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
"requires": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
@@ -15284,14 +15177,12 @@
"acorn": {
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
- "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==",
- "dev": true
+ "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w=="
},
"acorn-jsx": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
"requires": {}
},
"acorn-walk": {
@@ -15341,7 +15232,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -15367,14 +15257,12 @@
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"requires": {
"color-convert": "^2.0.1"
}
@@ -15415,8 +15303,7 @@
"argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"aria-query": {
"version": "4.2.2",
@@ -15456,8 +15343,7 @@
"array-union": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
- "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
- "dev": true
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw=="
},
"array.prototype.flat": {
"version": "1.3.0",
@@ -15610,8 +15496,7 @@
"balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
},
"base64-js": {
"version": "1.5.1",
@@ -15668,7 +15553,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -15678,7 +15562,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
"requires": {
"fill-range": "^7.0.1"
}
@@ -15765,8 +15648,7 @@
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
},
"camelcase": {
"version": "5.3.1",
@@ -15795,7 +15677,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -15914,7 +15795,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"requires": {
"color-name": "~1.1.4"
}
@@ -15922,8 +15802,7 @@
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"color-support": {
"version": "1.1.3",
@@ -15971,8 +15850,7 @@
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
},
"concat-stream": {
"version": "2.0.0",
@@ -16189,7 +16067,6 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
"requires": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -16218,7 +16095,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"requires": {
"ms": "2.1.2"
}
@@ -16262,8 +16138,7 @@
"deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"defaults": {
"version": "1.0.3",
@@ -16335,7 +16210,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
- "dev": true,
"requires": {
"path-type": "^4.0.0"
}
@@ -16344,7 +16218,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
"requires": {
"esutils": "^2.0.2"
}
@@ -16516,7 +16389,6 @@
"version": "8.22.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz",
"integrity": "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==",
- "dev": true,
"requires": {
"@eslint/eslintrc": "^1.3.0",
"@humanwhocodes/config-array": "^0.10.4",
@@ -16562,14 +16434,12 @@
"escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
},
"eslint-scope": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",
"integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
- "dev": true,
"requires": {
"esrecurse": "^4.3.0",
"estraverse": "^5.2.0"
@@ -16579,7 +16449,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
"requires": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
@@ -16589,7 +16458,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"requires": {
"is-glob": "^4.0.3"
}
@@ -16598,7 +16466,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
"requires": {
"p-locate": "^5.0.0"
}
@@ -16607,7 +16474,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
"requires": {
"yocto-queue": "^0.1.0"
}
@@ -16616,7 +16482,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
"requires": {
"p-limit": "^3.0.2"
}
@@ -16722,6 +16587,12 @@
"string-natural-compare": "^3.0.1"
}
},
+ "eslint-plugin-header": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
+ "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
+ "requires": {}
+ },
"eslint-plugin-import": {
"version": "2.26.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz",
@@ -16949,7 +16820,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
"integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==",
- "dev": true,
"requires": {
"eslint-visitor-keys": "^2.0.0"
},
@@ -16957,22 +16827,19 @@
"eslint-visitor-keys": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",
- "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",
- "dev": true
+ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw=="
}
}
},
"eslint-visitor-keys": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",
- "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==",
- "dev": true
+ "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA=="
},
"espree": {
"version": "9.3.3",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz",
"integrity": "sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==",
- "dev": true,
"requires": {
"acorn": "^8.8.0",
"acorn-jsx": "^5.3.2",
@@ -16983,7 +16850,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
- "dev": true,
"requires": {
"estraverse": "^5.1.0"
}
@@ -16992,7 +16858,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
"requires": {
"estraverse": "^5.2.0"
}
@@ -17000,14 +16865,12 @@
"estraverse": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="
},
"esutils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
"eventemitter3": {
"version": "4.0.7",
@@ -17046,14 +16909,12 @@
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"fast-glob": {
"version": "3.2.11",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
"integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
- "dev": true,
"requires": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
@@ -17065,20 +16926,17 @@
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
},
"fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
"integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
- "dev": true,
"requires": {
"reusify": "^1.0.4"
}
@@ -17096,7 +16954,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
"requires": {
"flat-cache": "^3.0.4"
}
@@ -17105,7 +16962,6 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
"requires": {
"to-regex-range": "^5.0.1"
}
@@ -17130,7 +16986,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
"integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
- "dev": true,
"requires": {
"flatted": "^3.1.0",
"rimraf": "^3.0.2"
@@ -17139,8 +16994,7 @@
"flatted": {
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz",
- "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==",
- "dev": true
+ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ=="
},
"fs-constants": {
"version": "1.0.0",
@@ -17172,8 +17026,7 @@
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
},
"fsevents": {
"version": "2.3.2",
@@ -17203,8 +17056,7 @@
"functional-red-black-tree": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
- "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==",
- "dev": true
+ "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g=="
},
"functions-have-names": {
"version": "1.2.3",
@@ -17441,7 +17293,6 @@
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
"requires": {
"is-glob": "^4.0.1"
}
@@ -17459,7 +17310,6 @@
"version": "13.17.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
- "dev": true,
"requires": {
"type-fest": "^0.20.2"
},
@@ -17467,8 +17317,7 @@
"type-fest": {
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ=="
}
}
},
@@ -17476,7 +17325,6 @@
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
- "dev": true,
"requires": {
"array-union": "^2.1.0",
"dir-glob": "^3.0.1",
@@ -17495,8 +17343,7 @@
"grapheme-splitter": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
- "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==",
- "dev": true
+ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ=="
},
"handlebars": {
"version": "4.7.7",
@@ -17535,8 +17382,7 @@
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
},
"has-property-descriptors": {
"version": "1.0.0",
@@ -17654,8 +17500,7 @@
"ignore": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
- "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
- "dev": true
+ "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ=="
},
"ignore-walk": {
"version": "5.0.1",
@@ -17690,7 +17535,6 @@
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
- "dev": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -17699,8 +17543,7 @@
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="
}
}
},
@@ -17717,8 +17560,7 @@
"imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="
},
"indent-string": {
"version": "4.0.0",
@@ -17736,7 +17578,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
@@ -17745,8 +17586,7 @@
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
"version": "1.3.8",
@@ -17908,8 +17748,7 @@
"is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="
},
"is-fullwidth-code-point": {
"version": "3.0.0",
@@ -17921,7 +17760,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"requires": {
"is-extglob": "^2.1.1"
}
@@ -17947,8 +17785,7 @@
"is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
},
"is-number-object": {
"version": "1.0.7",
@@ -18077,8 +17914,7 @@
"isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
},
"isobject": {
"version": "3.0.1",
@@ -18096,7 +17932,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
"requires": {
"argparse": "^2.0.1"
}
@@ -18122,14 +17957,12 @@
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
},
"json-stringify-nice": {
"version": "1.1.4",
@@ -18258,7 +18091,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"requires": {
"prelude-ls": "^1.2.1",
"type-check": "~0.4.0"
@@ -18403,8 +18235,7 @@
"lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
},
"log-symbols": {
"version": "4.1.0",
@@ -18584,14 +18415,12 @@
"merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "dev": true
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
},
"micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
- "dev": true,
"requires": {
"braces": "^3.0.2",
"picomatch": "^2.3.1"
@@ -18613,7 +18442,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@@ -18738,8 +18566,7 @@
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"multimatch": {
"version": "5.0.0",
@@ -18771,8 +18598,7 @@
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
},
"negotiator": {
"version": "0.6.3",
@@ -19325,7 +19151,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
"requires": {
"wrappy": "1"
}
@@ -19354,7 +19179,6 @@
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
- "dev": true,
"requires": {
"deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6",
@@ -19528,7 +19352,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"requires": {
"callsites": "^3.0.0"
}
@@ -19580,20 +19403,17 @@
"path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="
},
"path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="
},
"path-parse": {
"version": "1.0.7",
@@ -19604,8 +19424,7 @@
"path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
},
"picocolors": {
"version": "1.0.0",
@@ -19616,8 +19435,7 @@
"picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
},
"pify": {
"version": "5.0.0",
@@ -19637,8 +19455,7 @@
"prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="
},
"prettier": {
"version": "2.7.1",
@@ -19721,8 +19538,7 @@
"punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
- "dev": true
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"q": {
"version": "1.5.1",
@@ -19733,8 +19549,7 @@
"queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="
},
"quick-lru": {
"version": "4.0.1",
@@ -20041,8 +19856,7 @@
"regexpp": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
- "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",
- "dev": true
+ "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg=="
},
"regexpu-core": {
"version": "5.1.0",
@@ -20153,14 +19967,12 @@
"reusify": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
- "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "dev": true
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="
},
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
"requires": {
"glob": "^7.1.3"
},
@@ -20169,7 +19981,6 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -20191,7 +20002,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
"requires": {
"queue-microtask": "^1.2.2"
}
@@ -20256,7 +20066,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
"requires": {
"shebang-regex": "^3.0.0"
}
@@ -20264,8 +20073,7 @@
"shebang-regex": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="
},
"side-channel": {
"version": "1.0.4",
@@ -20287,8 +20095,7 @@
"slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
- "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="
},
"smart-buffer": {
"version": "4.2.0",
@@ -20467,7 +20274,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"requires": {
"ansi-regex": "^5.0.1"
}
@@ -20496,8 +20302,7 @@
"strip-json-comments": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
},
"strong-log-transformer": {
"version": "2.1.0",
@@ -20514,7 +20319,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
"requires": {
"has-flag": "^4.0.0"
}
@@ -20567,8 +20371,7 @@
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
},
"through": {
"version": "2.3.8",
@@ -20604,7 +20407,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
"requires": {
"is-number": "^7.0.0"
}
@@ -20699,7 +20501,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"requires": {
"prelude-ls": "^1.2.1"
}
@@ -20828,7 +20629,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
"requires": {
"punycode": "^2.1.0"
}
@@ -20848,8 +20648,7 @@
"v8-compile-cache": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
- "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
- "dev": true
+ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA=="
},
"v8-compile-cache-lib": {
"version": "3.0.1",
@@ -20913,7 +20712,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"requires": {
"isexe": "^2.0.0"
}
@@ -20943,8 +20741,7 @@
"word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
- "dev": true
+ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
},
"wordwrap": {
"version": "1.0.0",
@@ -20966,8 +20763,7 @@
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
"write-file-atomic": {
"version": "4.0.2",
@@ -21149,8 +20945,7 @@
"yocto-queue": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
}
}
}
diff --git a/package.json b/package.json
index 12a4d2034..f628a01b1 100644
--- a/package.json
+++ b/package.json
@@ -35,5 +35,8 @@
"lerna": "^5.4.0",
"nx": "^14.5.4",
"prettier": "^2.7.1"
+ },
+ "dependencies": {
+ "eslint-plugin-header": "^3.1.1"
}
}
diff --git a/packages/core/__e2e__/monographs.test.js b/packages/core/__e2e__/monographs.test.js
index a43f7aa42..91e5159a3 100644
--- a/packages/core/__e2e__/monographs.test.js
+++ b/packages/core/__e2e__/monographs.test.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { databaseTest, noteTest, StorageInterface } from "../__tests__/utils";
const user = {
email: process.env.EMAIL,
password: process.env.PASSWORD,
- hashedPassword: process.env.HASHED_PASSWORD,
+ hashedPassword: process.env.HASHED_PASSWORD
};
jest.setTimeout(15 * 1000);
diff --git a/packages/core/__e2e__/offers.test.js b/packages/core/__e2e__/offers.test.js
index 904d98514..54f203a9f 100644
--- a/packages/core/__e2e__/offers.test.js
+++ b/packages/core/__e2e__/offers.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import hosts from "../utils/constants";
import Offers from "../api/offers";
diff --git a/packages/core/__e2e__/token-manager.test.js b/packages/core/__e2e__/token-manager.test.js
index 96eb572cd..a101b0ed0 100644
--- a/packages/core/__e2e__/token-manager.test.js
+++ b/packages/core/__e2e__/token-manager.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import DB from "../api";
import StorageInterface from "../__mocks__/storage.mock";
@@ -22,7 +23,7 @@ import StorageInterface from "../__mocks__/storage.mock";
const user = {
email: process.env.EMAIL,
password: process.env.PASSWORD,
- hashedPassword: process.env.HASHED_PASSWORD,
+ hashedPassword: process.env.HASHED_PASSWORD
};
test("refresh token concurrently", async () => {
@@ -41,7 +42,7 @@ test("refresh token concurrently", async () => {
db.user.tokenManager._refreshToken(true),
db.user.tokenManager._refreshToken(true),
db.user.tokenManager._refreshToken(true),
- db.user.tokenManager._refreshToken(true),
+ db.user.tokenManager._refreshToken(true)
])
).toHaveLength(4);
}, 30000);
diff --git a/packages/core/__e2e__/user-manager.test.js b/packages/core/__e2e__/user-manager.test.js
index 8b4965065..df28ada2f 100644
--- a/packages/core/__e2e__/user-manager.test.js
+++ b/packages/core/__e2e__/user-manager.test.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { databaseTest } from "../__tests__/utils";
const user = {
email: process.env.EMAIL,
password: process.env.PASSWORD,
- hashed: process.env.HASHED_PASSWORD,
+ hashed: process.env.HASHED_PASSWORD
};
// test("signup user and check for token", async () => {
diff --git a/packages/core/__mocks__/fs.mock.js b/packages/core/__mocks__/fs.mock.js
index 833c1b7e7..78c0be232 100644
--- a/packages/core/__mocks__/fs.mock.js
+++ b/packages/core/__mocks__/fs.mock.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
var fs = {};
@@ -42,14 +43,14 @@ async function writeEncrypted(filename, { data }) {
iv: "some iv",
cipher: data,
salt: "i am some salt",
- length: data.length,
+ length: data.length
};
}
function hashBuffer(data) {
return {
hash: hashCode(data).toString(16),
- type: "xxh3",
+ type: "xxh3"
};
}
@@ -93,14 +94,14 @@ module.exports = {
downloadFile: cancellable(downloadFile),
deleteFile,
exists,
- clearFileStorage,
+ clearFileStorage
};
function cancellable(operation) {
return function (filename, requestOptions) {
return {
execute: () => operation(filename, requestOptions),
- cancel: () => {},
+ cancel: () => {}
};
};
}
diff --git a/packages/core/__mocks__/node-storage.mock.js b/packages/core/__mocks__/node-storage.mock.js
index f2d19c458..99f98a2f2 100644
--- a/packages/core/__mocks__/node-storage.mock.js
+++ b/packages/core/__mocks__/node-storage.mock.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NNCrypto } from "@notesnook/crypto";
diff --git a/packages/core/__mocks__/storage.mock.js b/packages/core/__mocks__/storage.mock.js
index a0871ff3f..81bb022db 100644
--- a/packages/core/__mocks__/storage.mock.js
+++ b/packages/core/__mocks__/storage.mock.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
var storage = {};
@@ -53,7 +54,7 @@ function encrypt(password, data) {
cipher: data,
salt: "i am some salt",
length: data.length,
- key: password,
+ key: password
});
});
}
@@ -97,5 +98,5 @@ module.exports = {
generateCryptoKey,
getCryptoKey,
getAllKeys,
- hash,
+ hash
};
diff --git a/packages/core/__tests__/__fixtures__/backup.v5.2.copy.json b/packages/core/__tests__/__fixtures__/backup.v5.2.copy.json
index 60631c5db..da70192f9 100644
--- a/packages/core/__tests__/__fixtures__/backup.v5.2.copy.json
+++ b/packages/core/__tests__/__fixtures__/backup.v5.2.copy.json
@@ -1 +1,97 @@
-{"version":5.2,"type":"web","date":1640684511432,"data":{"069b671dd48576dff9157120":{"id":"069b671dd48576dff9157120","contentId":"8454da84dfa427c2f75f70da","type":"note","title":"Table test note","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1640684417435,"dateEdited":1640684432529,"localOnly":false,"conflicted":false},"8454da84dfa427c2f75f70da":{"noteId":"069b671dd48576dff9157120","id":"8454da84dfa427c2f75f70da","type":"tiny","data":"<table style=\"border-collapse: collapse; width: 100.063%;\" border=\"1\"><tbody><tr><td style=\"width: 34.3648%;\">Hello<br></td><td style=\"width: 34.3648%;\">World<br></td></tr><tr><td style=\"width: 34.3648%;\">My <br></td><td style=\"width: 34.3648%;\">Name<br data-mce-bogus=\"1\"></td></tr></tbody></table>","dateEdited":1640684432525,"dateCreated":1640684426583,"localOnly":false,"persistDateEdited":false},"_uk_@[email protected]":{},"_uk_@[email protected]@_k":{"iv":{"0":17,"1":27,"2":18,"3":72,"4":98,"5":156,"6":43,"7":0,"8":63,"9":234,"10":35,"11":22},"cipher":{}},"c5f6fa4fef9be04c0f07f80e":{"noteId":"d3a7a9fbd4bb29ca41570c5e","id":"c5f6fa4fef9be04c0f07f80e","type":"tiny","data":"<ul style=\"list-style-type: none;\" class=\"tox-checklist\"><li>Hello<br></li><li class=\"tox-checklist--checked\">world<br data-mce-bogus=\"1\"></li><li class=\"tox-checklist--checked\">123<br data-mce-bogus=\"1\"></li><li>abc<br data-mce-bogus=\"1\"></li></ul><p>test completed.<br data-mce-bogus=\"1\"></p>","dateEdited":1640684464785,"dateCreated":1640684448878,"localOnly":false,"persistDateEdited":false},"content":["8454da84dfa427c2f75f70da","c5f6fa4fef9be04c0f07f80e"],"d3a7a9fbd4bb29ca41570c5e":{"id":"d3a7a9fbd4bb29ca41570c5e","contentId":"c5f6fa4fef9be04c0f07f80e","type":"note","title":"Checklist test","headline":"test completed.","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1640684443699,"dateEdited":1640684464786,"localOnly":false,"conflicted":false},"hasConflicts":false,"monographs":[],"notes":["069b671dd48576dff9157120","d3a7a9fbd4bb29ca41570c5e"],"settings":{"type":"settings","id":"87a858b33cd6427364d176d4","pins":[],"groupOptions":{},"aliases":{},"dateEdited":0,"dateCreated":0},"token":{"access_token":"9E5F461613022DB4AC77BE5EA46D8AD67069E7361B8F3FC9F9E9C74409E4CA46","expires_in":3600,"token_type":"Bearer","refresh_token":"4489400BF30C61DCA8B84960620F5B01B165A8FE5C537AE4709E5492758F49ED","scope":"IdentityServerApi notesnook.sync offline_access openid","t":1640684404249}},"hash":"7b6bc37e3338f10535486f03ca71e42d","hash_type":"md5"}
\ No newline at end of file
+{
+ "version": 5.2,
+ "type": "web",
+ "date": 1640684511432,
+ "data": {
+ "069b671dd48576dff9157120": {
+ "id": "069b671dd48576dff9157120",
+ "contentId": "8454da84dfa427c2f75f70da",
+ "type": "note",
+ "title": "Table test note",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1640684417435,
+ "dateEdited": 1640684432529,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "8454da84dfa427c2f75f70da": {
+ "noteId": "069b671dd48576dff9157120",
+ "id": "8454da84dfa427c2f75f70da",
+ "type": "tiny",
+ "data": "<table style=\"border-collapse: collapse; width: 100.063%;\" border=\"1\"><tbody><tr><td style=\"width: 34.3648%;\">Hello<br></td><td style=\"width: 34.3648%;\">World<br></td></tr><tr><td style=\"width: 34.3648%;\">My <br></td><td style=\"width: 34.3648%;\">Name<br data-mce-bogus=\"1\"></td></tr></tbody></table>",
+ "dateEdited": 1640684432525,
+ "dateCreated": 1640684426583,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "_uk_@[email protected]": {},
+ "_uk_@[email protected]@_k": {
+ "iv": {
+ "0": 17,
+ "1": 27,
+ "2": 18,
+ "3": 72,
+ "4": 98,
+ "5": 156,
+ "6": 43,
+ "7": 0,
+ "8": 63,
+ "9": 234,
+ "10": 35,
+ "11": 22
+ },
+ "cipher": {}
+ },
+ "c5f6fa4fef9be04c0f07f80e": {
+ "noteId": "d3a7a9fbd4bb29ca41570c5e",
+ "id": "c5f6fa4fef9be04c0f07f80e",
+ "type": "tiny",
+ "data": "<ul style=\"list-style-type: none;\" class=\"tox-checklist\"><li>Hello<br></li><li class=\"tox-checklist--checked\">world<br data-mce-bogus=\"1\"></li><li class=\"tox-checklist--checked\">123<br data-mce-bogus=\"1\"></li><li>abc<br data-mce-bogus=\"1\"></li></ul><p>test completed.<br data-mce-bogus=\"1\"></p>",
+ "dateEdited": 1640684464785,
+ "dateCreated": 1640684448878,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "content": ["8454da84dfa427c2f75f70da", "c5f6fa4fef9be04c0f07f80e"],
+ "d3a7a9fbd4bb29ca41570c5e": {
+ "id": "d3a7a9fbd4bb29ca41570c5e",
+ "contentId": "c5f6fa4fef9be04c0f07f80e",
+ "type": "note",
+ "title": "Checklist test",
+ "headline": "test completed.",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1640684443699,
+ "dateEdited": 1640684464786,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "hasConflicts": false,
+ "monographs": [],
+ "notes": ["069b671dd48576dff9157120", "d3a7a9fbd4bb29ca41570c5e"],
+ "settings": {
+ "type": "settings",
+ "id": "87a858b33cd6427364d176d4",
+ "pins": [],
+ "groupOptions": {},
+ "aliases": {},
+ "dateEdited": 0,
+ "dateCreated": 0
+ },
+ "token": {
+ "access_token": "9E5F461613022DB4AC77BE5EA46D8AD67069E7361B8F3FC9F9E9C74409E4CA46",
+ "expires_in": 3600,
+ "token_type": "Bearer",
+ "refresh_token": "4489400BF30C61DCA8B84960620F5B01B165A8FE5C537AE4709E5492758F49ED",
+ "scope": "IdentityServerApi notesnook.sync offline_access openid",
+ "t": 1640684404249
+ }
+ },
+ "hash": "7b6bc37e3338f10535486f03ca71e42d",
+ "hash_type": "md5"
+}
diff --git a/packages/core/__tests__/__fixtures__/backup.v5.2.json b/packages/core/__tests__/__fixtures__/backup.v5.2.json
index c35592c79..422a755e7 100644
--- a/packages/core/__tests__/__fixtures__/backup.v5.2.json
+++ b/packages/core/__tests__/__fixtures__/backup.v5.2.json
@@ -1 +1,486 @@
-{"version":5.2,"type":"web","date":1638365713963,"data":{"0b8d572affcdfcdd0fe9d118":{"noteId":"9b282b935507af9457d705d8","id":"0b8d572affcdfcdd0fe9d118","type":"tiny","data":"<p>Simple note for you and me home alone</p>","dateEdited":1637824395217,"dateCreated":1637821810578,"localOnly":false,"persistDateEdited":false},"146eb9be954e1e5f90ac1a07":{"id":"146eb9be954e1e5f90ac1a07","contentId":"9370239ca8b44f7396d90a02","type":"note","title":"File attach","headline":"   AppNee.com.How.to.Win.Friends.and.Influence.People.epub ","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637820136986,"dateEdited":1637820290965,"localOnly":false,"conflicted":false},"1e9913b7bb50d24f5e7caf8b":{"id":"1e9913b7bb50d24f5e7caf8b","contentId":"b11f395f15ddac465f9a67fb","type":"note","title":"Hello World","headline":"I am well.","pinned":false,"locked":false,"notebooks":[{"id":"2c3581d10c41d92a6459124e","topics":["7b60eaca0172d23c5cd79509"]}],"tags":[],"favorite":false,"dateCreated":1637419690580,"dateEdited":1637422042668,"localOnly":false,"conflicted":false},"2a992e895cb2828f994d48e5":{"type":"attachment","id":"2a992e895cb2828f994d48e5","noteIds":["9baa36978a80453f80b2a68b"],"iv":"UcN0hbuI3vUZlyjZhmrJa_nxY_JgejpZ","salt":"2RLpMjjVEomqNVitqX8nHA","length":834313,"alg":"xcha-stream","key":{"format":"base64","alg":"xcha-argon2i13-7","cipher":"sUoRtGreL0mxMN0USAI5D1JoF4tkPaJ6PaKE6AkiqHkBY9xPG26XLj-VdsYsevHjbI_kWs2bBWJgHKuQttnng-SC8mIYUjUkoIbyxqLVMqMLCVeUiYjIULd7Eo67ZGMXSc5m0rs","iv":"VFzCIphJc7Kp7_p0-fdVL8LwIhmCXPaZ","salt":"0gbTx42hgy74LCI-2j1eOg","length":85},"chunkSize":524288,"metadata":{"hash":"01bfe0c85ba4c130","hashType":"xxh64","filename":"streetwriters222 (1).png","type":"image/png"},"dateCreated":1637819232185,"dateEdited":1637819238309,"dateUploaded":1637819238309},"2c3581d10c41d92a6459124e":{"id":"2c3581d10c41d92a6459124e","type":"notebook","title":"New Notebook","dateCreated":1637419946564,"dateEdited":1638365653907,"pinned":false,"topics":[{"type":"topic","id":"7b60eaca0172d23c5cd79509","notebookId":"2c3581d10c41d92a6459124e","title":"I am in a new notebook","dateCreated":1637419951316,"dateEdited":1638365653907,"notes":["1e9913b7bb50d24f5e7caf8b"]}]},"34209af5c488ef53e2d66b29":{"id":"34209af5c488ef53e2d66b29","contentId":"882ddf8ff64b4664512d806c","type":"note","title":"Open main menuWikinewsSearchNew Zealand ","headline":"Open main menujjj","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637820249821,"dateEdited":1637824582069,"localOnly":false,"conflicted":false},"3beeb650f7bc9038a993a8af":{"id":"3beeb650f7bc9038a993a8af","contentId":"fc0dcfeb132afc54c8f14e58","type":"note","title":"A file","headline":"  j","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637820075893,"dateEdited":1637820126764,"localOnly":false,"conflicted":false},"3bf250cb8850a60c069e60e9":{"id":"3bf250cb8850a60c069e60e9","contentId":"7fa161d8a82bd0943ed92fae","type":"note","title":"Ab cd ef","headline":"Ab cd ef","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1638338099394,"dateEdited":1638338104083,"localOnly":false,"conflicted":false},"5acc7605364ec64536fcd01b":{"id":"5acc7605364ec64536fcd01b","contentId":"92a01a16ccc3c2366cc2440f","type":"note","title":"Hello","headline":" jjkbjfa ","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637819974019,"dateEdited":1637820123811,"localOnly":false,"conflicted":false},"5cf86e67c511be0e63fe8d11":{"id":"5cf86e67c511be0e63fe8d11","contentId":"b8daae0b425606fdb7c4431a","type":"note","title":"Hello","headline":"streetwriters/notesnookPublic","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637816302672,"dateEdited":1637817281403,"localOnly":false,"conflicted":false},"65bfe8441bb9be2d71608353":{"type":"attachment","id":"65bfe8441bb9be2d71608353","noteIds":["5acc7605364ec64536fcd01b"],"iv":"AoiKu4RGxvU2vUXB2YqkfSBDtvvYLyrx","salt":"bZw2NUIM9QrytSyw0Oj-ZQ","length":292318,"alg":"xcha-stream","key":{"format":"base64","alg":"xcha-argon2i13-7","cipher":"Ki01j8jk2USp8lzX0bUEV06JUk-saV67WeS5lDzGwj4gqTpgeyEjlQ65tuf107HBgANuuycV0pCLaSrNHSo9BtJvYrLd6sakLJ48QfLqhraOY3l2l8wSBXa6Yhi3241ja1BeN2g","iv":"7P0uBT5tg3iMs0N1OSFeMAg9kfs7MyKK","salt":"0gbTx42hgy74LCI-2j1eOg","length":85},"chunkSize":524288,"metadata":{"hash":"5465e544695bb881","hashType":"xxh64","filename":"IMG_20211029_114530 (1).jpg","type":"image/jpeg"},"dateCreated":1637819983545,"dateEdited":1637819984729,"dateUploaded":1637819984728},"67061ba01cd59339a140b10c":{"type":"attachment","id":"67061ba01cd59339a140b10c","noteIds":["3beeb650f7bc9038a993a8af"],"iv":"j0jritvqNgJa0pEit93RFV0L7Ic1cRKE","salt":"ZD6fUUggBe2hRJwUx2Ysiw","length":82403,"alg":"xcha-stream","key":{"cipher":"VC8878Xy2ZH6HWlBycOS_OEg_udJ1LQQMCI7uwTDHxUdim7E1jXKbWzTet31QRAXrc1JVUPp-hN0k8n5AT7H8PXYgw5vKzC5qYZdlpn0-E2U_cxcsSF6b5CNLdDOt9IqUsoPbms","length":85,"salt":"0gbTx42hgy74LCI-2j1eOg","iv":"2qu2bjHtj02ITYj9guIjBnY1VYWQ1_ur","alg":"xcha-argon2i13-7"},"chunkSize":524288,"metadata":{"hash":"2ac8f3e316f13065","hashType":"xxh3","filename":"MTgzNDc1NTI4OTQ5MzEwNTAy.webp","type":"image/jpeg"},"dateCreated":1637820098931,"dateEdited":1637820099445,"dateUploaded":1637820099445},"70eda84d31b446147752c34f":{"type":"attachment","id":"70eda84d31b446147752c34f","noteIds":["9baa36978a80453f80b2a68b"],"iv":"r1kILq14sxoQr0PiZZduS9Tt-3kIHcXI","salt":"n8p0iwciM2oGZxqDxFua1g","length":12978002,"alg":"xcha-stream","key":{"format":"base64","alg":"xcha-argon2i13-7","cipher":"Mt19GpRrW0QoBkRY6wUZXvsOsqUYFjh929-KXoHAp20bDpudJ_BeAlFrHqjo54w_nmoHH6z-Q-htTmg4uqFCQqEWbMvB0GHY-Q1D2UlAg6Akliunr6eoCJA-rsj1uSzx6aq1VNA","iv":"eAclXNk0XzZaJ0QXgQC37G4M0caApbYq","salt":"0gbTx42hgy74LCI-2j1eOg","length":85},"chunkSize":524288,"metadata":{"hash":"157f8fbf3564b7e0","hashType":"xxh64","filename":"bin.tar.gz","type":"application/gzip"},"dateCreated":1637820136938,"dateEdited":1637820140905,"dateUploaded":1637820140905},"7fa161d8a82bd0943ed92fae":{"noteId":"3bf250cb8850a60c069e60e9","id":"7fa161d8a82bd0943ed92fae","type":"tiny","data":"<p>Ab cd ef</p>","dateEdited":1638338104082,"dateCreated":1638338099390,"localOnly":false,"persistDateEdited":false},"882ddf8ff64b4664512d806c":{"noteId":"34209af5c488ef53e2d66b29","id":"882ddf8ff64b4664512d806c","type":"tiny","data":"<header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menujjj</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021 gg&nbsp; &nbsp;</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles&nbsp;</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarter in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the&nbsp;<a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menu</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarters in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the <a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to 0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19 Reuters poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to The Guardian, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at Westpac Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the Delta variant of COVID-19 and lockdown in the capital city Auckland. Senior market strategist at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the United States, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on Federal Reserve chair Jerome Powell to accelerate the process of tapering its monthly bond purchases, according to the Associated Press. The Bank of England and European Central Bank (ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names Norway, the Czech Republic and South Korea, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menu</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarters in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the&nbsp;<a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]mn mn nnnnnn n&nbsp;</p></div></footer></div></footer></div></footer>","dateEdited":1637824581662,"dateCreated":1637820249799,"localOnly":false,"persistDateEdited":false},"92a01a16ccc3c2366cc2440f":{"noteId":"5acc7605364ec64536fcd01b","id":"92a01a16ccc3c2366cc2440f","type":"tiny","data":"<p> <img class=\"attachment\" alt=\"IMG_20211029_114530 (1).jpg\" data-mime=\"image/jpeg\" data-hash=\"5465e544695bb881\" data-filename=\"IMG_20211029_114530 (1).jpg\" data-size=\"760491\" width=\"311\" height=\"201\" style=\"float: left;\">jjkbjfa&nbsp;</p><p></p>","dateEdited":1637820123804,"dateCreated":1637819983744,"localOnly":false,"persistDateEdited":false},"9370239ca8b44f7396d90a02":{"noteId":"146eb9be954e1e5f90ac1a07","id":"9370239ca8b44f7396d90a02","type":"tiny","data":"<p> <span class=\"attachment\" title=\"AppNee.com.How.to.Win.Friends.and.Influence.People.epub\" contenteditable=\"false\" data-mime=\"application/epub+zip\" data-filename=\"AppNee.com.How.to.Win.Friends.and.Influence.People.epub\" data-hash=\"5df31c08a283a5e1\" data-size=\"1.9M\" style=\"\"> <em>&nbsp;</em> <span class=\"filename\">AppNee.com.How.to.Win.Friends.and.Influence.People.epub</span> </span></p>","dateEdited":1637820290960,"dateCreated":1637820153366,"localOnly":false,"persistDateEdited":false},"9b282b935507af9457d705d8":{"id":"9b282b935507af9457d705d8","contentId":"0b8d572affcdfcdd0fe9d118","type":"note","title":"This is a note","headline":"Simple note for you and me home alone","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637821810596,"dateEdited":1637824395224,"localOnly":false,"conflicted":false},"9baa36978a80453f80b2a68b":{"id":"9baa36978a80453f80b2a68b","contentId":"c2dd0fa56d2ac84cc5645b4b","type":"note","title":"Attachment test","headline":"I am attachments.","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1637819212832,"dateEdited":1638365700897,"localOnly":false,"conflicted":false},"_uk_@[email protected]":{},"_uk_@[email protected]@_k":{"iv":{"0":48,"1":219,"2":154,"3":4,"4":168,"5":105,"6":52,"7":94,"8":196,"9":215,"10":154,"11":104},"cipher":{}},"attachments":["2a992e895cb2828f994d48e5","65bfe8441bb9be2d71608353","67061ba01cd59339a140b10c","70eda84d31b446147752c34f","c41e75d1501d1b2ace3d78d8"],"b11f395f15ddac465f9a67fb":{"noteId":"1e9913b7bb50d24f5e7caf8b","id":"b11f395f15ddac465f9a67fb","type":"tiny","data":"<p>I am well. Don't worry.</p>","dateEdited":1637422042660,"dateCreated":1637419691713,"localOnly":false,"persistDateEdited":false},"b8daae0b425606fdb7c4431a":{"noteId":"5cf86e67c511be0e63fe8d11","id":"b8daae0b425606fdb7c4431a","type":"tiny","data":"<p>streetwriters<br>/<br>notesnook<br>Public</p>","dateEdited":1637817281400,"dateCreated":1637816484695,"localOnly":false,"persistDateEdited":false},"c2dd0fa56d2ac84cc5645b4b":{"noteId":"9baa36978a80453f80b2a68b","id":"c2dd0fa56d2ac84cc5645b4b","type":"tiny","data":"<p>I am attachments.</p><p><img class=\"attachment\" alt=\"streetwriters222 (1).png\" data-mime=\"image/png\" data-hash=\"01bfe0c85ba4c130\" data-filename=\"streetwriters222 (1).png\" data-size=\"1508567\" width=\"174\" height=\"174\" style=\"float: left;\" data-mce-style=\"float: left;\"> &nbsp;</p><p><span class=\"attachment\" title=\"bin.tar.gz\" contenteditable=\"false\" data-mime=\"application/gzip\" data-filename=\"bin.tar.gz\" data-hash=\"157f8fbf3564b7e0\" data-size=\"12.4M\" data-mce-contenteditable=\"false\" style=\"\"> <em>&nbsp;</em> <span class=\"filename\">bin.tar.gz</span> </span></p>","dateEdited":1638365700882,"dateCreated":1637819214019,"localOnly":false,"persistDateEdited":false},"c41e75d1501d1b2ace3d78d8":{"type":"attachment","id":"c41e75d1501d1b2ace3d78d8","noteIds":["146eb9be954e1e5f90ac1a07"],"iv":"RTDRY4I-tKy2o9gAY61CYXCarhCHtPlq","salt":"CCtYaK8PGv8kl4SMKIchTg","length":1945565,"alg":"xcha-stream","key":{"cipher":"YichINF6oaJnxlZutrLQm3XIUyu2zRJ7soP_VQmlCWU5SJAg1VagwJiFAigxcPYVZqQe9BiWjBxfKKPzuP8PmfYixNFtAEY0XuU6BDYQ7YQoBYYZXQcllfCkO53wj49j7ScE5Ro","length":85,"salt":"0gbTx42hgy74LCI-2j1eOg","iv":"z7tZ8P0ST3uouLQhXl0Si3dbx5Fhnr6x","alg":"xcha-argon2i13-7"},"chunkSize":524288,"metadata":{"hash":"5df31c08a283a5e1","hashType":"xxh3","filename":"AppNee.com.How.to.Win.Friends.and.Influence.People.epub","type":"application/epub+zip"},"dateCreated":1637820152545,"dateEdited":1637820155024,"dateUploaded":1637820155024},"content":["7fa161d8a82bd0943ed92fae","c2dd0fa56d2ac84cc5645b4b","b8daae0b425606fdb7c4431a","e784269182c9826ab2e85a97","882ddf8ff64b4664512d806c","0b8d572affcdfcdd0fe9d118","9370239ca8b44f7396d90a02","fc0dcfeb132afc54c8f14e58","92a01a16ccc3c2366cc2440f","b11f395f15ddac465f9a67fb"],"e784269182c9826ab2e85a97":{"noteId":"f207e68809aa7290f34f8aa2","id":"e784269182c9826ab2e85a97","type":"tiny","data":"<p>Function</p>\n<p>Hello</p>\n<pre class=\"hljs language-javascript\" spellcheck=\"false\"><span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">google</span>() {<br><span class=\"hljs-keyword\">var</span> <span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">google</span>();<br><span class=\"hljs-title class_\">Function</span> <span class=\"hljs-title function_\">google</span>();<br>}</pre>\n<p>Hh</p>\n<p>&nbsp;</p>","dateEdited":1636008302297,"dateCreated":1636007249002,"localOnly":false,"persistDateEdited":false},"f207e68809aa7290f34f8aa2":{"id":"f207e68809aa7290f34f8aa2","contentId":"e784269182c9826ab2e85a97","type":"note","title":"Google","headline":"Function","pinned":false,"locked":false,"tags":[],"favorite":false,"dateCreated":1636007242481,"dateEdited":1636008302303,"localOnly":false,"conflicted":false},"fc0dcfeb132afc54c8f14e58":{"noteId":"3beeb650f7bc9038a993a8af","id":"fc0dcfeb132afc54c8f14e58","type":"tiny","data":"<p><img class=\"attachment\" alt=\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\" data-mime=\"image/jpeg\" data-hash=\"2ac8f3e316f13065\" data-filename=\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\" data-size=\"82403\" style=\"float: left;\" data-mce-style=\"float: left;\">&nbsp; j</p><p><br></p>","dateEdited":1637820126763,"dateCreated":1637820099669,"localOnly":false,"persistDateEdited":false},"hasConflicts":false,"monographs":[],"notebooks":["2c3581d10c41d92a6459124e"],"notes":["3bf250cb8850a60c069e60e9","9baa36978a80453f80b2a68b","5cf86e67c511be0e63fe8d11","f207e68809aa7290f34f8aa2","34209af5c488ef53e2d66b29","9b282b935507af9457d705d8","146eb9be954e1e5f90ac1a07","3beeb650f7bc9038a993a8af","5acc7605364ec64536fcd01b","1e9913b7bb50d24f5e7caf8b"],"settings":{"type":"settings","id":"b084b8c75649681351a5fb2b","pins":[],"groupOptions":{},"aliases":{},"dateEdited":1638365694263,"dateCreated":0},"token":{"access_token":"A6418D79DE4C61C903355FEA8D91B6D4F566FDCA113887ADAEE1056753B4A0B6","expires_in":3600,"token_type":"Bearer","refresh_token":"C1960767C8C9B7E86029D78D353A432EC27F57E05988F75C3DDDB1D740999180","scope":"IdentityServerApi notesnook.sync offline_access openid","t":1638365647917}},"hash":"cc0ab4e6741560abfd5e9ba00bf64f44","hash_type":"md5"}
\ No newline at end of file
+{
+ "version": 5.2,
+ "type": "web",
+ "date": 1638365713963,
+ "data": {
+ "0b8d572affcdfcdd0fe9d118": {
+ "noteId": "9b282b935507af9457d705d8",
+ "id": "0b8d572affcdfcdd0fe9d118",
+ "type": "tiny",
+ "data": "<p>Simple note for you and me home alone</p>",
+ "dateEdited": 1637824395217,
+ "dateCreated": 1637821810578,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "146eb9be954e1e5f90ac1a07": {
+ "id": "146eb9be954e1e5f90ac1a07",
+ "contentId": "9370239ca8b44f7396d90a02",
+ "type": "note",
+ "title": "File attach",
+ "headline": "   AppNee.com.How.to.Win.Friends.and.Influence.People.epub ",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637820136986,
+ "dateEdited": 1637820290965,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "1e9913b7bb50d24f5e7caf8b": {
+ "id": "1e9913b7bb50d24f5e7caf8b",
+ "contentId": "b11f395f15ddac465f9a67fb",
+ "type": "note",
+ "title": "Hello World",
+ "headline": "I am well.",
+ "pinned": false,
+ "locked": false,
+ "notebooks": [
+ {
+ "id": "2c3581d10c41d92a6459124e",
+ "topics": ["7b60eaca0172d23c5cd79509"]
+ }
+ ],
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637419690580,
+ "dateEdited": 1637422042668,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "2a992e895cb2828f994d48e5": {
+ "type": "attachment",
+ "id": "2a992e895cb2828f994d48e5",
+ "noteIds": ["9baa36978a80453f80b2a68b"],
+ "iv": "UcN0hbuI3vUZlyjZhmrJa_nxY_JgejpZ",
+ "salt": "2RLpMjjVEomqNVitqX8nHA",
+ "length": 834313,
+ "alg": "xcha-stream",
+ "key": {
+ "format": "base64",
+ "alg": "xcha-argon2i13-7",
+ "cipher": "sUoRtGreL0mxMN0USAI5D1JoF4tkPaJ6PaKE6AkiqHkBY9xPG26XLj-VdsYsevHjbI_kWs2bBWJgHKuQttnng-SC8mIYUjUkoIbyxqLVMqMLCVeUiYjIULd7Eo67ZGMXSc5m0rs",
+ "iv": "VFzCIphJc7Kp7_p0-fdVL8LwIhmCXPaZ",
+ "salt": "0gbTx42hgy74LCI-2j1eOg",
+ "length": 85
+ },
+ "chunkSize": 524288,
+ "metadata": {
+ "hash": "01bfe0c85ba4c130",
+ "hashType": "xxh64",
+ "filename": "streetwriters222 (1).png",
+ "type": "image/png"
+ },
+ "dateCreated": 1637819232185,
+ "dateEdited": 1637819238309,
+ "dateUploaded": 1637819238309
+ },
+ "2c3581d10c41d92a6459124e": {
+ "id": "2c3581d10c41d92a6459124e",
+ "type": "notebook",
+ "title": "New Notebook",
+ "dateCreated": 1637419946564,
+ "dateEdited": 1638365653907,
+ "pinned": false,
+ "topics": [
+ {
+ "type": "topic",
+ "id": "7b60eaca0172d23c5cd79509",
+ "notebookId": "2c3581d10c41d92a6459124e",
+ "title": "I am in a new notebook",
+ "dateCreated": 1637419951316,
+ "dateEdited": 1638365653907,
+ "notes": ["1e9913b7bb50d24f5e7caf8b"]
+ }
+ ]
+ },
+ "34209af5c488ef53e2d66b29": {
+ "id": "34209af5c488ef53e2d66b29",
+ "contentId": "882ddf8ff64b4664512d806c",
+ "type": "note",
+ "title": "Open main menuWikinewsSearchNew Zealand ",
+ "headline": "Open main menujjj",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637820249821,
+ "dateEdited": 1637824582069,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "3beeb650f7bc9038a993a8af": {
+ "id": "3beeb650f7bc9038a993a8af",
+ "contentId": "fc0dcfeb132afc54c8f14e58",
+ "type": "note",
+ "title": "A file",
+ "headline": "  j",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637820075893,
+ "dateEdited": 1637820126764,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "3bf250cb8850a60c069e60e9": {
+ "id": "3bf250cb8850a60c069e60e9",
+ "contentId": "7fa161d8a82bd0943ed92fae",
+ "type": "note",
+ "title": "Ab cd ef",
+ "headline": "Ab cd ef",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1638338099394,
+ "dateEdited": 1638338104083,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "5acc7605364ec64536fcd01b": {
+ "id": "5acc7605364ec64536fcd01b",
+ "contentId": "92a01a16ccc3c2366cc2440f",
+ "type": "note",
+ "title": "Hello",
+ "headline": " jjkbjfa ",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637819974019,
+ "dateEdited": 1637820123811,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "5cf86e67c511be0e63fe8d11": {
+ "id": "5cf86e67c511be0e63fe8d11",
+ "contentId": "b8daae0b425606fdb7c4431a",
+ "type": "note",
+ "title": "Hello",
+ "headline": "streetwriters/notesnookPublic",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637816302672,
+ "dateEdited": 1637817281403,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "65bfe8441bb9be2d71608353": {
+ "type": "attachment",
+ "id": "65bfe8441bb9be2d71608353",
+ "noteIds": ["5acc7605364ec64536fcd01b"],
+ "iv": "AoiKu4RGxvU2vUXB2YqkfSBDtvvYLyrx",
+ "salt": "bZw2NUIM9QrytSyw0Oj-ZQ",
+ "length": 292318,
+ "alg": "xcha-stream",
+ "key": {
+ "format": "base64",
+ "alg": "xcha-argon2i13-7",
+ "cipher": "Ki01j8jk2USp8lzX0bUEV06JUk-saV67WeS5lDzGwj4gqTpgeyEjlQ65tuf107HBgANuuycV0pCLaSrNHSo9BtJvYrLd6sakLJ48QfLqhraOY3l2l8wSBXa6Yhi3241ja1BeN2g",
+ "iv": "7P0uBT5tg3iMs0N1OSFeMAg9kfs7MyKK",
+ "salt": "0gbTx42hgy74LCI-2j1eOg",
+ "length": 85
+ },
+ "chunkSize": 524288,
+ "metadata": {
+ "hash": "5465e544695bb881",
+ "hashType": "xxh64",
+ "filename": "IMG_20211029_114530 (1).jpg",
+ "type": "image/jpeg"
+ },
+ "dateCreated": 1637819983545,
+ "dateEdited": 1637819984729,
+ "dateUploaded": 1637819984728
+ },
+ "67061ba01cd59339a140b10c": {
+ "type": "attachment",
+ "id": "67061ba01cd59339a140b10c",
+ "noteIds": ["3beeb650f7bc9038a993a8af"],
+ "iv": "j0jritvqNgJa0pEit93RFV0L7Ic1cRKE",
+ "salt": "ZD6fUUggBe2hRJwUx2Ysiw",
+ "length": 82403,
+ "alg": "xcha-stream",
+ "key": {
+ "cipher": "VC8878Xy2ZH6HWlBycOS_OEg_udJ1LQQMCI7uwTDHxUdim7E1jXKbWzTet31QRAXrc1JVUPp-hN0k8n5AT7H8PXYgw5vKzC5qYZdlpn0-E2U_cxcsSF6b5CNLdDOt9IqUsoPbms",
+ "length": 85,
+ "salt": "0gbTx42hgy74LCI-2j1eOg",
+ "iv": "2qu2bjHtj02ITYj9guIjBnY1VYWQ1_ur",
+ "alg": "xcha-argon2i13-7"
+ },
+ "chunkSize": 524288,
+ "metadata": {
+ "hash": "2ac8f3e316f13065",
+ "hashType": "xxh3",
+ "filename": "MTgzNDc1NTI4OTQ5MzEwNTAy.webp",
+ "type": "image/jpeg"
+ },
+ "dateCreated": 1637820098931,
+ "dateEdited": 1637820099445,
+ "dateUploaded": 1637820099445
+ },
+ "70eda84d31b446147752c34f": {
+ "type": "attachment",
+ "id": "70eda84d31b446147752c34f",
+ "noteIds": ["9baa36978a80453f80b2a68b"],
+ "iv": "r1kILq14sxoQr0PiZZduS9Tt-3kIHcXI",
+ "salt": "n8p0iwciM2oGZxqDxFua1g",
+ "length": 12978002,
+ "alg": "xcha-stream",
+ "key": {
+ "format": "base64",
+ "alg": "xcha-argon2i13-7",
+ "cipher": "Mt19GpRrW0QoBkRY6wUZXvsOsqUYFjh929-KXoHAp20bDpudJ_BeAlFrHqjo54w_nmoHH6z-Q-htTmg4uqFCQqEWbMvB0GHY-Q1D2UlAg6Akliunr6eoCJA-rsj1uSzx6aq1VNA",
+ "iv": "eAclXNk0XzZaJ0QXgQC37G4M0caApbYq",
+ "salt": "0gbTx42hgy74LCI-2j1eOg",
+ "length": 85
+ },
+ "chunkSize": 524288,
+ "metadata": {
+ "hash": "157f8fbf3564b7e0",
+ "hashType": "xxh64",
+ "filename": "bin.tar.gz",
+ "type": "application/gzip"
+ },
+ "dateCreated": 1637820136938,
+ "dateEdited": 1637820140905,
+ "dateUploaded": 1637820140905
+ },
+ "7fa161d8a82bd0943ed92fae": {
+ "noteId": "3bf250cb8850a60c069e60e9",
+ "id": "7fa161d8a82bd0943ed92fae",
+ "type": "tiny",
+ "data": "<p>Ab cd ef</p>",
+ "dateEdited": 1638338104082,
+ "dateCreated": 1638338099390,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "882ddf8ff64b4664512d806c": {
+ "noteId": "34209af5c488ef53e2d66b29",
+ "id": "882ddf8ff64b4664512d806c",
+ "type": "tiny",
+ "data": "<header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menujjj</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021 gg&nbsp; &nbsp;</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles&nbsp;</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarter in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the&nbsp;<a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menu</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarters in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the <a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to 0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19 Reuters poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to The Guardian, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at Westpac Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the Delta variant of COVID-19 and lockdown in the capital city Auckland. Senior market strategist at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the United States, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on Federal Reserve chair Jerome Powell to accelerate the process of tapering its monthly bond purchases, according to the Associated Press. The Bank of England and European Central Bank (ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names Norway, the Czech Republic and South Korea, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><header class=\"header-container header-chrome\"><form class=\"minerva-header\" action=\"https://en.m.wikinews.org/w/index.php\" method=\"get\"><nav class=\"navigation-drawer toggle-list view-border-box\"><input id=\"main-menu-input\" class=\"toggle-list__checkbox\" role=\"button\" type=\"checkbox\" aria-labelledby=\"mw-mf-main-menu-button\"><label id=\"mw-mf-main-menu-button\" class=\" mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-menu-base20 mw-ui-icon-flush-left toggle-list__toggle\" title=\"Open main menu\" for=\"main-menu-input\" data-event-name=\"ui.mainmenu\">Open main menu</label><div id=\"mw-mf-page-left\" class=\"menu toggle-list__list view-border-box\"><ul id=\"p-navigation\"><li class=\"\"><br></li><li class=\"\"><br></li></ul><ul id=\"p-personal\"><li class=\"\"><br></li></ul><ul id=\"pt-preferences\"><li class=\"jsonly\"><br></li></ul><ul id=\"p-donation\"><li class=\"\"><br></li></ul><ul class=\"hlist\"><li class=\"\"><br></li><li class=\"\"><br></li></ul></div><label class=\"main-menu-mask\" for=\"main-menu-input\"></label></nav><div class=\"branding-box\"><a href=\"https://en.m.wikinews.org/wiki/Main_Page\" data-mce-href=\"https://en.m.wikinews.org/wiki/Main_Page\">Wikinews</a></div><nav class=\"minerva-user-navigation\" aria-label=\"User navigation\"><div><button id=\"searchIcon\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search-base20 skin-minerva-search-trigger mw-ui-button mw-ui-quiet\">Search</button></div></nav></form></header><main id=\"content\" class=\"mw-body\"><div class=\"banner-container\"><div id=\"siteNotice\"><div id=\"centralNotice\"></div></div></div><div class=\"pre-content heading-holder\"><div class=\"page-heading\"><h1 id=\"section_0\">New Zealand raises interest rates in second straight month to 0.75%</h1><div class=\"tagline\"><br></div></div><nav class=\"page-actions-menu\"><ul id=\"page-actions\" class=\"page-actions-menu__list\"><li id=\"language-selector\" class=\"page-actions-menu__list-item\"><a id=\"\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-language-base20 mw-ui-button mw-ui-quiet mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet language-selector disabled\" title=\"Language\" role=\"button\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mw=\"interface\" data-event-name=\"menu.languages\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Language</a></li><li id=\"minerva-download\" class=\"mw-list-item mw-list-item-js page-actions-menu__list-item\" data-minerva-portlet=\"true\"><a accesskey=\"p\" title=\"Download PDF [alt-p]\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\"><span class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet mw-ui-icon-minerva-download\">Download PDF</span></a></li><li id=\"page-actions-watch\" class=\"page-actions-menu__list-item\"><a id=\"ca-watch\" class=\"mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-star-base20 mw-ui-icon-with-label-desktop watch-this-article mw-ui-button mw-ui-quiet mw-watchlink menu__item--page-actions-watch\" title=\"Watch\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\" data-mw=\"interface\" data-event-name=\"menu.watch\" aria-controls=\"mw-watchlink-notification\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25\">Watch</a></li><li id=\"page-actions-edit\" class=\"page-actions-menu__list-item\"><a id=\"ca-edit\" class=\"edit-page menu__item--page-actions-edit mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-editLock-base20 mw-ui-icon-with-label-desktop mw-ui-button mw-ui-quiet\" title=\"Edit the lead section of this page\" role=\"button\" href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\" data-mw=\"interface\" data-event-name=\"menu.edit\" data-mce-href=\"https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0\">Edit</a></li></ul></nav><div class=\"minerva__subtitle\"><br></div></div><div id=\"bodyContent\" class=\"content\"><div id=\"mw-content-text\" class=\"mw-body-content mw-content-ltr\" dir=\"ltr\" lang=\"en\"><div class=\"mw-parser-output\"><section id=\"mf-section-0\" class=\"mf-section-0\"><p><strong class=\"published\"><span id=\"publishDate\" class=\"value-title\" title=\"2021-11-25\"></span>Thursday, November 25, 2021</strong></p><div class=\"infobox noprint desktop-only\"><div><strong><a class=\"mw-redirect\" title=\"Economy and business\" href=\"https://en.m.wikinews.org/wiki/Economy_and_business\" data-mce-href=\"https://en.m.wikinews.org/wiki/Economy_and_business\">Economy and business</a></strong></div><div><div class=\"center\"><div class=\"floatnone\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Euro_coins_and_banknotes.jpg/150px-Euro_coins_and_banknotes.jpg\" alt=\"Euro coins and banknotes.jpg\" decoding=\"async\" width=\"150\" height=\"113\" data-file-width=\"2272\" data-file-height=\"1704\"></a></div></div></div><div>Related articles</div><div><ul><li>25 November 2021:&nbsp;<a title=\"New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">New Zealand raises interest rates in second straight month to 0.75%</a></li><li>5 November 2021:&nbsp;<a title=\"Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage\" href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage\">Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage</a></li><li>26 October 2021:&nbsp;<a title=\"UK pay freeze on public sector employees will end next year\" href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\" data-mce-href=\"https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year\">UK pay freeze on public sector employees will end next year</a></li><li>23 October 2021:&nbsp;<a title=\"Evergrande real estate firm makes missed September bond payment, avoids default\" href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\" data-mce-href=\"https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default\">Evergrande real estate firm makes missed September bond payment, avoids default</a></li><li>12 October 2021:&nbsp;<a title=\"Texas governor bans COVID-19 vaccine mandate by any 'entity'\" href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\" data-mce-href=\"https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27\">Texas governor bans COVID-19 vaccine mandate by any 'entity'</a></li></ul></div><div>Collaborate!</div><div><ul><li><a class=\"mw-redirect\" title=\"Wikinews:PILLARS\" href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:PILLARS\">Pillars of Wikinews writing</a></li><li><a class=\"mw-redirect\" title=\"Wikinews:WRITE\" href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\" data-mce-href=\"https://en.m.wikinews.org/wiki/Wikinews:WRITE\">Writing an article</a></li></ul></div></div><div class=\"thumb tleft\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Reserve_Bank_of_New_Zealand.jpg/220px-Reserve_Bank_of_New_Zealand.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"165\" class=\"thumbimage\" data-file-width=\"2592\" data-file-height=\"1944\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;headquarters in&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Wellington, New Zealand\" href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Wellington,_New_Zealand\">Wellington</a></span>.<br><span class=\"plainlinks\">Image:&nbsp;<a class=\"extiw\" title=\"c:User:Kaihsu\" href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\" data-mce-href=\"https://commons.wikimedia.org/wiki/User:Kaihsu\">Kaihsu Tai</a>.</span></div></div></div><p>The&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand\">Reserve Bank of New Zealand</a></span>&nbsp;(RBNZ) raised interest rates by 25 basis points to 0.75% during its last policy meeting of the year yesterday, after the rate of consumer price inflation was recorded at 4.9% in the third quarter, the highest since December 2007.</p><p>The hike to the national&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:official cash rate\" href=\"https://en.wikipedia.org/wiki/official_cash_rate\" data-mce-href=\"https://en.wikipedia.org/wiki/official_cash_rate\">official cash rate</a></span>&nbsp;(OCR) was widely expected by economists and the markets alike: 21 of the 23 economists surveyed in a November 15-19&nbsp;<a class=\"mw-redirect\" title=\"Reuters\" href=\"https://en.m.wikinews.org/wiki/Reuters\" data-mce-href=\"https://en.m.wikinews.org/wiki/Reuters\">Reuters</a>&nbsp;poll predicted an increase of 25 basis points, while the other two projected an increase by 50 basis points, to 1%.</p><p><a class=\"mw-redirect\" title=\"New Zealand\" href=\"https://en.m.wikinews.org/wiki/New_Zealand\" data-mce-href=\"https://en.m.wikinews.org/wiki/New_Zealand\">New Zealand</a>'s handling of&nbsp;<a class=\"mw-redirect\" title=\"COVID-19\" href=\"https://en.m.wikinews.org/wiki/COVID-19\" data-mce-href=\"https://en.m.wikinews.org/wiki/COVID-19\">COVID-19</a>&nbsp;included injecting \"huge amounts of fiscal and monetary stimulus\" into the economy, according to&nbsp;<em><a class=\"mw-redirect\" title=\"The Guardian\" href=\"https://en.m.wikinews.org/wiki/The_Guardian\" data-mce-href=\"https://en.m.wikinews.org/wiki/The_Guardian\">The Guardian</a></em>, in line with other major economies, which has pushed the unemployment rate to the lowest and inflation to its highest in over a decade. Stimulus spending and low interest rates, along with a shortage in housing led home prices to double in the last seven years, the least affordable of the&nbsp;<a class=\"mw-redirect\" title=\"OECD\" href=\"https://en.m.wikinews.org/wiki/OECD\" data-mce-href=\"https://en.m.wikinews.org/wiki/OECD\">OECD</a>&nbsp;nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation [accentuated] by higher oil prices, rising transport costs and the impact of supply shortfalls\" are risking \"generating more generalised price rises\", as reported by&nbsp;<a class=\"mw-redirect\" title=\"ABC News (Australia)\" href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\" data-mce-href=\"https://en.m.wikinews.org/wiki/ABC_News_(Australia)\">ABC News</a>. The RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024, according to Reuters; however, medians from a Friday article predicted the OCR would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Capital Economics\" href=\"https://en.wikipedia.org/wiki/Capital_Economics\" data-mce-href=\"https://en.wikipedia.org/wiki/Capital_Economics\">Capital Economics</a></span>&nbsp;Ben Udy, to a high of 3% by Q3 2023 according to acting chief economist at&nbsp;<a class=\"mw-redirect\" title=\"Westpac\" href=\"https://en.m.wikinews.org/wiki/Westpac\" data-mce-href=\"https://en.m.wikinews.org/wiki/Westpac\">Westpac</a>&nbsp;Michael Gordon, including a 0.5% rate hike during the RBNZ's next meeting in February, as reported by&nbsp;<em>The Guardian</em>.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to 0.5% on October 6, the first in seven years, as part of the RBNZ's tightening cycle initially slated to begin August but pushed back due to the&nbsp;<a class=\"mw-redirect\" title=\"SARS-CoV-2 Delta variant\" href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\" data-mce-href=\"https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant\">Delta variant</a>&nbsp;of COVID-19 and lockdown in the capital city&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Auckland\" href=\"https://en.wikipedia.org/wiki/Auckland\" data-mce-href=\"https://en.wikipedia.org/wiki/Auckland\">Auckland</a></span>. Senior market strategist at the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Bank of New Zealand\" href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\" data-mce-href=\"https://en.wikipedia.org/wiki/Bank_of_New_Zealand\">Bank of New Zealand</a></span>&nbsp;Jason Wong told Reuters then: \"We're on a path towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25 basis points back to levels where the OCR is marginally above the neutral rate as the most balanced approach we can take\", though Reuters reports the bank had considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with extremely high leverage levels have to be incredibly wary and have to understand they have to weather the higher interest rates\", after earlier taxes levied on property investors failed to cool rising house prices, which Reuters reports the RBNZ believes are above their sustainable level, and at increased chance for a correction. He also defended the stimulus but noted the growth in household debt ensuing.</p><div class=\"thumb tright\"><div class=\"thumbinner\"><a class=\"image\" href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\" data-mce-href=\"https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Jerome_H._Powell.jpg/220px-Jerome_H._Powell.jpg\" alt=\"\" decoding=\"async\" width=\"220\" height=\"275\" class=\"thumbimage\" data-file-width=\"2400\" data-file-height=\"3000\"></a><div class=\"thumbcaption\"><span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>, chair of the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>.<br><span class=\"plainlinks\">Image: Federal Reserve.</span></div></div></div><p>While countries globally are winding down pandemic-related stimulus measures, according to Reuters, there has been pushback from some countries when it comes to raising interest rates: in the&nbsp;<a class=\"mw-redirect\" title=\"United States\" href=\"https://en.m.wikinews.org/wiki/United_States\" data-mce-href=\"https://en.m.wikinews.org/wiki/United_States\">United States</a>, the inflation rate recently rose to 6.2%, the highest in 31 years, which has led some economists to put pressure on&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Federal Reserve\" href=\"https://en.wikipedia.org/wiki/Federal_Reserve\" data-mce-href=\"https://en.wikipedia.org/wiki/Federal_Reserve\">Federal Reserve</a></span>&nbsp;chair&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Jerome Powell\" href=\"https://en.wikipedia.org/wiki/Jerome_Powell\" data-mce-href=\"https://en.wikipedia.org/wiki/Jerome_Powell\">Jerome Powell</a></span>&nbsp;to accelerate the process of tapering its monthly bond purchases, according to the&nbsp;<a class=\"mw-redirect\" title=\"Associated Press\" href=\"https://en.m.wikinews.org/wiki/Associated_Press\" data-mce-href=\"https://en.m.wikinews.org/wiki/Associated_Press\">Associated Press</a>. The&nbsp;<a class=\"mw-redirect\" title=\"Bank of England\" href=\"https://en.m.wikinews.org/wiki/Bank_of_England\" data-mce-href=\"https://en.m.wikinews.org/wiki/Bank_of_England\">Bank of England</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"European Central Bank\" href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Central_Bank\">European Central Bank</a>&nbsp;(ECB) also both withstood criticism for a forecasted rise in inflationary pressures, according to The Guardian and Reuters.</p><p>ECB President&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Christine Lagarde\" href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\" data-mce-href=\"https://en.wikipedia.org/wiki/Christine_Lagarde\">Christine Lagarde</a></span>&nbsp;told the&nbsp;<a class=\"mw-redirect\" title=\"European Parliament\" href=\"https://en.m.wikinews.org/wiki/European_Parliament\" data-mce-href=\"https://en.m.wikinews.org/wiki/European_Parliament\">European Parliament</a>&nbsp;on November 15 \"an undue tightening of financing conditions is not desirable, and would represent an unwarranted headwind for the recovery\", adding \"[i]f we were to take any tightening measures now, it could cause far more harm than it would do any good\", as reported by Reuters.</p><p><a class=\"mw-redirect\" title=\"Australia\" href=\"https://en.m.wikinews.org/wiki/Australia\" data-mce-href=\"https://en.m.wikinews.org/wiki/Australia\">Australia</a>'s&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Reserve Bank of Australia\" href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\" data-mce-href=\"https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia\">Reserve Bank of Australia</a></span>&nbsp;(RBA) maintained its position that interest rates are not likely to rise until 2024. RBA Governor&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:Philip Lowe\" href=\"https://en.wikipedia.org/wiki/Philip_Lowe\" data-mce-href=\"https://en.wikipedia.org/wiki/Philip_Lowe\">Philip Lowe</a></span>&nbsp;told an Australian Businesses Economists lunch last week \"the latest data and forecasts do not warrant an increase in the cash rate in 2022\", and for one to be considered by the board \"[t]he economy and inflation would have to turn out very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand: Reuters names&nbsp;<a class=\"mw-redirect\" title=\"Norway\" href=\"https://en.m.wikinews.org/wiki/Norway\" data-mce-href=\"https://en.m.wikinews.org/wiki/Norway\">Norway</a>, the&nbsp;<a class=\"mw-redirect\" title=\"Czech Republic\" href=\"https://en.m.wikinews.org/wiki/Czech_Republic\" data-mce-href=\"https://en.m.wikinews.org/wiki/Czech_Republic\">Czech Republic</a>&nbsp;and&nbsp;<a class=\"mw-redirect\" title=\"South Korea\" href=\"https://en.m.wikinews.org/wiki/South_Korea\" data-mce-href=\"https://en.m.wikinews.org/wiki/South_Korea\">South Korea</a>, which is expected to raise rates again in a meeting today.</p><p>Reuters reports the&nbsp;<span class=\"interwiki-link-foreign\"><a class=\"extiw\" title=\"w:New Zealand dollar\" href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\" data-mce-href=\"https://en.wikipedia.org/wiki/New_Zealand_dollar\">New Zealand dollar</a></span>&nbsp;fell 0.6% due to some investors predicting a higher hike, and both 2- and 10-year government bonds slipped by 10 basis points each.</p><p><br></p><div align=\"center\"><div id=\"commentrequest\" class=\"noprint messagebox boilerplate plainlinks\"><p>Have an opinion on this story?&nbsp;<a title=\"Comments:New Zealand raises interest rates in second straight month to 0.75%\" href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Share it!</a></p></div></div></section><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sister_links\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-0\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sister links</span></h2><div class=\"mw-ui-icon mw-ui-icon-mf-expand mw-ui-icon-element mw-ui-icon-small indicator mw-ui-icon-flush-left\"><br></div><h2 class=\"section-heading collapsible-heading\"><span id=\"Sources\" class=\"mw-headline\" role=\"button\" aria-controls=\"content-collapsible-block-1\" aria-expanded=\"false\" data-mce-tabindex=\"0\">Sources</span></h2></div></div></div><div id=\"page-secondary-actions\" class=\"post-content\"></div></main><footer class=\"mw-footer minerva-footer\" role=\"contentinfo\"><div class=\"last-modified-bar active\"><div class=\"post-content last-modified-bar__content\"><span class=\"last-modified-bar__text modified-enhancement\"><a href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\" data-mce-href=\"https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25\">Last edited 3 hours ago</a>&nbsp;by&nbsp;<a href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\" data-mce-href=\"https://en.m.wikinews.org/wiki/User:LivelyRatification\">LivelyRatification</a></span></div></div><div class=\"post-content footer-content\"><div class=\"minerva-footer-logo\">Wikinews</div><ul id=\"footer-info\" class=\"footer-info hlist hlist-separated\"><li id=\"footer-info-copyright\">Content is available under&nbsp;<a class=\"external\" href=\"https://creativecommons.org/licenses/by/2.5/\" rel=\"nofollow\" data-mce-href=\"https://creativecommons.org/licenses/by/2.5/\">CC BY 2.5</a>&nbsp;unless otherwise noted.</li></ul><ul id=\"footer-places\" class=\"footer-places hlist hlist-separated\"><li id=\"footer-places-privacy\"><a class=\"extiw\" title=\"wmf:Privacy policy\" href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Privacy_policy\">Privacy policy</a></li>&nbsp;<li id=\"footer-places-terms-use\"><a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\" data-mce-href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use\">Terms of Use</a></li><li id=\"footer-places-desktop-toggle\"><a id=\"mw-mf-display-toggle\" href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\" data-mce-href=\"https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop\">Desktop</a></li></ul><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p>&nbsp;* Language<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp; &nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp; &nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp; &nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menuWikinewsSearchNew Zealand&nbsp;<br>&nbsp;<br>&nbsp;Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]</p><p>Open main menu<br>Wikinews<br>Search<br>New Zealand raises interest rates in second straight month to 0.75%<br>Language<br>Download PDF<br>Watch<br>Edit<br>Thursday, November 25, 2021</p><p>Economy and business<br>Euro coins and banknotes.jpg<br>Related articles<br>25 November 2021: New Zealand raises interest rates in second straight month to<br>0.75%<br>5 November 2021: Australian Fair Work Commission rules that farm workers on<br>piece rate entitled to minimum wage<br>26 October 2021: UK pay freeze on public sector employees will end next year<br>23 October 2021: Evergrande real estate firm makes missed September bond<br>payment, avoids default<br>12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>Collaborate!<br>Pillars of Wikinews writing<br>Writing an article</p><p>Reserve Bank of New Zealand headquarters in Wellington.<br>Image: Kaihsu Tai.<br>The Reserve Bank of New Zealand (RBNZ) raised interest rates by 25 basis points<br>to 0.75% during its last policy meeting of the year yesterday, after the rate of<br>consumer price inflation was recorded at 4.9% in the third quarter, the highest<br>since December 2007.</p><p>The hike to the national official cash rate (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters poll predicted an increase of 25 basis points, while the other two<br>projected an increase by 50 basis points, to 1%.</p><p>New Zealand's handling of COVID-19 included injecting \"huge amounts of fiscal<br>and monetary stimulus\" into the economy, according to The Guardian, in line with<br>other major economies, which has pushed the unemployment rate to the lowest and<br>inflation to its highest in over a decade. Stimulus spending and low interest<br>rates, along with a shortage in housing led home prices to double in the last<br>seven years, the least affordable of the OECD nations, according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News. The RBNZ forecasts rates would rise to 2.5% by 2023, and<br>still higher by 2024, according to Reuters; however, medians from a Friday<br>article predicted the OCR would reach only 2% by year-end 2023, below what it<br>was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist at<br>Capital Economics Ben Udy, to a high of 3% by Q3 2023 according to acting chief<br>economist at Westpac Michael Gordon, including a 0.5% rate hike during the<br>RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>of COVID-19 and lockdown in the capital city Auckland. Senior market strategist<br>at the Bank of New Zealand Jason Wong told Reuters then: \"We're on a path<br>towards a series of rate hikes and the market is well priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p><br>Jerome Powell, chair of the Federal Reserve.<br>Image: Federal Reserve.<br>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States, the inflation rate recently<br>rose to 6.2%, the highest in 31 years, which has led some economists to put<br>pressure on Federal Reserve chair Jerome Powell to accelerate the process of<br>tapering its monthly bond purchases, according to the Associated Press. The Bank<br>of England and European Central Bank (ECB) also both withstood criticism for a<br>forecasted rise in inflationary pressures, according to The Guardian and<br>Reuters.</p><p>ECB President Christine Lagarde told the European Parliament on November 15 \"an<br>undue tightening of financing conditions is not desirable, and would represent<br>an unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia's Reserve Bank of Australia (RBA) maintained its position that<br>interest rates are not likely to rise until 2024. RBA Governor Philip Lowe told<br>an Australian Businesses Economists lunch last week \"the latest data and<br>forecasts do not warrant an increase in the cash rate in 2022\", and for one to<br>be considered by the board \"[t]he economy and inflation would have to turn out<br>very differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway, the Czech Republic and South Korea, which is expected to<br>raise rates again in a meeting today.</p><p>Reuters reports the New Zealand dollar fell 0.6% due to some investors<br>predicting a higher hike, and both 2- and 10-year government bonds slipped by 10<br>basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!</p><p>Sister links<br>Sources<br>Last edited 3 hours ago by LivelyRatification<br>Wikinews<br>Content is available under CC BY 2.5 unless otherwise noted.<br>Privacy policy Terms of UseDesktop&nbsp;</p><p><br></p><p><br>Open main menu<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>&nbsp;*&nbsp;<br>&nbsp; &nbsp;<br>&nbsp;*&nbsp;<br>&nbsp; &nbsp;</p><p>Wikinews [https://en.m.wikinews.org/wiki/Main_Page]<br>Search</p><p><br>NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%</p><p><br></p><p><br>&nbsp;* Language<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* Download PDF<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]<br>&nbsp;* Watch<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&amp;returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]<br>&nbsp;* Edit<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;action=edit&amp;section=0]</p><p><br></p><p><br></p><p>Thursday, November 25, 2021</p><p>Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]<br>https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg<br>Related articles<br>&nbsp;* 25 November 2021: New Zealand raises interest rates in second straight month<br>&nbsp; &nbsp;to 0.75%<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>&nbsp;* 5 November 2021: Australian Fair Work Commission rules that farm workers on<br>&nbsp; &nbsp;piece rate entitled to minimum wage<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]<br>&nbsp;* 26 October 2021: UK pay freeze on public sector employees will end next year<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]<br>&nbsp;* 23 October 2021: Evergrande real estate firm makes missed September bond<br>&nbsp; &nbsp;payment, avoids default<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]<br>&nbsp;* 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'<br>&nbsp;<br>&nbsp;[https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]</p><p>Collaborate!<br>&nbsp;* Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]<br>&nbsp;* Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]</p><p>https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg<br>Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters<br>in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].<br>Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].</p><p>The Reserve Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] (RBNZ) raised<br>interest rates by 25 basis points to 0.75% during its last policy meeting of the<br>year yesterday, after the rate of consumer price inflation was recorded at 4.9%<br>in the third quarter, the highest since December 2007.</p><p>The hike to the national official cash rate<br>[https://en.wikipedia.org/wiki/official_cash_rate] (OCR) was widely expected by<br>economists and the markets alike: 21 of the 23 economists surveyed in a November<br>15-19 Reuters [https://en.m.wikinews.org/wiki/Reuters] poll predicted an<br>increase of 25 basis points, while the other two projected an increase by 50<br>basis points, to 1%.</p><p>New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19<br>[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of<br>fiscal and monetary stimulus\" into the economy, according to The Guardian<br>[https://en.m.wikinews.org/wiki/The_Guardian], in line with other major<br>economies, which has pushed the unemployment rate to the lowest and inflation to<br>its highest in over a decade. Stimulus spending and low interest rates, along<br>with a shortage in housing led home prices to double in the last seven years,<br>the least affordable of the OECD [https://en.m.wikinews.org/wiki/OECD] nations,<br>according to Reuters.</p><p>A statement from the Reserve Bank said the \"near-term rise in inflation<br>[accentuated] by higher oil prices, rising transport costs and the impact of<br>supply shortfalls\" are risking \"generating more generalised price rises\", as<br>reported by ABC News [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. The<br>RBNZ forecasts rates would rise to 2.5% by 2023, and still higher by 2024,<br>according to Reuters; however, medians from a Friday article predicted the OCR<br>would reach only 2% by year-end 2023, below what it was in 2014.</p><p>More recent projections include to 2% by mid-2022 according to economist<br>at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,<br>to a high of 3% by Q3 2023 according to acting chief economist at Westpac<br>[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate<br>hike during the RBNZ's next meeting in February, as reported by The Guardian.</p><p>Yesterday's announcement came after a widely-expected rate hike from 0.25% to<br>0.5% on October 6, the first in seven years, as part of the RBNZ's tightening<br>cycle initially slated to begin August but pushed back due to the Delta variant<br>[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and<br>lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].<br>Senior market strategist at the Bank of New Zealand<br>[https://en.wikipedia.org/wiki/Bank_of_New_Zealand] Jason Wong told Reuters<br>then: \"We're on a path towards a series of rate hikes and the market is well<br>priced for that.\"</p><p>RBNZ Governor Adrian Orr told reporters yesterday \"we see steady steps of 25<br>basis points back to levels where the OCR is marginally above the neutral rate<br>as the most balanced approach we can take\", though Reuters reports the bank had<br>considered a range of options, including a 50 basis point hike.</p><p>Orr added on housing, \"Homeowners who have just entered the market with<br>extremely high leverage levels have to be incredibly wary and have to understand<br>they have to weather the higher interest rates\", after earlier taxes levied on<br>property investors failed to cool rising house prices, which Reuters reports the<br>RBNZ believes are above their sustainable level, and at increased chance for a<br>correction. He also defended the stimulus but noted the growth in household debt<br>ensuing.</p><p>https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg<br>Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of<br>the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].<br>Image: Federal Reserve.</p><p>While countries globally are winding down pandemic-related stimulus measures,<br>according to Reuters, there has been pushback from some countries when it comes<br>to raising interest rates: in the United States<br>[https://en.m.wikinews.org/wiki/United_States], the inflation rate recently rose<br>to 6.2%, the highest in 31 years, which has led some economists to put pressure<br>on Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome<br>Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process<br>of tapering its monthly bond purchases, according to the Associated Press<br>[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England<br>[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank<br>[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood<br>criticism for a forecasted rise in inflationary pressures, according to The<br>Guardian and Reuters.</p><p>ECB President Christine Lagarde<br>[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament<br>[https://en.m.wikinews.org/wiki/European_Parliament] on November 15 \"an undue<br>tightening of financing conditions is not desirable, and would represent an<br>unwarranted headwind for the recovery\", adding \"[i]f we were to take any<br>tightening measures now, it could cause far more harm than it would do any<br>good\", as reported by Reuters.</p><p>Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia<br>[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its<br>position that interest rates are not likely to rise until 2024. RBA<br>Governor Philip Lowe [https://en.wikipedia.org/wiki/Philip_Lowe] told an<br>Australian Businesses Economists lunch last week \"the latest data and forecasts<br>do not warrant an increase in the cash rate in 2022\", and for one to be<br>considered by the board \"[t]he economy and inflation would have to turn out very<br>differently from our central scenario\", according to ABC News.</p><p>However, several central banks have increased rates ahead of even New Zealand:<br>Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic<br>[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea<br>[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates<br>again in a meeting today.</p><p>Reuters reports the New Zealand dollar<br>[https://en.wikipedia.org/wiki/New_Zealand_dollar] fell 0.6% due to some<br>investors predicting a higher hike, and both 2- and 10-year government bonds<br>slipped by 10 basis points each.</p><p><br></p><p><br></p><p>Have an opinion on this story? Share it!<br>[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]</p><p><br></p><p><br></p><p><br></p><p>SISTER LINKS</p><p><br></p><p><br></p><p><br></p><p>SOURCES</p><p><br>Last edited 3 hours ago<br>[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]<br>by LivelyRatification<br>[https://en.m.wikinews.org/wiki/User:LivelyRatification]<br>Wikinews<br>&nbsp;* Content is available under CC BY 2.5<br>&nbsp; &nbsp;[https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.</p><p>&nbsp;* Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]<br>&nbsp; &nbsp;&nbsp;<br>&nbsp;* Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]<br>&nbsp;* Desktop<br>&nbsp;<br>&nbsp;[https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&amp;mobileaction=toggle_view_desktop]mn mn nnnnnn n&nbsp;</p></div></footer></div></footer></div></footer>",
+ "dateEdited": 1637824581662,
+ "dateCreated": 1637820249799,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "92a01a16ccc3c2366cc2440f": {
+ "noteId": "5acc7605364ec64536fcd01b",
+ "id": "92a01a16ccc3c2366cc2440f",
+ "type": "tiny",
+ "data": "<p> <img class=\"attachment\" alt=\"IMG_20211029_114530 (1).jpg\" data-mime=\"image/jpeg\" data-hash=\"5465e544695bb881\" data-filename=\"IMG_20211029_114530 (1).jpg\" data-size=\"760491\" width=\"311\" height=\"201\" style=\"float: left;\">jjkbjfa&nbsp;</p><p></p>",
+ "dateEdited": 1637820123804,
+ "dateCreated": 1637819983744,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "9370239ca8b44f7396d90a02": {
+ "noteId": "146eb9be954e1e5f90ac1a07",
+ "id": "9370239ca8b44f7396d90a02",
+ "type": "tiny",
+ "data": "<p> <span class=\"attachment\" title=\"AppNee.com.How.to.Win.Friends.and.Influence.People.epub\" contenteditable=\"false\" data-mime=\"application/epub+zip\" data-filename=\"AppNee.com.How.to.Win.Friends.and.Influence.People.epub\" data-hash=\"5df31c08a283a5e1\" data-size=\"1.9M\" style=\"\"> <em>&nbsp;</em> <span class=\"filename\">AppNee.com.How.to.Win.Friends.and.Influence.People.epub</span> </span></p>",
+ "dateEdited": 1637820290960,
+ "dateCreated": 1637820153366,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "9b282b935507af9457d705d8": {
+ "id": "9b282b935507af9457d705d8",
+ "contentId": "0b8d572affcdfcdd0fe9d118",
+ "type": "note",
+ "title": "This is a note",
+ "headline": "Simple note for you and me home alone",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637821810596,
+ "dateEdited": 1637824395224,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "9baa36978a80453f80b2a68b": {
+ "id": "9baa36978a80453f80b2a68b",
+ "contentId": "c2dd0fa56d2ac84cc5645b4b",
+ "type": "note",
+ "title": "Attachment test",
+ "headline": "I am attachments.",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1637819212832,
+ "dateEdited": 1638365700897,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "_uk_@[email protected]": {},
+ "_uk_@[email protected]@_k": {
+ "iv": {
+ "0": 48,
+ "1": 219,
+ "2": 154,
+ "3": 4,
+ "4": 168,
+ "5": 105,
+ "6": 52,
+ "7": 94,
+ "8": 196,
+ "9": 215,
+ "10": 154,
+ "11": 104
+ },
+ "cipher": {}
+ },
+ "attachments": [
+ "2a992e895cb2828f994d48e5",
+ "65bfe8441bb9be2d71608353",
+ "67061ba01cd59339a140b10c",
+ "70eda84d31b446147752c34f",
+ "c41e75d1501d1b2ace3d78d8"
+ ],
+ "b11f395f15ddac465f9a67fb": {
+ "noteId": "1e9913b7bb50d24f5e7caf8b",
+ "id": "b11f395f15ddac465f9a67fb",
+ "type": "tiny",
+ "data": "<p>I am well. Don't worry.</p>",
+ "dateEdited": 1637422042660,
+ "dateCreated": 1637419691713,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "b8daae0b425606fdb7c4431a": {
+ "noteId": "5cf86e67c511be0e63fe8d11",
+ "id": "b8daae0b425606fdb7c4431a",
+ "type": "tiny",
+ "data": "<p>streetwriters<br>/<br>notesnook<br>Public</p>",
+ "dateEdited": 1637817281400,
+ "dateCreated": 1637816484695,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "c2dd0fa56d2ac84cc5645b4b": {
+ "noteId": "9baa36978a80453f80b2a68b",
+ "id": "c2dd0fa56d2ac84cc5645b4b",
+ "type": "tiny",
+ "data": "<p>I am attachments.</p><p><img class=\"attachment\" alt=\"streetwriters222 (1).png\" data-mime=\"image/png\" data-hash=\"01bfe0c85ba4c130\" data-filename=\"streetwriters222 (1).png\" data-size=\"1508567\" width=\"174\" height=\"174\" style=\"float: left;\" data-mce-style=\"float: left;\"> &nbsp;</p><p><span class=\"attachment\" title=\"bin.tar.gz\" contenteditable=\"false\" data-mime=\"application/gzip\" data-filename=\"bin.tar.gz\" data-hash=\"157f8fbf3564b7e0\" data-size=\"12.4M\" data-mce-contenteditable=\"false\" style=\"\"> <em>&nbsp;</em> <span class=\"filename\">bin.tar.gz</span> </span></p>",
+ "dateEdited": 1638365700882,
+ "dateCreated": 1637819214019,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "c41e75d1501d1b2ace3d78d8": {
+ "type": "attachment",
+ "id": "c41e75d1501d1b2ace3d78d8",
+ "noteIds": ["146eb9be954e1e5f90ac1a07"],
+ "iv": "RTDRY4I-tKy2o9gAY61CYXCarhCHtPlq",
+ "salt": "CCtYaK8PGv8kl4SMKIchTg",
+ "length": 1945565,
+ "alg": "xcha-stream",
+ "key": {
+ "cipher": "YichINF6oaJnxlZutrLQm3XIUyu2zRJ7soP_VQmlCWU5SJAg1VagwJiFAigxcPYVZqQe9BiWjBxfKKPzuP8PmfYixNFtAEY0XuU6BDYQ7YQoBYYZXQcllfCkO53wj49j7ScE5Ro",
+ "length": 85,
+ "salt": "0gbTx42hgy74LCI-2j1eOg",
+ "iv": "z7tZ8P0ST3uouLQhXl0Si3dbx5Fhnr6x",
+ "alg": "xcha-argon2i13-7"
+ },
+ "chunkSize": 524288,
+ "metadata": {
+ "hash": "5df31c08a283a5e1",
+ "hashType": "xxh3",
+ "filename": "AppNee.com.How.to.Win.Friends.and.Influence.People.epub",
+ "type": "application/epub+zip"
+ },
+ "dateCreated": 1637820152545,
+ "dateEdited": 1637820155024,
+ "dateUploaded": 1637820155024
+ },
+ "content": [
+ "7fa161d8a82bd0943ed92fae",
+ "c2dd0fa56d2ac84cc5645b4b",
+ "b8daae0b425606fdb7c4431a",
+ "e784269182c9826ab2e85a97",
+ "882ddf8ff64b4664512d806c",
+ "0b8d572affcdfcdd0fe9d118",
+ "9370239ca8b44f7396d90a02",
+ "fc0dcfeb132afc54c8f14e58",
+ "92a01a16ccc3c2366cc2440f",
+ "b11f395f15ddac465f9a67fb"
+ ],
+ "e784269182c9826ab2e85a97": {
+ "noteId": "f207e68809aa7290f34f8aa2",
+ "id": "e784269182c9826ab2e85a97",
+ "type": "tiny",
+ "data": "<p>Function</p>\n<p>Hello</p>\n<pre class=\"hljs language-javascript\" spellcheck=\"false\"><span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">google</span>() {<br><span class=\"hljs-keyword\">var</span> <span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">google</span>();<br><span class=\"hljs-title class_\">Function</span> <span class=\"hljs-title function_\">google</span>();<br>}</pre>\n<p>Hh</p>\n<p>&nbsp;</p>",
+ "dateEdited": 1636008302297,
+ "dateCreated": 1636007249002,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "f207e68809aa7290f34f8aa2": {
+ "id": "f207e68809aa7290f34f8aa2",
+ "contentId": "e784269182c9826ab2e85a97",
+ "type": "note",
+ "title": "Google",
+ "headline": "Function",
+ "pinned": false,
+ "locked": false,
+ "tags": [],
+ "favorite": false,
+ "dateCreated": 1636007242481,
+ "dateEdited": 1636008302303,
+ "localOnly": false,
+ "conflicted": false
+ },
+ "fc0dcfeb132afc54c8f14e58": {
+ "noteId": "3beeb650f7bc9038a993a8af",
+ "id": "fc0dcfeb132afc54c8f14e58",
+ "type": "tiny",
+ "data": "<p><img class=\"attachment\" alt=\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\" data-mime=\"image/jpeg\" data-hash=\"2ac8f3e316f13065\" data-filename=\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\" data-size=\"82403\" style=\"float: left;\" data-mce-style=\"float: left;\">&nbsp; j</p><p><br></p>",
+ "dateEdited": 1637820126763,
+ "dateCreated": 1637820099669,
+ "localOnly": false,
+ "persistDateEdited": false
+ },
+ "hasConflicts": false,
+ "monographs": [],
+ "notebooks": ["2c3581d10c41d92a6459124e"],
+ "notes": [
+ "3bf250cb8850a60c069e60e9",
+ "9baa36978a80453f80b2a68b",
+ "5cf86e67c511be0e63fe8d11",
+ "f207e68809aa7290f34f8aa2",
+ "34209af5c488ef53e2d66b29",
+ "9b282b935507af9457d705d8",
+ "146eb9be954e1e5f90ac1a07",
+ "3beeb650f7bc9038a993a8af",
+ "5acc7605364ec64536fcd01b",
+ "1e9913b7bb50d24f5e7caf8b"
+ ],
+ "settings": {
+ "type": "settings",
+ "id": "b084b8c75649681351a5fb2b",
+ "pins": [],
+ "groupOptions": {},
+ "aliases": {},
+ "dateEdited": 1638365694263,
+ "dateCreated": 0
+ },
+ "token": {
+ "access_token": "A6418D79DE4C61C903355FEA8D91B6D4F566FDCA113887ADAEE1056753B4A0B6",
+ "expires_in": 3600,
+ "token_type": "Bearer",
+ "refresh_token": "C1960767C8C9B7E86029D78D353A432EC27F57E05988F75C3DDDB1D740999180",
+ "scope": "IdentityServerApi notesnook.sync offline_access openid",
+ "t": 1638365647917
+ }
+ },
+ "hash": "cc0ab4e6741560abfd5e9ba00bf64f44",
+ "hash_type": "md5"
+}
diff --git a/packages/core/__tests__/backup.test.js b/packages/core/__tests__/backup.test.js
index 64ebd22a8..200c59313 100644
--- a/packages/core/__tests__/backup.test.js
+++ b/packages/core/__tests__/backup.test.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
StorageInterface,
databaseTest,
noteTest,
- notebookTest,
+ notebookTest
} from "./utils";
import v52Backup from "./__fixtures__/backup.v5.2.json";
import v52BackupCopy from "./__fixtures__/backup.v5.2.copy.json";
@@ -84,7 +85,7 @@ test("import tempered backup", () =>
describe.each([
["v5.2", v52Backup],
- ["v5.2 copy", v52BackupCopy],
+ ["v5.2 copy", v52BackupCopy]
])("testing backup version: %s", (version, data) => {
test(`import ${version} backup`, () => {
return databaseTest().then(async (db) => {
diff --git a/packages/core/__tests__/content.test.js b/packages/core/__tests__/content.test.js
index 004fb3b9f..4f107b5f8 100644
--- a/packages/core/__tests__/content.test.js
+++ b/packages/core/__tests__/content.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { StorageInterface, databaseTest } from "./utils";
diff --git a/packages/core/__tests__/db.test.js b/packages/core/__tests__/db.test.js
index e5a05f312..640b31209 100644
--- a/packages/core/__tests__/db.test.js
+++ b/packages/core/__tests__/db.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import DB from "../api";
import Constants from "../utils/constants";
diff --git a/packages/core/__tests__/lookup.test.js b/packages/core/__tests__/lookup.test.js
index 31247d4b3..e5be38797 100644
--- a/packages/core/__tests__/lookup.test.js
+++ b/packages/core/__tests__/lookup.test.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
StorageInterface,
noteTest,
TEST_NOTE,
notebookTest,
- TEST_NOTEBOOK2,
+ TEST_NOTEBOOK2
} from "./utils";
beforeEach(async () => {
@@ -30,13 +31,13 @@ beforeEach(async () => {
const content = {
...TEST_NOTE.content,
- data: "<p>hello i am a note of the world</p>",
+ data: "<p>hello i am a note of the world</p>"
};
//TODO
test("search notes", () =>
noteTest({
- content: content,
+ content: content
}).then(async ({ db }) => {
await db.notes.add(TEST_NOTE);
let filtered = await db.lookup.notes(db.notes.all, "note of the world");
@@ -45,7 +46,7 @@ test("search notes", () =>
test("search notes with a locked note", () =>
noteTest({
- content: content,
+ content: content
}).then(async ({ db }) => {
const noteId = await db.notes.add(TEST_NOTE);
await db.vault.create("password");
@@ -56,11 +57,11 @@ test("search notes with a locked note", () =>
test("search notes with an empty note", () =>
noteTest({
- content: content,
+ content: content
}).then(async ({ db }) => {
await db.notes.add({
title: "world is a heavy tune",
- content: { type: "tiptap", data: "<p><br></p>" },
+ content: { type: "tiptap", data: "<p><br></p>" }
});
let filtered = await db.lookup.notes(db.notes.all, "heavy tune");
expect(filtered).toHaveLength(1);
diff --git a/packages/core/__tests__/note-history.test.js b/packages/core/__tests__/note-history.test.js
index 6511ba16e..275ecfce1 100644
--- a/packages/core/__tests__/note-history.test.js
+++ b/packages/core/__tests__/note-history.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { delay, noteTest, StorageInterface, TEST_NOTE } from "./utils";
@@ -46,13 +47,13 @@ test("editing the same note should create multiple history sessions", () =>
noteTest({ ...TEST_NOTE, sessionId: Date.now() }).then(async ({ db, id }) => {
let editedContent = {
data: TEST_NOTE.content.data + "<p>Some new content</p>",
- type: "tiptap",
+ type: "tiptap"
};
await db.notes.add({
id: id,
content: editedContent,
- sessionId: Date.now() + 10000,
+ sessionId: Date.now() + 10000
});
const sessions = await db.noteHistory.get(id);
@@ -70,13 +71,13 @@ test("restoring an old session should replace note's content", () =>
noteTest({ ...TEST_NOTE, sessionId: Date.now() }).then(async ({ db, id }) => {
let editedContent = {
data: TEST_NOTE.content.data + "<p>Some new content</p>",
- type: "tiptap",
+ type: "tiptap"
};
await db.notes.add({
id: id,
content: editedContent,
- sessionId: Date.now() + 10000,
+ sessionId: Date.now() + 10000
});
const [, firstVersion] = await db.noteHistory.get(id);
@@ -93,7 +94,7 @@ test("date created of session should not change on edit", () =>
let editedContent = {
data: TEST_NOTE.content.data + "<p>Some new content</p>",
- type: "tiptap",
+ type: "tiptap"
};
await delay(1000);
@@ -101,7 +102,7 @@ test("date created of session should not change on edit", () =>
await db.notes.add({
id: id,
content: editedContent,
- sessionId: "session",
+ sessionId: "session"
});
const [{ dateCreated: newDateCreated, dateModified: newDateModified }] =
@@ -159,13 +160,13 @@ test("auto clear sessions if they exceed the limit", () =>
noteTest({ ...TEST_NOTE, sessionId: Date.now() }).then(async ({ db, id }) => {
let editedContent = {
data: TEST_NOTE.content.data + "<p>Some new content</p>",
- type: "tiptap",
+ type: "tiptap"
};
await db.notes.add({
id: id,
content: editedContent,
- sessionId: Date.now() + 10000,
+ sessionId: Date.now() + 10000
});
let sessions = await db.noteHistory.get(id);
@@ -190,7 +191,7 @@ test("save a locked note should add a locked session to note history", () =>
await db.vault.save({
...note,
content: editedContent,
- sessionId: "lockedsession",
+ sessionId: "lockedsession"
});
const sessions = await db.noteHistory.get(id);
diff --git a/packages/core/__tests__/notebooks.test.js b/packages/core/__tests__/notebooks.test.js
index c7bae1c2c..e6ad2790b 100644
--- a/packages/core/__tests__/notebooks.test.js
+++ b/packages/core/__tests__/notebooks.test.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
StorageInterface,
notebookTest,
TEST_NOTEBOOK,
TEST_NOTE,
- delay,
+ delay
} from "./utils";
import { makeTopic } from "../collections/topics";
@@ -117,7 +118,7 @@ test("merge notebook when local notebook is also edited", () =>
await notebook.topics.add({
...notebook.topics.all[0],
- title: "hello (edited too)",
+ title: "hello (edited too)"
});
await expect(db.notebooks.merge(newNotebook)).resolves.not.toThrow();
@@ -145,7 +146,7 @@ test("merge notebook when local notebook is also edited should merge noteIds too
await notebook.topics.add({
...notebook.topics.all[0],
- title: "hello (edited too)",
+ title: "hello (edited too)"
});
await expect(db.notebooks.merge(newNotebook)).resolves.not.toThrow();
@@ -183,7 +184,7 @@ test("merge notebook with topic removed that is edited in the local notebook", (
await notebook.topics.add({
...notebook.topics.all[1],
- title: "hello (i exist)",
+ title: "hello (i exist)"
});
await expect(db.notebooks.merge(newNotebook)).resolves.not.toThrow();
diff --git a/packages/core/__tests__/notes.test.js b/packages/core/__tests__/notes.test.js
index 21e67abb8..4de7324ed 100644
--- a/packages/core/__tests__/notes.test.js
+++ b/packages/core/__tests__/notes.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "../utils/grouping";
import {
@@ -24,7 +25,7 @@ import {
groupedTest,
TEST_NOTE,
TEST_NOTEBOOK,
- IMG_CONTENT,
+ IMG_CONTENT
} from "./utils";
beforeEach(async () => {
@@ -87,8 +88,8 @@ test("note should get headline from content", () =>
...TEST_NOTE,
content: {
type: TEST_NOTE.content.type,
- data: "<p>This is a very colorful existence.</p>",
- },
+ data: "<p>This is a very colorful existence.</p>"
+ }
}).then(async ({ db, id }) => {
let note = db.notes.note(id);
expect(note.headline).toBe("This is a very colorful existence.");
@@ -99,8 +100,8 @@ test("note should not get headline if there is no p tag", () =>
...TEST_NOTE,
content: {
type: TEST_NOTE.content.type,
- data: `<ol style="list-style-type: decimal;" data-mce-style="list-style-type: decimal;"><li>Hello I won't be a headline :(</li><li>Me too.</li><li>Gold.</li></ol>`,
- },
+ data: `<ol style="list-style-type: decimal;" data-mce-style="list-style-type: decimal;"><li>Hello I won't be a headline :(</li><li>Me too.</li><li>Gold.</li></ol>`
+ }
}).then(async ({ db, id }) => {
let note = db.notes.note(id);
expect(note.headline).toBeUndefined();
@@ -129,10 +130,10 @@ test("update note", () =>
title: "I am a new title",
content: {
type: TEST_NOTE.content.type,
- data: "<p><br></p>",
+ data: "<p><br></p>"
},
pinned: true,
- favorite: true,
+ favorite: true
// colors: ["red", "blue"]
};
id = await db.notes.add(noteData);
@@ -146,7 +147,7 @@ test("update note", () =>
test("get favorite notes", () =>
noteTest({
...TEST_NOTE,
- favorite: true,
+ favorite: true
}).then(({ db }) => {
expect(db.notes.favorites.length).toBeGreaterThan(0);
}));
@@ -154,7 +155,7 @@ test("get favorite notes", () =>
test("get pinned notes", () =>
noteTest({
...TEST_NOTE,
- pinned: true,
+ pinned: true
}).then(({ db }) => {
expect(db.notes.pinned.length).toBeGreaterThan(0);
}));
@@ -297,7 +298,7 @@ test("grouping items where item.title is empty or undefined shouldn't throw", ()
groupArray([{ title: "" }], {
groupBy: "abc",
sortBy: "title",
- sortDirection: "asc",
+ sortDirection: "asc"
})
).toBeTruthy();
});
@@ -305,7 +306,7 @@ test("grouping items where item.title is empty or undefined shouldn't throw", ()
test("note content should not contain image base64 data after save", () =>
noteTest().then(async ({ db, id }) => {
StorageInterface.write(`_uk_@[email protected]`, {
- key: { password: "password" },
+ key: { password: "password" }
});
await db.user.setUser({
@@ -315,8 +316,8 @@ test("note content should not contain image base64 data after save", () =>
iv: "iv",
salt: "salt",
length: 100,
- key: { password: "password" },
- },
+ key: { password: "password" }
+ }
});
await db.attachments.add(
@@ -330,7 +331,7 @@ test("note content should not contain image base64 data after save", () =>
chunkSize: 512,
filename: "hello",
key: {},
- salt: "hellowrold",
+ salt: "hellowrold"
},
id
);
@@ -345,7 +346,7 @@ test("note content should not contain image base64 data after save", () =>
test("repairing notebook references should delete non-existent notebooks", () =>
noteTest({
...TEST_NOTE,
- notebooks: [{ id: "hello", topics: ["helloworld"] }],
+ notebooks: [{ id: "hello", topics: ["helloworld"] }]
}).then(async ({ db, id }) => {
await db.notes.repairReferences();
let note = db.notes.note(id);
@@ -358,7 +359,7 @@ test("adding a note with an invalid tag should clean the tag array", () =>
db.notes.add({
...TEST_NOTE,
id: "helloworld",
- tags: [" "],
+ tags: [" "]
})
).resolves.toBe("helloworld");
diff --git a/packages/core/__tests__/settings.test.js b/packages/core/__tests__/settings.test.js
index ce520430c..9589eacf7 100644
--- a/packages/core/__tests__/settings.test.js
+++ b/packages/core/__tests__/settings.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { databaseTest, notebookTest, StorageInterface } from "./utils";
@@ -46,8 +47,8 @@ test("tag alias should update if aliases in settings update", () =>
pins: [],
groupOptions: {},
aliases: {
- [tag.id]: "hello232",
- },
+ [tag.id]: "hello232"
+ }
});
expect(db.tags.tag(tag.id).alias).toBe("hello232");
}));
@@ -57,7 +58,7 @@ test("save group options", () =>
const groupOptions = {
groupBy: "abc",
sortBy: "dateCreated",
- sortDirection: "asc",
+ sortDirection: "asc"
};
await db.settings.setGroupOptions("home", groupOptions);
expect(db.settings.getGroupOptions("home")).toMatchObject(groupOptions);
@@ -67,7 +68,7 @@ test("save toolbar config", () =>
databaseTest().then(async (db) => {
const toolbarConfig = {
preset: "custom",
- config: ["bold", "italic"],
+ config: ["bold", "italic"]
};
await db.settings.setToolbarConfig("mobile", toolbarConfig);
expect(db.settings.getToolbarConfig("mobile")).toMatchObject(toolbarConfig);
diff --git a/packages/core/__tests__/storage.test.js b/packages/core/__tests__/storage.test.js
index b59375c37..768d7f218 100644
--- a/packages/core/__tests__/storage.test.js
+++ b/packages/core/__tests__/storage.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import StorageInterface from "../__mocks__/storage.mock";
import Storage from "../database/storage";
diff --git a/packages/core/__tests__/tags.test.js b/packages/core/__tests__/tags.test.js
index bba3f706e..6b7ee6d98 100644
--- a/packages/core/__tests__/tags.test.js
+++ b/packages/core/__tests__/tags.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { noteTest, TEST_NOTE, StorageInterface } from "./utils";
@@ -32,7 +33,7 @@ function checkTagValue(note, value) {
describe.each([
["tag", "untag", "tagged", "hello"],
- ["color", "uncolor", "colored", "red"],
+ ["color", "uncolor", "colored", "red"]
])("%s", (action, unaction, filter, value) => {
let check = action === "tag" ? checkTagValue : checkColorValue;
let collection = action === "tag" ? "tags" : "colors";
diff --git a/packages/core/__tests__/topics.test.js b/packages/core/__tests__/topics.test.js
index 55b30cb44..5b1a25213 100644
--- a/packages/core/__tests__/topics.test.js
+++ b/packages/core/__tests__/topics.test.js
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
delay,
notebookTest,
noteTest,
StorageInterface,
- TEST_NOTE,
+ TEST_NOTE
} from "./utils";
beforeEach(() => StorageInterface.clear());
@@ -113,7 +114,7 @@ test("get topic", () =>
await topics.add("Home");
let topic = topics.topic("Home");
let noteId = await db.notes.add({
- content: TEST_NOTE.content,
+ content: TEST_NOTE.content
});
await topic.add(noteId);
topic = topics.topic("Home");
diff --git a/packages/core/__tests__/trash.test.js b/packages/core/__tests__/trash.test.js
index 92f95b69e..ae1ae5609 100644
--- a/packages/core/__tests__/trash.test.js
+++ b/packages/core/__tests__/trash.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import dayjs from "dayjs";
import {
@@ -23,7 +24,7 @@ import {
notebookTest,
TEST_NOTE,
TEST_NOTEBOOK,
- databaseTest,
+ databaseTest
} from "./utils";
beforeEach(() => StorageInterface.clear());
@@ -35,7 +36,7 @@ test("trash should be empty", () =>
test("permanently delete a note", () =>
databaseTest().then(async (db) => {
- const noteId = await db.notes.add({...TEST_NOTE,sessionId:Date.now()});
+ const noteId = await db.notes.add({ ...TEST_NOTE, sessionId: Date.now() });
const note = db.notes.note(noteId);
let sessions = await db.noteHistory.get(noteId);
@@ -51,7 +52,7 @@ test("permanently delete a note", () =>
sessions = await db.noteHistory.get(noteId);
expect(sessions).toHaveLength(0);
-}));
+ }));
test("restore a deleted note that was in a notebook", () =>
noteTest().then(async ({ db, id }) => {
@@ -166,12 +167,12 @@ test("permanently delete items older than 7 days", () =>
await db.notes._collection.updateItem({
id: noteId,
- dateDeleted: sevenDaysEarlier,
+ dateDeleted: sevenDaysEarlier
});
await db.notebooks._collection.updateItem({
id: notebookId,
- dateDeleted: sevenDaysEarlier,
+ dateDeleted: sevenDaysEarlier
});
expect(db.trash.all).toHaveLength(2);
diff --git a/packages/core/__tests__/utils.test.js b/packages/core/__tests__/utils.test.js
index b643958a6..d8fe35344 100644
--- a/packages/core/__tests__/utils.test.js
+++ b/packages/core/__tests__/utils.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { groupArray } from "../utils/grouping";
@@ -28,7 +29,7 @@ test("group alphabetically", () => {
let ret = groupArray(alphabet, {
groupBy: "abc",
sortDirection: "asc",
- sortBy: "title",
+ sortBy: "title"
}).filter((v) => !v.item);
expect(
sortedAlphabet.every((alpha, index) => {
diff --git a/packages/core/__tests__/utils/index.js b/packages/core/__tests__/utils/index.js
index d19aff766..a2988b591 100644
--- a/packages/core/__tests__/utils/index.js
+++ b/packages/core/__tests__/utils/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import DB from "../../api";
import StorageInterface from "../../__mocks__/storage.mock";
@@ -25,13 +26,13 @@ import FS from "../../__mocks__/fs.mock";
const TEST_NOTEBOOK = {
title: "Test Notebook",
description: "Test Description",
- topics: ["hello", "hello", " "],
+ topics: ["hello", "hello", " "]
};
const TEST_NOTEBOOK2 = {
title: "Test Notebook 2",
description: "Test Description 2",
- topics: ["Home2"],
+ topics: ["Home2"]
};
function databaseTest() {
@@ -48,8 +49,8 @@ const notebookTest = (notebook = TEST_NOTEBOOK) =>
var TEST_NOTE = {
content: {
type: "tiptap",
- data: `<p>Hello<br><span style="color:#f00">This is colorful</span></p>`,
- },
+ data: `<p>Hello<br><span style="color:#f00">This is colorful</span></p>`
+ }
};
const IMG_CONTENT = `<p>This is a note for me.j</p>\n<p><img src="data:image/png;base64,iVBORw0K" data-hash="d3eab72e94e3cd35" class="attachment" alt="Screenshot_20210915_102333.png" data-mime="image/png" data-filename="Screenshot_20210915_102333.png" data-size="68609" style="float: left;" /> &nbsp;</p>\n<p>&nbsp;</p>`;
@@ -70,17 +71,17 @@ const groupedTest = (type) =>
await db.notes.add({
...TEST_NOTE,
title: "Some title",
- dateCreated: dayjs().startOf("week").subtract(1, "day").unix(),
+ dateCreated: dayjs().startOf("week").subtract(1, "day").unix()
});
await db.notes.add({
...TEST_NOTE,
title: "Some title and title title",
- dateCreated: dayjs().subtract(2, "weeks").unix(),
+ dateCreated: dayjs().subtract(2, "weeks").unix()
});
let grouped = groupArray(db.notes.all, {
groupBy: type,
sortDirection: "desc",
- sortBy: "dateCreated",
+ sortBy: "dateCreated"
});
expect(grouped.length).toBeGreaterThan(1);
expect(grouped.some((i) => i.type === "header")).toBe(true);
@@ -102,5 +103,5 @@ export {
TEST_NOTEBOOK2,
TEST_NOTE,
LONG_TEXT,
- delay,
+ delay
};
diff --git a/packages/core/__tests__/vault.test.js b/packages/core/__tests__/vault.test.js
index a55592276..6ed5596bc 100644
--- a/packages/core/__tests__/vault.test.js
+++ b/packages/core/__tests__/vault.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { StorageInterface, databaseTest, noteTest, TEST_NOTE } from "./utils";
@@ -126,7 +127,7 @@ test("save an edited locked note", () =>
const note = db.notes.note(id).data;
await db.vault.save({
...note,
- content: { type: "tiptap", data: "<p>hello world</p>" },
+ content: { type: "tiptap", data: "<p>hello world</p>" }
});
const content = await db.content.raw(note.contentId);
diff --git a/packages/core/analyze-modules.js b/packages/core/analyze-modules.js
index 5f4dc3ece..fe8296196 100644
--- a/packages/core/analyze-modules.js
+++ b/packages/core/analyze-modules.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*
This is free and unencumbered software released into the public domain.
@@ -74,9 +75,9 @@ const configuration = {
require("babel-plugin-syntax-async-functions"),
require("babel-plugin-syntax-exponentiation-operator"),
require("babel-plugin-syntax-trailing-function-commas"),
- require("babel-plugin-syntax-object-rest-spread"),
- ],
- },
+ require("babel-plugin-syntax-object-rest-spread")
+ ]
+ }
};
/* helpers */
diff --git a/packages/core/api/__tests__/debug.test.js b/packages/core/api/__tests__/debug.test.js
index 6db75f8be..a84655352 100644
--- a/packages/core/api/__tests__/debug.test.js
+++ b/packages/core/api/__tests__/debug.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Debug from "../debug";
import { noteTest, notebookTest, databaseTest } from "../../__tests__/utils";
@@ -49,7 +50,7 @@ test("strip note with content", () =>
const content = await db.content.raw(note.contentId);
note.additionalData = {
- content: db.debug.strip(normalizeItem(content)),
+ content: db.debug.strip(normalizeItem(content))
};
expect(debug.strip(normalizeItem(note))).toMatchSnapshot(
@@ -91,7 +92,7 @@ test("reporting empty issue should return undefined", async () => {
});
const SUCCESS_REPORT_RESPONSE = {
- url: "https://reported/",
+ url: "https://reported/"
};
test("reporting issue should return issue url", async () => {
@@ -100,14 +101,14 @@ test("reporting issue should return issue url", async () => {
const debug = new Debug();
fetch.mockResponseOnce(JSON.stringify(SUCCESS_REPORT_RESPONSE), {
- headers: { "Content-Type": "application/json" },
+ headers: { "Content-Type": "application/json" }
});
expect(
await debug.report({
title: "I am title",
body: "I am body",
- userId: "anything",
+ userId: "anything"
})
).toBe(SUCCESS_REPORT_RESPONSE.url);
@@ -121,7 +122,7 @@ test("reporting invalid issue should return undefined", async () => {
fetch.mockResponseOnce(
JSON.stringify({
- error_description: "Invalid issue.",
+ error_description: "Invalid issue."
}),
{ status: 400, headers: { "Content-Type": "application/json" } }
);
diff --git a/packages/core/api/__tests__/mfa-manager.test.js b/packages/core/api/__tests__/mfa-manager.test.js
index a335f532e..88bc3a06d 100644
--- a/packages/core/api/__tests__/mfa-manager.test.js
+++ b/packages/core/api/__tests__/mfa-manager.test.js
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
test.todo("skipped test");
diff --git a/packages/core/api/__tests__/migrations.test.js b/packages/core/api/__tests__/migrations.test.js
index a335f532e..88bc3a06d 100644
--- a/packages/core/api/__tests__/migrations.test.js
+++ b/packages/core/api/__tests__/migrations.test.js
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
test.todo("skipped test");
diff --git a/packages/core/api/__tests__/outbox.test.js b/packages/core/api/__tests__/outbox.test.js
index a335f532e..88bc3a06d 100644
--- a/packages/core/api/__tests__/outbox.test.js
+++ b/packages/core/api/__tests__/outbox.test.js
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
test.todo("skipped test");
diff --git a/packages/core/api/__tests__/pricing.test.js b/packages/core/api/__tests__/pricing.test.js
index a7d742486..5583832f8 100644
--- a/packages/core/api/__tests__/pricing.test.js
+++ b/packages/core/api/__tests__/pricing.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Pricing from "../pricing";
diff --git a/packages/core/api/debug.js b/packages/core/api/debug.js
index 2de4404cc..b54ff2fdd 100644
--- a/packages/core/api/debug.js
+++ b/packages/core/api/debug.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import hosts from "../utils/constants";
@@ -37,7 +38,7 @@ export default class Debug {
dateEdited: item.dateEdited,
dateDeleted: item.dateDeleted,
dateCreated: item.dateCreated,
- additionalData: item.additionalData,
+ additionalData: item.additionalData
});
}
@@ -57,7 +58,7 @@ export default class Debug {
const response = await fetch(`${hosts.ISSUES_HOST}/create/notesnook`, {
method: "POST",
headers: { "Content-Type": "application/json" },
- body: JSON.stringify({ title, body, userId }),
+ body: JSON.stringify({ title, body, userId })
});
if (!response.ok) return;
const json = await response.json();
diff --git a/packages/core/api/index.js b/packages/core/api/index.js
index b58c81945..d15d6e7e8 100644
--- a/packages/core/api/index.js
+++ b/packages/core/api/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Notes from "../collections/notes";
import Storage from "../database/storage";
@@ -181,7 +182,7 @@ class Database {
let token = await this.user.tokenManager.getAccessToken();
this.evtSource = new NNEventSource(`${Constants.SSE_HOST}/sse`, {
- headers: { Authorization: `Bearer ${token}` },
+ headers: { Authorization: `Bearer ${token}` }
});
this.evtSource.onopen = async () => {
diff --git a/packages/core/api/lookup.js b/packages/core/api/lookup.js
index 3874cc0de..1604fd3ac 100644
--- a/packages/core/api/lookup.js
+++ b/packages/core/api/lookup.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { filter, parse } from "liqe";
diff --git a/packages/core/api/mfa-manager.js b/packages/core/api/mfa-manager.js
index 2a08b6128..73f525710 100644
--- a/packages/core/api/mfa-manager.js
+++ b/packages/core/api/mfa-manager.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import http from "../utils/http";
import constants from "../utils/constants";
@@ -25,7 +26,7 @@ const ENDPOINTS = {
enable: "/mfa",
disable: "/mfa",
recoveryCodes: "/mfa/codes",
- send: "/mfa/send",
+ send: "/mfa/send"
};
class MFAManager {
@@ -53,7 +54,7 @@ class MFAManager {
`${constants.AUTH_HOST}${ENDPOINTS.setup}`,
{
type,
- phoneNumber,
+ phoneNumber
},
token
);
@@ -131,7 +132,7 @@ class MFAManager {
return await http.post(
`${constants.AUTH_HOST}${ENDPOINTS.send}`,
{
- type: method,
+ type: method
},
token
);
diff --git a/packages/core/api/migrations.js b/packages/core/api/migrations.js
index 592fd0dd1..483c0d190 100644
--- a/packages/core/api/migrations.js
+++ b/packages/core/api/migrations.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { CURRENT_DATABASE_VERSION } from "../common";
import Migrator from "../database/migrator";
@@ -51,33 +52,33 @@ class Migrations {
{ index: this._db.attachments.all, dbCollection: this._db.attachments },
{
index: this._db.notebooks.raw,
- dbCollection: this._db.notebooks,
+ dbCollection: this._db.notebooks
},
{
index: this._db.tags.raw,
- dbCollection: this._db.tags,
+ dbCollection: this._db.tags
},
{
index: this._db.colors.raw,
- dbCollection: this._db.colors,
+ dbCollection: this._db.colors
},
{
index: this._db.trash.raw,
- dbCollection: this._db.trash,
+ dbCollection: this._db.trash
},
{
index: content,
- dbCollection: this._db.content,
+ dbCollection: this._db.content
},
{
index: [this._db.settings.raw],
dbCollection: this._db.settings,
- type: "settings",
+ type: "settings"
},
{
index: this._db.notes.raw,
- dbCollection: this._db.notes,
- },
+ dbCollection: this._db.notes
+ }
];
await this._migrator.migrate(collections, (item) => item, this.dbVersion);
await this._db.storage.write("v", CURRENT_DATABASE_VERSION);
diff --git a/packages/core/api/monographs.js b/packages/core/api/monographs.js
index be9eed27b..e6ed09ec8 100644
--- a/packages/core/api/monographs.js
+++ b/packages/core/api/monographs.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import http from "../utils/http";
import Constants from "../utils/constants";
@@ -98,7 +99,7 @@ class Monographs {
id: noteId,
title: note.title,
userId: user.id,
- selfDestruct: opts.selfDestruct,
+ selfDestruct: opts.selfDestruct
};
if (opts.password) {
@@ -109,7 +110,7 @@ class Monographs {
} else {
monograph.content = JSON.stringify({
type: content.type,
- data: content.data,
+ data: content.data
});
}
diff --git a/packages/core/api/offers.js b/packages/core/api/offers.js
index a8d8f0e81..9d10cc7dc 100644
--- a/packages/core/api/offers.js
+++ b/packages/core/api/offers.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { CLIENT_ID } from "../common";
import hosts from "../utils/constants";
diff --git a/packages/core/api/outbox.js b/packages/core/api/outbox.js
index 0808ad02c..d04770cf0 100644
--- a/packages/core/api/outbox.js
+++ b/packages/core/api/outbox.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
class Outbox {
/**
diff --git a/packages/core/api/pricing.js b/packages/core/api/pricing.js
index 4e43c2d86..2e46c5734 100644
--- a/packages/core/api/pricing.js
+++ b/packages/core/api/pricing.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import http from "../utils/http";
diff --git a/packages/core/api/session.js b/packages/core/api/session.js
index 7ffa9f142..aba37611f 100644
--- a/packages/core/api/session.js
+++ b/packages/core/api/session.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
class Session {
/**
diff --git a/packages/core/api/settings.js b/packages/core/api/settings.js
index 0fec5fb0d..8338788f0 100644
--- a/packages/core/api/settings.js
+++ b/packages/core/api/settings.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EV, EVENTS } from "../common";
import id from "../utils/id";
@@ -55,15 +56,15 @@ class Settings {
);
this._settings.groupOptions = {
...this._settings.groupOptions,
- ...item.groupOptions,
+ ...item.groupOptions
};
this._settings.toolbarConfig = {
...this._settings.toolbarConfig,
- ...item.toolbarConfig,
+ ...item.toolbarConfig
};
this._settings.aliases = {
...this._settings.aliases,
- ...item.aliases,
+ ...item.aliases
};
this._settings.dateModified = Date.now();
} else {
@@ -97,7 +98,7 @@ class Settings {
: key === "tags"
? "dateCreated"
: "dateEdited",
- sortDirection: "desc",
+ sortDirection: "desc"
}
);
}
@@ -184,7 +185,7 @@ class Settings {
aliases: {},
dateModified: 0,
dateCreated: 0,
- ...(settings || {}),
+ ...(settings || {})
};
}
diff --git a/packages/core/api/sync/__tests__/collector.test.js b/packages/core/api/sync/__tests__/collector.test.js
index f75b572e3..a8001d5e2 100644
--- a/packages/core/api/sync/__tests__/collector.test.js
+++ b/packages/core/api/sync/__tests__/collector.test.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
databaseTest,
TEST_NOTE,
delay,
- StorageInterface,
+ StorageInterface
} from "../../../__tests__/utils";
import Collector from "../collector";
diff --git a/packages/core/api/sync/__tests__/sync.test.skip.js b/packages/core/api/sync/__tests__/sync.test.skip.js
index e386ab5a0..4d5df3303 100644
--- a/packages/core/api/sync/__tests__/sync.test.skip.js
+++ b/packages/core/api/sync/__tests__/sync.test.skip.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Database from "../../index";
import { NodeStorageInterface } from "../../../__mocks__/node-storage.mock";
@@ -52,10 +53,10 @@ test("case 3: Device A & B have unsynced changes but server has nothing", async
const deviceB = await initializeDevice("deviceB");
const note1Id = await deviceA.notes.add({
- title: "Test note from device A",
+ title: "Test note from device A"
});
const note2Id = await deviceB.notes.add({
- title: "Test note from device B",
+ title: "Test note from device B"
});
await syncAndWait(deviceA, deviceB);
@@ -218,8 +219,8 @@ test("issue: colors are not properly created if multiple notes are synced togeth
const id = await deviceA.notes.add({
content: {
type: "tiptap",
- data: `<p>deviceA=true</p>`,
- },
+ data: `<p>deviceA=true</p>`
+ }
});
noteIds.push(id);
}
@@ -287,7 +288,7 @@ test("issue: remove notebook reference from notes that are removed from topic du
const id = await deviceA.notebooks.add({
title: "Notebook 1",
- topics: ["Topic 1"],
+ topics: ["Topic 1"]
});
await syncAndWait(deviceA, deviceB, false);
@@ -334,7 +335,7 @@ async function initializeDevice(id, capabilities = []) {
EV.subscribe(EVENTS.userCheckStatus, async (type) => {
return {
type,
- result: capabilities.indexOf(type) > -1,
+ result: capabilities.indexOf(type) > -1
};
});
diff --git a/packages/core/api/sync/auto-sync.js b/packages/core/api/sync/auto-sync.js
index 5604f81bc..ba484a363 100644
--- a/packages/core/api/sync/auto-sync.js
+++ b/packages/core/api/sync/auto-sync.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { checkIsUserPremium, CHECK_IDS, EVENTS } from "../../common";
import { logger } from "../../logger";
diff --git a/packages/core/api/sync/collector.js b/packages/core/api/sync/collector.js
index 6a02394c4..475bcbb66 100644
--- a/packages/core/api/sync/collector.js
+++ b/packages/core/api/sync/collector.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { CURRENT_DATABASE_VERSION } from "../../common";
import { logger } from "../../logger";
@@ -44,7 +45,7 @@ class Collector {
this._db.attachments.syncable,
isForceSync
),
- ...this._collect("settings", [this._db.settings.raw], isForceSync),
+ ...this._collect("settings", [this._db.settings.raw], isForceSync)
];
return { items, vaultKey: await this._db.vault._getKey() };
@@ -80,7 +81,7 @@ class Collector {
id: item.id,
collectionId,
deleted: true,
- dateModified: Date.now(),
+ dateModified: Date.now()
});
} else if (isUnsynced && isSyncable) {
prev.push({ ...item, collectionId });
@@ -115,7 +116,7 @@ class Collector {
return {
id: item.id,
v: CURRENT_DATABASE_VERSION,
- ...(await this._serialize(item)),
+ ...(await this._serialize(item))
};
}
}
diff --git a/packages/core/api/sync/conflicts.js b/packages/core/api/sync/conflicts.js
index de6fbb3dd..e8b23b0f8 100644
--- a/packages/core/api/sync/conflicts.js
+++ b/packages/core/api/sync/conflicts.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
class Conflicts {
/**
diff --git a/packages/core/api/sync/index.js b/packages/core/api/sync/index.js
index f0e31babc..d0d09569e 100644
--- a/packages/core/api/sync/index.js
+++ b/packages/core/api/sync/index.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
EV,
EVENTS,
sendAttachmentsProgressEvent,
- sendSyncProgressEvent,
+ sendSyncProgressEvent
} from "../../common";
import Constants from "../../utils/constants";
import TokenManager from "../token-manager";
@@ -130,8 +131,8 @@ class Sync {
case signalr.LogLevel.Warning:
return scopedLogger.warn(message);
}
- },
- },
+ }
+ }
})
.withHubProtocol(new MessagePackHubProtocol({ ignoreUndefined: true }))
.withAutomaticReconnect()
@@ -178,7 +179,7 @@ class Sync {
this.logger.info("Data collected for sync", {
newLastSynced,
length: data.items.length,
- isEmpty: data.items.length <= 0,
+ isEmpty: data.items.length <= 0
});
const serverResponse = full ? await this.fetch(lastSynced) : null;
@@ -243,7 +244,7 @@ class Sync {
});
},
complete: () => {},
- error: reject,
+ error: reject
});
});
@@ -308,7 +309,7 @@ class Sync {
current: i,
total,
items,
- types,
+ types
});
if (result) {
diff --git a/packages/core/api/sync/merger.js b/packages/core/api/sync/merger.js
index acad1b811..ce9bb6646 100644
--- a/packages/core/api/sync/merger.js
+++ b/packages/core/api/sync/merger.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { migrations } from "../../migrations";
import SparkMD5 from "spark-md5";
@@ -36,17 +37,17 @@ class Merger {
threshold: 1000,
get: () => this._db.settings.raw,
set: (item) => this._db.settings.merge(item),
- conflict: (_local, remote) => this._db.settings.merge(remote),
+ conflict: (_local, remote) => this._db.settings.merge(remote)
},
note: {
get: (id) => this._db.notes.note(id),
- set: (item) => this._db.notes.merge(item),
+ set: (item) => this._db.notes.merge(item)
},
notebook: {
threshold: 1000,
get: (id) => this._db.notebooks.notebook(id),
set: (item) => this._db.notebooks.merge(item),
- conflict: (_local, remote) => this._db.notebooks.merge(remote),
+ conflict: (_local, remote) => this._db.notebooks.merge(remote)
},
content: {
threshold: process.env.NODE_ENV === "test" ? 6 * 1000 : 60 * 1000,
@@ -79,7 +80,7 @@ class Merger {
await this._db.notes.add({ id: local.noteId, conflicted: true });
await this._db.storage.write("hasConflicts", true);
}
- },
+ }
},
attachment: {
set: async (item) => {
@@ -111,12 +112,12 @@ class Merger {
);
}
await this._db.attachments.merge(remoteAttachment);
- },
+ }
},
vaultKey: {
set: async (vaultKey) =>
- this._db.vault._setKey(await this._deserialize(vaultKey, false)),
- },
+ this._db.vault._setKey(await this._deserialize(vaultKey, false))
+ }
};
}
@@ -203,7 +204,7 @@ class Merger {
isModified,
timeDiff,
remote: remoteItem.dateModified,
- local: localItem.dateModified,
+ local: localItem.dateModified
});
await markAsConflicted(localItem, remoteItem);
diff --git a/packages/core/api/sync/sync-queue.js b/packages/core/api/sync/sync-queue.js
index 9b2c03757..db78264ef 100644
--- a/packages/core/api/sync/sync-queue.js
+++ b/packages/core/api/sync/sync-queue.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import set from "../../utils/set";
import { qclone } from "qclone";
diff --git a/packages/core/api/sync/utils.js b/packages/core/api/sync/utils.js
index b55d705fa..02d95d7b2 100644
--- a/packages/core/api/sync/utils.js
+++ b/packages/core/api/sync/utils.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function areAllEmpty(obj) {
for (let key in obj) {
diff --git a/packages/core/api/token-manager.js b/packages/core/api/token-manager.js
index dcbb4301a..4d61424bf 100644
--- a/packages/core/api/token-manager.js
+++ b/packages/core/api/token-manager.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import http from "../utils/http";
import constants from "../utils/constants";
@@ -26,7 +27,7 @@ const ENDPOINTS = {
token: "/connect/token",
revoke: "/connect/revocation",
temporaryToken: "/account/token",
- logout: "/account/logout",
+ logout: "/account/logout"
};
class TokenManager {
@@ -45,7 +46,7 @@ class TokenManager {
if (!token) return;
this.logger.info("Access token requested", {
- accessToken: token.access_token.slice(0, 10),
+ accessToken: token.access_token.slice(0, 10)
});
if (forceRenew || (renew && this._isTokenExpired(token))) {
@@ -88,7 +89,7 @@ class TokenManager {
refresh_token,
grant_type: "refresh_token",
scope: scope,
- client_id: "notesnook",
+ client_id: "notesnook"
}
);
await this.saveToken(refreshTokenResponse);
@@ -118,7 +119,7 @@ class TokenManager {
await http.post(`${constants.AUTH_HOST}${ENDPOINTS.temporaryToken}`, {
authorization_code: authCode,
user_id: userId,
- client_id: "notesnook",
+ client_id: "notesnook"
})
);
}
diff --git a/packages/core/api/user-manager.js b/packages/core/api/user-manager.js
index 99e1e7550..d60d280e2 100644
--- a/packages/core/api/user-manager.js
+++ b/packages/core/api/user-manager.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "../types";
import http from "../utils/http";
@@ -32,7 +33,7 @@ const ENDPOINTS = {
revoke: "/connect/revocation",
recoverAccount: "/account/recover",
resetUser: "/users/reset",
- activateTrial: "/subscriptions/trial",
+ activateTrial: "/subscriptions/trial"
};
class UserManager {
@@ -69,7 +70,7 @@ class UserManager {
await http.post(`${constants.API_HOST}${ENDPOINTS.signup}`, {
email,
password: hashedPassword,
- client_id: "notesnook",
+ client_id: "notesnook"
});
EV.publish(EVENTS.userSignedUp);
return await this._login({ email, password, hashedPassword });
@@ -99,14 +100,14 @@ class UserManager {
scope: "notesnook.sync offline_access openid IdentityServerApi",
client_id: "notesnook",
"mfa:code": code,
- "mfa:method": method,
+ "mfa:method": method
})
);
const user = await this.fetchUser();
await this._storage.deriveCryptoKey(`_uk_@${user.email}`, {
password,
- salt: user.salt,
+ salt: user.salt
});
EV.publish(EVENTS.userLoggedIn, user);
@@ -230,13 +231,13 @@ class UserManager {
changePassword(oldPassword, newPassword) {
return this._updatePassword("change_password", {
old_password: oldPassword,
- new_password: newPassword,
+ new_password: newPassword
});
}
resetPassword(newPassword) {
return this._updatePassword("reset_password", {
- new_password: newPassword,
+ new_password: newPassword
});
}
@@ -298,7 +299,7 @@ class UserManager {
recoverAccount(email) {
return http.post(`${constants.AUTH_HOST}${ENDPOINTS.recoverAccount}`, {
email,
- client_id: "notesnook",
+ client_id: "notesnook"
});
}
@@ -335,7 +336,7 @@ class UserManager {
await this._storage.deriveCryptoKey(`_uk_@${email}`, {
password: new_password,
- salt,
+ salt
});
if (!(await this.resetUser(false))) return;
@@ -362,7 +363,7 @@ class UserManager {
{
type,
old_password,
- new_password,
+ new_password
},
token
);
diff --git a/packages/core/api/vault.js b/packages/core/api/vault.js
index f94b3818f..420cccf49 100644
--- a/packages/core/api/vault.js
+++ b/packages/core/api/vault.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { CHECK_IDS, EV, EVENTS, checkIsUserPremium } from "../common";
import { tinyToTiptap } from "../migrations";
@@ -53,7 +54,7 @@ export default class Vault {
this.ERRORS = {
noVault: "ERR_NO_VAULT",
vaultLocked: "ERR_VAULT_LOCKED",
- wrongPassword: "ERR_WRONG_PASSWORD",
+ wrongPassword: "ERR_WRONG_PASSWORD"
};
EV.subscribe(EVENTS.userLoggedOut, () => {
this._password = null;
@@ -113,7 +114,7 @@ export default class Vault {
contentItems.push({
...content,
id: note.contentId,
- noteId: note.id,
+ noteId: note.id
});
} catch (e) {
throw new Error(
@@ -237,7 +238,7 @@ export default class Vault {
id: contentId,
sessionId,
data: encryptedContent,
- type,
+ type
});
}
@@ -249,7 +250,7 @@ export default class Vault {
const content = {
type: encryptedContent.type,
- data: JSON.parse(decryptedContent),
+ data: JSON.parse(decryptedContent)
};
// #MIGRATION: convert tiny to tiptap
@@ -281,7 +282,7 @@ export default class Vault {
const content = await this._db.content.extractAttachments({
data,
type,
- noteId: id,
+ noteId: id
});
data = content.data;
type = content.type;
@@ -298,7 +299,7 @@ export default class Vault {
favorite: note.favorite,
localOnly: note.localOnly,
readonly: note.readonly,
- dateEdited: Date.now(),
+ dateEdited: Date.now()
});
}
@@ -313,7 +314,7 @@ export default class Vault {
locked: false,
headline: note.headline,
contentId: note.contentId,
- content,
+ content
});
// await this._db.content.add({ id: note.contentId, data: content });
return;
@@ -321,7 +322,7 @@ export default class Vault {
return {
...note,
- content,
+ content
};
}
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.js
index 59a129c30..be50400e5 100644
--- a/packages/core/collections/attachments.js
+++ b/packages/core/collections/attachments.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Collection from "./collection";
import getId from "../utils/id";
@@ -79,7 +80,7 @@ export default class Attachments extends Collection {
...oldAttachment,
...oldAttachment.metadata,
...attachmentArg,
- noteIds,
+ noteIds
};
const {
@@ -92,7 +93,7 @@ export default class Attachments extends Collection {
salt,
type,
chunkSize,
- key,
+ key
} = attachment;
if (
@@ -131,13 +132,13 @@ export default class Attachments extends Collection {
hash,
hashType,
filename,
- type: type || "application/octet-stream",
+ type: type || "application/octet-stream"
},
dateCreated: attachment.dateCreated || Date.now(),
dateModified: attachment.dateModified,
dateUploaded: attachment.dateUploaded,
dateDeleted: undefined,
- failed: attachment.failed,
+ failed: attachment.failed
};
return this._collection.addItem(attachmentItem);
}
@@ -187,7 +188,7 @@ export default class Attachments extends Collection {
if (!note) continue;
const contentId = note.data.contentId;
await this._db.content.removeAttachments(contentId, [
- attachment.metadata.hash,
+ attachment.metadata.hash
]);
}
}
@@ -243,7 +244,7 @@ export default class Attachments extends Collection {
salt: attachment.salt,
length: attachment.length,
alg: attachment.alg,
- outputType: "base64",
+ outputType: "base64"
}
);
return dataurl.fromObject({ type: attachment.metadata.type, data });
@@ -293,7 +294,7 @@ export default class Attachments extends Collection {
await this._downloadMedia(attachment, {
total: attachments.length,
current: i,
- groupId: noteId,
+ groupId: noteId
});
}
} finally {
@@ -321,7 +322,7 @@ export default class Attachments extends Collection {
EV.publish(EVENTS.mediaAttachmentDownloaded, {
groupId,
hash: metadata.hash,
- src,
+ src
});
return src;
diff --git a/packages/core/collections/collection.js b/packages/core/collections/collection.js
index d60b2d83f..0d6474039 100644
--- a/packages/core/collections/collection.js
+++ b/packages/core/collections/collection.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EV, EVENTS } from "../common";
import CachedCollection from "../database/cached-collection";
diff --git a/packages/core/collections/content.js b/packages/core/collections/content.js
index 342dea583..fc4b28f70 100644
--- a/packages/core/collections/content.js
+++ b/packages/core/collections/content.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Collection from "./collection";
import getId from "../utils/id";
@@ -44,7 +45,7 @@ export default class Content extends Collection {
content = {
...oldContent,
...content,
- dateEdited: content.dateEdited || Date.now(),
+ dateEdited: content.dateEdited || Date.now()
};
}
@@ -60,14 +61,14 @@ export default class Content extends Collection {
dateModified: content.dateModified,
localOnly: !!content.localOnly,
conflicted: content.conflicted,
- dateResolved: content.dateResolved,
+ dateResolved: content.dateResolved
});
await this._collection.addItem(contentItem);
if (content.sessionId) {
await this._db.noteHistory.add(contentItem.noteId, content.sessionId, {
data: contentItem.data,
- type: contentItem.type,
+ type: contentItem.type
});
}
return id;
@@ -121,7 +122,7 @@ export default class Content extends Collection {
const progressData = {
total,
current,
- groupId,
+ groupId
};
return this._db.attachments._downloadMedia(
diff --git a/packages/core/collections/note-history.js b/packages/core/collections/note-history.js
index 9c1f9d29f..f89f4808e 100644
--- a/packages/core/collections/note-history.js
+++ b/packages/core/collections/note-history.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { makeSessionContentId } from "../utils/id";
import Collection from "./collection";
@@ -87,7 +88,7 @@ export default class NoteHistory extends Collection {
sessionContentId: makeSessionContentId(sessionId),
noteId,
dateCreated: oldSession ? oldSession.dateCreated : Date.now(),
- localOnly: true,
+ localOnly: true
};
if (locked) {
@@ -179,15 +180,15 @@ export default class NoteHistory extends Collection {
await this._db.content.add({
id: note.contentId,
data: content.data,
- type: content.type,
+ type: content.type
});
} else {
await this._db.notes.add({
id: session.noteId,
content: {
data: content.data,
- type: content.type,
- },
+ type: content.type
+ }
});
}
}
@@ -199,7 +200,7 @@ export default class NoteHistory extends Collection {
async serialize() {
return JSON.stringify({
sessions: await this.all(),
- sessionContents: await this.sessionContent.all(),
+ sessionContents: await this.sessionContent.all()
});
}
diff --git a/packages/core/collections/notebooks.js b/packages/core/collections/notebooks.js
index 6c47cf0ed..c237f0b5d 100644
--- a/packages/core/collections/notebooks.js
+++ b/packages/core/collections/notebooks.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Collection from "./collection";
import Notebook from "../models/notebook";
@@ -60,7 +61,7 @@ export default class Notebooks extends Collection {
remoteNotebook.topics[newTopicIndex] = {
...oldTopic,
notes: setManipulator.union(oldTopic.notes, newTopic.notes),
- dateEdited: Date.now(),
+ dateEdited: Date.now()
};
isChanged = true;
}
@@ -104,7 +105,7 @@ export default class Notebooks extends Collection {
let notebook = {
...oldNotebook,
- ...notebookArg,
+ ...notebookArg
};
if (!notebook.title) throw new Error("Notebook must contain a title.");
@@ -119,7 +120,7 @@ export default class Notebooks extends Collection {
dateCreated: notebook.dateCreated,
dateModified: notebook.dateModified,
- dateEdited: Date.now(),
+ dateEdited: Date.now()
};
await this._collection.addItem(notebook);
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.js
index e5d0de716..4b80fa831 100644
--- a/packages/core/collections/notes.js
+++ b/packages/core/collections/notes.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Collection from "./collection";
import Note from "../models/note";
@@ -54,7 +55,7 @@ export default class Notes extends Collection {
let note = {
...oldNote,
- ...noteArg,
+ ...noteArg
};
if (oldNote) note.contentId = oldNote.contentId;
@@ -74,7 +75,7 @@ export default class Notes extends Collection {
id: note.contentId,
type,
data,
- localOnly: !!note.localOnly,
+ localOnly: !!note.localOnly
});
note.headline = getNoteHeadline(note, content);
@@ -84,7 +85,7 @@ export default class Notes extends Collection {
if (noteArg.localOnly !== undefined) {
await this._db.content.add({
id: note.contentId,
- localOnly: !!noteArg.localOnly,
+ localOnly: !!noteArg.localOnly
});
}
@@ -112,7 +113,7 @@ export default class Notes extends Collection {
dateCreated: note.dateCreated,
dateEdited: note.dateEdited || note.dateCreated || Date.now(),
- dateModified: note.dateModified,
+ dateModified: note.dateModified
};
await this._collection.addItem(note);
@@ -335,6 +336,6 @@ function getNoteTitle(note, oldNote) {
return `Note ${new Date().toLocaleString(undefined, {
dateStyle: "short",
- timeStyle: "short",
+ timeStyle: "short"
})}`;
}
diff --git a/packages/core/collections/session-content.js b/packages/core/collections/session-content.js
index 9fc29b319..f15db5ca8 100644
--- a/packages/core/collections/session-content.js
+++ b/packages/core/collections/session-content.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { compress, decompress } from "../utils/compression";
import { makeSessionContentId } from "../utils/id";
@@ -36,7 +37,7 @@ export default class SessionContent extends Collection {
type: content.type,
compressed: !!compressed,
localOnly: true,
- locked,
+ locked
});
}
@@ -50,7 +51,7 @@ export default class SessionContent extends Collection {
let session = await this._collection.getItem(sessionContentId);
return {
data: session.compressed ? decompress(session.data) : session.data,
- type: session.type,
+ type: session.type
};
}
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.js
index ecabbc6bf..605bbd48d 100644
--- a/packages/core/collections/tags.js
+++ b/packages/core/collections/tags.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Collection from "./collection";
import { makeId } from "../utils/id";
@@ -50,7 +51,7 @@ export default class Tags extends Collection {
throw new Error("A tag with this id already exists.");
tag = tag || {
- title: tagId,
+ title: tagId
};
let id = tag.id || makeId(tag.title.toLowerCase());
@@ -61,7 +62,7 @@ export default class Tags extends Collection {
id,
title: tag.title,
noteIds: setManipulator.union(notes, noteIds),
- localOnly: true,
+ localOnly: true
};
await this._collection.addItem(tag);
diff --git a/packages/core/collections/topics.js b/packages/core/collections/topics.js
index 3383b81de..263ecdb1f 100644
--- a/packages/core/collections/topics.js
+++ b/packages/core/collections/topics.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Topic from "../models/topic";
import { qclone } from "qclone";
@@ -79,7 +80,7 @@ export default class Topics {
if (index > -1) {
notebook.topics[index] = {
...notebook.topics[index],
- ...topic,
+ ...topic
};
} else {
notebook.topics.push(topic);
@@ -138,6 +139,6 @@ export function makeTopic(topic, notebookId) {
title: topic.trim(),
dateCreated: Date.now(),
dateEdited: Date.now(),
- notes: [],
+ notes: []
};
}
diff --git a/packages/core/collections/trash.js b/packages/core/collections/trash.js
index ad707b755..2b6021cf1 100644
--- a/packages/core/collections/trash.js
+++ b/packages/core/collections/trash.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import dayjs from "dayjs";
@@ -27,7 +28,7 @@ export default class Trash {
this._db = db;
this.collections = {
notes: db.notes,
- notebooks: db.notebooks,
+ notebooks: db.notebooks
};
}
@@ -70,7 +71,7 @@ export default class Trash {
type: "trash",
itemType: item.itemType || item.type,
dateDeleted: item.dateDeleted || Date.now(),
- deleted: true,
+ deleted: true
});
}
diff --git a/packages/core/common.js b/packages/core/common.js
index 479db9f38..c8a86252d 100644
--- a/packages/core/common.js
+++ b/packages/core/common.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import EventManager from "./utils/event-manager";
@@ -33,7 +34,7 @@ export function sendAttachmentsProgressEvent(type, groupId, total, current) {
type,
groupId,
total,
- current: current === undefined ? total : current,
+ current: current === undefined ? total : current
});
}
@@ -41,7 +42,7 @@ export function sendSyncProgressEvent(EV, type, total, current) {
EV.publish(EVENTS.syncProgress, {
type,
total,
- current: current === undefined ? total : current,
+ current: current === undefined ? total : current
});
}
@@ -54,7 +55,7 @@ export const CHECK_IDS = {
vaultAdd: "vault:add",
notebookAdd: "notebook:add",
backupEncrypt: "backup:encrypt",
- databaseSync: "database:sync",
+ databaseSync: "database:sync"
};
export const EVENTS = {
@@ -79,7 +80,7 @@ export const EVENTS = {
attachmentDeleted: "attachment:deleted",
mediaAttachmentDownloaded: "attachments:mediaDownloaded",
vaultLocked: "vault:locked",
- systemTimeInvalid: "system:invalidTime",
+ systemTimeInvalid: "system:invalidTime"
};
export const CURRENT_DATABASE_VERSION = 5.6;
diff --git a/packages/core/content-types/__tests__/tiptap.test.js b/packages/core/content-types/__tests__/tiptap.test.js
index 57ba39aca..d3f816594 100644
--- a/packages/core/content-types/__tests__/tiptap.test.js
+++ b/packages/core/content-types/__tests__/tiptap.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { IMG_CONTENT, IMG_CONTENT_WITHOUT_HASH } from "../../__tests__/utils";
import { Tiptap } from "../tiptap";
@@ -46,7 +47,7 @@ const HTMLS = {
<p dir="ltr" data-spacing="double">hell</p><p dir="ltr" data-spacing="double">what</p><table><tbody><tr><th colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">sdsdavav</p></th><th colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">daskvjbdsva</p></th><th colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">vsadjkvsadbvjk</p></th></tr><tr><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">dsvsajkdb</p></td><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">dskajvbsadj</p></td><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">kjdasvbkj</p></td></tr><tr><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">daskvbkdsa</p></td><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">kdsajvbsajkd</p></td><td colspan="1" rowspan="1"><p dir="ltr" data-spacing="double">kjdsavbdsa</p></td></tr></tbody></table>`,
codeblocks: `<p>Typescript is one of those languages that appear to be very simple. It's often described as "Javascript with types" and it fits that name very well. However, what many don't realize starting out with Typescript is that Typescript&nbsp;<em>is </em>a language and like all other languages it has it's own "secrets", it's own set of quirks.</p><p>When I started out with Typescript a few years back, I absolutely hated it. It was unnecessary, a box of clutter, making me write code that would never actually run. I hated defining interfaces, typing out all my functions, and thinking in terms I was not used to as a Javascript developer. Before Javascript, I had coded in C# and I had never really liked C# (I still don't) mostly for the huge amounts of boilerplate and magic involved. Typescript is heavily inspired by C# and seeing that contaminate the Javascript ecosystem irked me no end.</p><p>That was all just fluff. Typescript is a great language solving a considerable amount of problems for a huge amount of developers. And generics is the hidden weapon behind it all.</p><h2>Understanding Typescript generics</h2><p>For all points and purposes, generics shouldn't exist. They are one of the main factors behind abysmal code readability. But in the right hands, generics turn into a super-weapon.</p><p>The main problem generics try to solve is how to take in multiple types of parameters. This is a solved problem but requires duplicating your functions or using conditions to separate out different logic for different types. That is essentially what generics do as well but hidden from human eyes.</p><p>Think of a container that can take any type of item as long as it is not a circle. In Javascript, this becomes a problem you have to solve at runtime with checks &amp; conditions:</p><pre data-indent-type="space" data-indent-length="2" class="language-javascript"><code>var container = [];\nfunction putIntoContainer(item) {\n if (item.type === "round") throw new Error("Rounded items not supported.")\n container.push(item);\n}\n\nvar square = {type: "square"}\nvar circle = {type: "round"}\nputIntoContainer(square)\nputIntoContainer(circle) // ERROR! Rounded items not supported!\n</code></pre><p>There are many ways to solve this problem and some are even practical. The issue here isn't of repetition but of doing unnecessary work. Type safe languages would automatically give an error if there was a wrong type but Javascript knows nothing about the <code>item</code>.</p><p>In Typescript, this will be solved much more succinctly:</p><pre data-indent-type="space" data-indent-length="2" class="language-typescript"><code>// first define the types of items we'll handle\n// i.e. we don't want to handle any item other\n// than square or round.\n// This gives us nice auto completion and safety\n// against typos.\ntype ItemTypes = "square" | "round";\n\n// Define a generic item that can be of any type\n// defined in ItemTypes.\n// i.e. Item&lt;"triangle"&gt; will give an error.\ntype Item&lt;TItemType extends ItemTypes&gt; = {\n type?: TItemType;\n width: number;\n height: number;\n};\n\n// This is just syntax sugar to increase readability.\ntype Square = Item&lt;"square"&gt;;\ntype Circle = Item&lt;"round"&gt;;\n\n// Our container is just a simple wrapper around an array\n// that accepts items of only a specific type.\ntype Container&lt;TItemType extends ItemTypes&gt; = Array&lt;Item&lt;TItemType&gt;&gt;;\n\nvar squareContainer: Container&lt;"square"&gt; = [];\nvar roundContainer: Container&lt;"round"&gt; = [];\n\n// This wrapper is unnecessary, of course, because array.push\n// already does this. Only for demonstration purposes.\nfunction putIntoContainer&lt;\n TItemType extends ItemTypes,\n TItem extends Item&lt;TItemType&gt;\n&gt;(container: Container&lt;TItemType&gt;, item: TItem) {\n container.push(item);\n}\n\nvar square: Square = { width: 100, height: 200 };\nvar circle: Circle = { width: 200, height: 500 };\n\nputIntoContainer(squareContainer, square);\nputIntoContainer(roundContainer, circle);\nputIntoContainer(roundContainer, square); // Error: Argument of type 'Square' is not assignable to parameter of type 'Item&lt;"round"&gt;'.\nputIntoContainer(squareContainer, circle); // Error: Argument of type 'Circle' is not assignable to parameter of type 'Item&lt;"square"&gt;'.\n</code></pre><p>A lot more code, I know, and if you don't know how generics work that blob of code is utter nonsense. One of the main reasons I avoided Typescript for a long time. But look at the benefits:</p><ol style="list-style-type: decimal"><li><p dir="ltr">You have 100% compile-time type safety.</p></li><li><p dir="ltr">You can't put a round item in a square container (you will get compiler error).</p></li><li><p dir="ltr">You didn't write any extra runtime code.</p></li></ol><p>Expanding on point #3, after transpilation the above code will turn more-or-less into:</p><pre data-indent-type="space" data-indent-length="2" class="language-javascript"><code>var squareContainer = [];\nvar roundContainer = [];\n\nfunction putIntoContainer(container, item) {\n container.push(item);\n}\n\nvar square = { width: 100, height: 200 };\nvar circle = { width: 200, height: 500 };\n\nputIntoContainer(squareContainer, square);\nputIntoContainer(roundContainer, circle);\n</code></pre><p>This is the power of generics. More specifically, this is Typescript generics at a glance.</p><p>But this post was supposed to be about the "Secrets" of Typescript Generics, right? Well, let's get into that.</p><h2>1. Type filters using ternary operators</h2><h2>2. Deeply recursive types</h2><h2>3. Type functions</h2><h2>4. Type inference using interface properties</h2>`,
tasklists: `<p>Hello</p><ul data-collapsed="false" class="checklist"><li class="checked checklist--item"><p>Task item 1</p></li><li class="checked checklist--item"><p>Task item 2</p></li><li class="checked checklist--item"><p>Task item 3</p></li><li class="checklist--item"><p>Task item 4</p><ul data-collapsed="false" class="checklist"><li class="checklist--item"><p>Sub task item 1</p></li><li class="checklist--item"><p>Sub task item 2</p></li></ul></li><li class="checklist--item"><p>Task Item 5</p></li></ul><p>Nene</p><ul><li><p>dasvsadv</p></li><li><p>adsva\`sd</p></li><li><p>vasd</p></li><li><p>vsadvdsa</p></li></ul>`,
- outlinelists: `<p dir="ltr">Testing outline list:</p><ul data-collapsed="false" data-type="outlineList"><li data-type="outlineListItem"><p dir="ltr">My outline list</p></li><li data-type="outlineListItem"><p dir="ltr">works</p></li><li data-type="outlineListItem"><p dir="ltr">but sometimes</p><ul data-collapsed="false" data-type="outlineList"><li data-type="outlineListItem"><p dir="ltr">It doesn't</p></li><li data-type="outlineListItem"><p dir="ltr">what do I do?</p></li><li data-type="outlineListItem"><p dir="ltr">I need to do something!</p></li></ul></li><li data-type="outlineListItem"><p dir="ltr">Makes no sense!</p></li><li data-type="outlineListItem"><p dir="ltr">Yes it doesn't!</p></li></ul>`,
+ outlinelists: `<p dir="ltr">Testing outline list:</p><ul data-collapsed="false" data-type="outlineList"><li data-type="outlineListItem"><p dir="ltr">My outline list</p></li><li data-type="outlineListItem"><p dir="ltr">works</p></li><li data-type="outlineListItem"><p dir="ltr">but sometimes</p><ul data-collapsed="false" data-type="outlineList"><li data-type="outlineListItem"><p dir="ltr">It doesn't</p></li><li data-type="outlineListItem"><p dir="ltr">what do I do?</p></li><li data-type="outlineListItem"><p dir="ltr">I need to do something!</p></li></ul></li><li data-type="outlineListItem"><p dir="ltr">Makes no sense!</p></li><li data-type="outlineListItem"><p dir="ltr">Yes it doesn't!</p></li></ul>`
};
for (const html in HTMLS) {
diff --git a/packages/core/content-types/index.js b/packages/core/content-types/index.js
index b1268ab54..51fa0724b 100644
--- a/packages/core/content-types/index.js
+++ b/packages/core/content-types/index.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Tiptap } from "./tiptap";
diff --git a/packages/core/content-types/tiptap.js b/packages/core/content-types/tiptap.js
index 8d9a65f36..aa228d905 100644
--- a/packages/core/content-types/tiptap.js
+++ b/packages/core/content-types/tiptap.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import showdown from "showdown";
import dataurl from "../utils/dataurl";
@@ -75,7 +76,7 @@ export class Tiptap {
const src = await getData(hash, {
total: attachmentElements.length,
- current: i,
+ current: i
});
if (!src) continue;
attachment.setAttribute("src", src);
@@ -130,11 +131,11 @@ export class Tiptap {
filename:
getDatasetAttribute(attachment, "filename") || metadata.hash,
...metadata,
- key,
+ key
});
} else {
attachments.push({
- hash: getDatasetAttribute(attachment, "hash"),
+ hash: getDatasetAttribute(attachment, "hash")
});
}
attachment.removeAttribute("src");
@@ -143,7 +144,7 @@ export class Tiptap {
default: {
if (!getDatasetAttribute(attachment, "hash")) continue;
attachments.push({
- hash: getDatasetAttribute(attachment, "hash"),
+ hash: getDatasetAttribute(attachment, "hash")
});
break;
}
@@ -159,7 +160,7 @@ export class Tiptap {
}
return {
data: this.document.body.innerHTML,
- attachments,
+ attachments
};
}
}
diff --git a/packages/core/database/backup.js b/packages/core/database/backup.js
index 793004c3b..5755b0441 100644
--- a/packages/core/database/backup.js
+++ b/packages/core/database/backup.js
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Migrator from "./migrator.js";
import {
CHECK_IDS,
checkIsUserPremium,
- CURRENT_DATABASE_VERSION,
+ CURRENT_DATABASE_VERSION
} from "../common.js";
import SparkMD5 from "spark-md5";
@@ -77,7 +78,7 @@ export default class Backup {
type,
date: Date.now(),
data,
- ...hash,
+ ...hash
});
}
@@ -158,25 +159,25 @@ export default class Backup {
const collections = [
{
index: data["attachments"],
- dbCollection: this._db.attachments,
+ dbCollection: this._db.attachments
},
{
index: data["notebooks"],
- dbCollection: this._db.notebooks,
+ dbCollection: this._db.notebooks
},
{
index: data["content"],
- dbCollection: this._db.content,
+ dbCollection: this._db.content
},
{
index: data["notes"],
- dbCollection: this._db.notes,
+ dbCollection: this._db.notes
},
{
index: ["settings"],
dbCollection: this._db.settings,
- type: "settings",
- },
+ type: "settings"
+ }
];
await this._db.syncer.acquireLock(async () => {
diff --git a/packages/core/database/cached-collection.js b/packages/core/database/cached-collection.js
index 41c552758..f5f0b62eb 100644
--- a/packages/core/database/cached-collection.js
+++ b/packages/core/database/cached-collection.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import IndexedCollection from "./indexed-collection";
import MapStub from "../utils/map";
diff --git a/packages/core/database/fs.js b/packages/core/database/fs.js
index 3fcbb209b..2d8912c82 100644
--- a/packages/core/database/fs.js
+++ b/packages/core/database/fs.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import hosts from "../utils/constants";
import TokenManager from "../api/token-manager";
@@ -33,7 +34,7 @@ export default class FileStorage {
metadata,
url,
chunkSize,
- headers: { Authorization: `Bearer ${token}` },
+ headers: { Authorization: `Bearer ${token}` }
});
this._queue.push({ groupId, filename, cancel, type: "download" });
const result = await execute();
@@ -46,7 +47,7 @@ export default class FileStorage {
const url = `${hosts.API_HOST}/s3?name=${filename}`;
const { execute, cancel } = this.fs.uploadFile(filename, {
url,
- headers: { Authorization: `Bearer ${token}` },
+ headers: { Authorization: `Bearer ${token}` }
});
this._queue.push({ groupId, filename, cancel, type: "upload" });
const result = await execute();
@@ -76,7 +77,7 @@ export default class FileStorage {
return this.fs.writeEncrypted(filename, {
data,
type,
- key: encryptionKey,
+ key: encryptionKey
});
}
@@ -87,7 +88,7 @@ export default class FileStorage {
const url = `${hosts.API_HOST}/s3?name=${filename}`;
return await this.fs.deleteFile(filename, {
url,
- headers: { Authorization: `Bearer ${token}` },
+ headers: { Authorization: `Bearer ${token}` }
});
}
diff --git a/packages/core/database/indexed-collection.js b/packages/core/database/indexed-collection.js
index ed3395c0f..4400f580d 100644
--- a/packages/core/database/indexed-collection.js
+++ b/packages/core/database/indexed-collection.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EVENTS } from "../common";
import Indexer from "./indexer";
@@ -75,7 +76,7 @@ export default class IndexedCollection {
this.eventManager.publish(EVENTS.databaseUpdated, id);
return this.updateItem({
id,
- deleted: true,
+ deleted: true
});
}
diff --git a/packages/core/database/indexer.js b/packages/core/database/indexer.js
index 4af925ec2..663ee35f9 100644
--- a/packages/core/database/indexer.js
+++ b/packages/core/database/indexer.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Storage from "./storage";
diff --git a/packages/core/database/migrator.js b/packages/core/database/migrator.js
index de10b5adb..20962ceda 100644
--- a/packages/core/database/migrator.js
+++ b/packages/core/database/migrator.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { migrations } from "../migrations";
diff --git a/packages/core/database/storage.js b/packages/core/database/storage.js
index 268c39e40..b661d0577 100644
--- a/packages/core/database/storage.js
+++ b/packages/core/database/storage.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { randomBytes } from "../utils/random";
diff --git a/packages/core/jest.config.js b/packages/core/jest.config.js
index f7a7be6a0..2a4b84c33 100644
--- a/packages/core/jest.config.js
+++ b/packages/core/jest.config.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
@@ -157,7 +158,7 @@ module.exports = {
// testLocationInResults: false,
// The glob patterns Jest uses to detect test files
- testMatch: ["**/**/**/*.test.[jt]s?(x)"],
+ testMatch: ["**/**/**/*.test.[jt]s?(x)"]
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
diff --git a/packages/core/jest.setup.js b/packages/core/jest.setup.js
index a35f1fedc..991b67c36 100644
--- a/packages/core/jest.setup.js
+++ b/packages/core/jest.setup.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
var nodeCrypto = require("crypto");
var dotenv = require("dotenv");
diff --git a/packages/core/logger.js b/packages/core/logger.js
index cbb492e81..3207f2c77 100644
--- a/packages/core/logger.js
+++ b/packages/core/logger.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Logger,
diff --git a/packages/core/migrations.js b/packages/core/migrations.js
index 328d0336c..9d2777de2 100644
--- a/packages/core/migrations.js
+++ b/packages/core/migrations.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { parseHTML } from "./utils/html-parser";
import { decodeHTML5 } from "entities";
@@ -36,14 +37,14 @@ export const migrations = {
item.data = removeToxClassFromChecklist(wrapTablesWithDiv(item.data));
return migrations["5.3"].tiny(item);
},
- settings: replaceDateEditedWithDateModified(true),
+ settings: replaceDateEditedWithDateModified(true)
},
5.3: {
tiny: (item) => {
if (!item.data || item.data.iv) return migrations["5.4"].tiny(item);
item.data = decodeWrappedTableHtml(item.data);
return migrations["5.4"].tiny(item);
- },
+ }
},
5.4: {
tiny: (item) => {
@@ -51,7 +52,7 @@ export const migrations = {
item.type = "tiptap";
item.data = tinyToTiptap(item.data);
return item;
- },
+ }
},
5.5: {},
5.6: {
@@ -62,8 +63,8 @@ export const migrations = {
trash: false,
tiny: false,
tiptap: false,
- settings: false,
- },
+ settings: false
+ }
};
function replaceDateEditedWithDateModified(removeDateEditedProperty = false) {
diff --git a/packages/core/models/note.js b/packages/core/models/note.js
index c9df82633..4da999920 100644
--- a/packages/core/models/note.js
+++ b/packages/core/models/note.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import MarkdownBuilder from "../utils/templates/markdown/builder";
import HTMLBuilder from "../utils/templates/html/builder";
@@ -88,7 +89,7 @@ export default class Note {
title: this.title,
editedOn: this.dateEdited,
headline: this.headline,
- createdOn: this.data.dateCreated,
+ createdOn: this.data.dateCreated
};
const contentItem = await this._db.content.raw(this._note.contentId);
if (!contentItem) return false;
@@ -126,7 +127,7 @@ export default class Note {
id: undefined,
content: {
type: content.type,
- data: content.data,
+ data: content.data
},
readonly: false,
favorite: false,
@@ -135,7 +136,7 @@ export default class Note {
title: this._note.title + " (Copy)",
dateEdited: null,
dateCreated: null,
- dateModified: null,
+ dateModified: null
});
}
@@ -145,7 +146,7 @@ export default class Note {
await this._db.colors.untag(this._note.color, this._note.id);
await this._db.notes.add({
id: this.id,
- color: this._db.colors.sanitize(color),
+ color: this._db.colors.sanitize(color)
});
}
@@ -154,7 +155,7 @@ export default class Note {
await this._db.colors.untag(this._note.color, this._note.id);
await this._db.notes.add({
id: this.id,
- color: undefined,
+ color: undefined
});
}
diff --git a/packages/core/models/notebook.js b/packages/core/models/notebook.js
index c4470ca2c..dc5592ba2 100644
--- a/packages/core/models/notebook.js
+++ b/packages/core/models/notebook.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Topics from "../collections/topics";
@@ -58,7 +59,7 @@ export default class Notebook {
_toggle(prop) {
return this._db.notebooks.add({
id: this._notebook.id,
- [prop]: !this._notebook[prop],
+ [prop]: !this._notebook[prop]
});
}
diff --git a/packages/core/models/topic.js b/packages/core/models/topic.js
index b0129d246..470809a71 100644
--- a/packages/core/models/topic.js
+++ b/packages/core/models/topic.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { qclone } from "qclone";
import { deleteItem, findById } from "../utils/array";
@@ -57,14 +58,14 @@ export default class Topic {
} else if (!noteHasNotebook) {
notebooks.push({
id: this._notebookId,
- topics: [topic.id],
+ topics: [topic.id]
});
}
if (!noteHasNotebook || !noteHasTopic) {
await this._db.notes.add({
id: noteId,
- notebooks,
+ notebooks
});
}
@@ -100,7 +101,7 @@ export default class Topic {
await this._db.notes.add({
id: noteId,
- notebooks,
+ notebooks
});
}
return await this._save(topic);
diff --git a/packages/core/types.js b/packages/core/types.js
index caccaf7a1..bbf16487d 100644
--- a/packages/core/types.js
+++ b/packages/core/types.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const _ignore = "";
diff --git a/packages/core/utils/__tests__/compression.test.js b/packages/core/utils/__tests__/compression.test.js
index 35b3989d8..d27c1bb2c 100644
--- a/packages/core/utils/__tests__/compression.test.js
+++ b/packages/core/utils/__tests__/compression.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { TEST_NOTE } from "../../__tests__/utils";
import { compress, decompress } from "../compression";
diff --git a/packages/core/utils/__tests__/set.test.js b/packages/core/utils/__tests__/set.test.js
index 308886e06..a0862567b 100644
--- a/packages/core/utils/__tests__/set.test.js
+++ b/packages/core/utils/__tests__/set.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import Set from "../set";
diff --git a/packages/core/utils/array.js b/packages/core/utils/array.js
index 6336c67e6..3cc9127d5 100644
--- a/packages/core/utils/array.js
+++ b/packages/core/utils/array.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function findItemAndDelete(array, predicate) {
return deleteAtIndex(array, array.findIndex(predicate));
diff --git a/packages/core/utils/compression.js b/packages/core/utils/compression.js
index 7dc7be80e..09f049432 100644
--- a/packages/core/utils/compression.js
+++ b/packages/core/utils/compression.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { decode, encode } from "base64-arraybuffer";
import { compressSync, decompressSync, strToU8, strFromU8 } from "fflate";
diff --git a/packages/core/utils/constants.js b/packages/core/utils/constants.js
index 42bc12d23..5ffe49f97 100644
--- a/packages/core/utils/constants.js
+++ b/packages/core/utils/constants.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { extractHostname } from "./hostname";
@@ -39,7 +40,7 @@ const hosts = {
: "http://localhost:9264",
ISSUES_HOST: isProduction()
? "https://issues.streetwriters.co"
- : "http://localhost:2624",
+ : "http://localhost:2624"
};
export default hosts;
@@ -51,7 +52,7 @@ export const getServerNameFromHost = (host) => {
[extractHostname(hosts.SSE_HOST)]: "Eventing Server",
[extractHostname(hosts.SUBSCRIPTIONS_HOST)]:
"Subscriptions Management Server",
- [extractHostname(hosts.ISSUES_HOST)]: "Bug Reporting Server",
+ [extractHostname(hosts.ISSUES_HOST)]: "Bug Reporting Server"
};
return names[host];
};
diff --git a/packages/core/utils/dataurl.js b/packages/core/utils/dataurl.js
index c1009e5ac..4808406f2 100644
--- a/packages/core/utils/dataurl.js
+++ b/packages/core/utils/dataurl.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const REGEX = /^data:(image\/.+);base64,(.+)/;
diff --git a/packages/core/utils/date.js b/packages/core/utils/date.js
index f83356000..17a4409d6 100644
--- a/packages/core/utils/date.js
+++ b/packages/core/utils/date.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function getWeekGroupFromTimestamp(timestamp) {
const date = new Date(timestamp);
@@ -45,7 +46,7 @@ function getWeek(date) {
const start = {
month: date.getMonth(),
year: date.getFullYear(),
- day: date.getDate(),
+ day: date.getDate()
};
const hours = 24 * 6;
@@ -54,7 +55,7 @@ function getWeek(date) {
const end = {
month: date.getMonth(),
year: date.getFullYear(),
- day: date.getDate(),
+ day: date.getDate()
};
return { start, end };
@@ -70,7 +71,7 @@ export function formatDate(
date,
options = {
dateStyle: "medium",
- timeStyle: "short",
+ timeStyle: "short"
}
) {
return new Date(date).toLocaleString(undefined, options);
@@ -88,7 +89,7 @@ export const MONTHS_FULL = [
"September",
"October",
"November",
- "December",
+ "December"
];
const MONTHS_SHORT = [
@@ -103,5 +104,5 @@ const MONTHS_SHORT = [
"Sep",
"Oct",
"Nov",
- "Dec",
+ "Dec"
];
diff --git a/packages/core/utils/event-manager.js b/packages/core/utils/event-manager.js
index 0e0167e3f..c8f70e28a 100644
--- a/packages/core/utils/event-manager.js
+++ b/packages/core/utils/event-manager.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
class EventManager {
constructor() {
diff --git a/packages/core/utils/grouping.js b/packages/core/utils/grouping.js
index f232b9e77..ff84b107d 100644
--- a/packages/core/utils/grouping.js
+++ b/packages/core/utils/grouping.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "../types";
import { getWeekGroupFromTimestamp, MONTHS_FULL } from "./date";
@@ -25,20 +26,20 @@ const MILLISECONDS_IN_WEEK = MILLISECONDS_IN_DAY * 7;
const comparators = {
dateEdited: {
asc: (a, b) => a.dateEdited - b.dateEdited,
- desc: (a, b) => b.dateEdited - a.dateEdited,
+ desc: (a, b) => b.dateEdited - a.dateEdited
},
dateCreated: {
asc: (a, b) => a.dateCreated - b.dateCreated,
- desc: (a, b) => b.dateCreated - a.dateCreated,
+ desc: (a, b) => b.dateCreated - a.dateCreated
},
dateDeleted: {
asc: (a, b) => a.dateDeleted - b.dateDeleted,
- desc: (a, b) => b.dateDeleted - a.dateDeleted,
+ desc: (a, b) => b.dateDeleted - a.dateDeleted
},
title: {
asc: (a, b) => getTitle(a).localeCompare(getTitle(b)),
- desc: (a, b) => getTitle(b).localeCompare(getTitle(a)),
- },
+ desc: (a, b) => getTitle(b).localeCompare(getTitle(a))
+ }
};
function getTitle(item) {
@@ -63,7 +64,7 @@ const KEY_SELECTORS = {
: date > dateNow.getTime() - MILLISECONDS_IN_WEEK * 2
? "Last week"
: "Older";
- },
+ }
};
/**
@@ -76,7 +77,7 @@ export function groupArray(
options = {
groupBy: "default",
sortBy: "dateEdited",
- sortDirection: "desc",
+ sortDirection: "desc"
}
) {
const cachedDate = new Date();
@@ -111,7 +112,7 @@ export function groupArray(
const groups = new Map([
["Conflicted", []],
- ["Pinned", []],
+ ["Pinned", []]
]);
const keySelector = KEY_SELECTORS[options.groupBy || "default"];
diff --git a/packages/core/utils/hostname.js b/packages/core/utils/hostname.js
index 035981847..60aa944ca 100644
--- a/packages/core/utils/hostname.js
+++ b/packages/core/utils/hostname.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function extractHostname(url) {
var hostname;
diff --git a/packages/core/utils/html-parser.js b/packages/core/utils/html-parser.js
index a2bcd4f2d..4a1d1e77f 100644
--- a/packages/core/utils/html-parser.js
+++ b/packages/core/utils/html-parser.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { decodeHTML5 } from "entities";
diff --git a/packages/core/utils/http.js b/packages/core/utils/http.js
index f57eccbac..136df6ea8 100644
--- a/packages/core/utils/http.js
+++ b/packages/core/utils/http.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EV, EVENTS } from "../common";
import { logger } from "../logger";
@@ -49,7 +50,7 @@ export default {
get,
post,
delete: deleteRequest,
- patch,
+ patch
};
function transformer(data, type) {
@@ -101,7 +102,7 @@ async function request(url, token, method) {
return handleResponse(
await fetchWrapped(url, {
method,
- headers: getAuthorizationHeader(token),
+ headers: getAuthorizationHeader(token)
})
);
}
@@ -119,8 +120,8 @@ async function bodyRequest(
body: transformer(data, contentType),
headers: {
...getAuthorizationHeader(token),
- "Content-Type": contentType,
- },
+ "Content-Type": contentType
+ }
})
);
}
@@ -163,7 +164,7 @@ export function errorTransformer(errorJson) {
return {
description: errorMessage,
code: errorCode,
- data: data ? JSON.parse(data) : undefined,
+ data: data ? JSON.parse(data) : undefined
};
}
diff --git a/packages/core/utils/id.js b/packages/core/utils/id.js
index e2c8e54f4..b21352264 100644
--- a/packages/core/utils/id.js
+++ b/packages/core/utils/id.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import SparkMD5 from "spark-md5";
import ObjectID from "./object-id";
diff --git a/packages/core/utils/map.js b/packages/core/utils/map.js
index 7c9748386..da65777f9 100644
--- a/packages/core/utils/map.js
+++ b/packages/core/utils/map.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
var map = Map;
class MapStub {
diff --git a/packages/core/utils/object-id.js b/packages/core/utils/object-id.js
index 120354b90..c81dfaab1 100644
--- a/packages/core/utils/object-id.js
+++ b/packages/core/utils/object-id.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// Copied from https://github.com/williamkapke/bson-objectid
@@ -321,7 +322,7 @@ ObjectID.prototype = {
(inc >> 8) & 0xff,
inc & 0xff
);
- },
+ }
};
function next() {
diff --git a/packages/core/utils/random.js b/packages/core/utils/random.js
index 09f503983..f3bc21b73 100644
--- a/packages/core/utils/random.js
+++ b/packages/core/utils/random.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/**
*
diff --git a/packages/core/utils/set.js b/packages/core/utils/set.js
index ae95cc381..dd9c3ec46 100644
--- a/packages/core/utils/set.js
+++ b/packages/core/utils/set.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// SetManipulator MIT Licence © 2016 Edwin Monk-Fromont http://github.com/edmofro
// Based on setOps.js MIT License © 2014 James Abney http://github.com/jabney
diff --git a/packages/core/utils/templates/helper.js b/packages/core/utils/templates/helper.js
index 584bd3f73..0d8464e5e 100644
--- a/packages/core/utils/templates/helper.js
+++ b/packages/core/utils/templates/helper.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { formatDate } from "../date";
diff --git a/packages/core/utils/templates/html/builder.js b/packages/core/utils/templates/html/builder.js
index 492cc066b..1636a0998 100644
--- a/packages/core/utils/templates/html/builder.js
+++ b/packages/core/utils/templates/html/builder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { buildPage } from "../helper";
import HTMLTemplate from "./template";
diff --git a/packages/core/utils/templates/html/template.js b/packages/core/utils/templates/html/template.js
index cb2d0d0a3..18bc53149 100644
--- a/packages/core/utils/templates/html/template.js
+++ b/packages/core/utils/templates/html/template.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const template = `<!DOCTYPE html>
<html lang="en-US">
diff --git a/packages/core/utils/templates/markdown/builder.js b/packages/core/utils/templates/markdown/builder.js
index c83a6eb8d..c62455169 100644
--- a/packages/core/utils/templates/markdown/builder.js
+++ b/packages/core/utils/templates/markdown/builder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { buildPage } from "../helper";
import MDTemplate from "./template";
diff --git a/packages/core/utils/templates/markdown/template.js b/packages/core/utils/templates/markdown/template.js
index 1f110dfa9..0369ba4cc 100644
--- a/packages/core/utils/templates/markdown/template.js
+++ b/packages/core/utils/templates/markdown/template.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const template = `# {{title}}
diff --git a/packages/core/utils/templates/text/builder.js b/packages/core/utils/templates/text/builder.js
index c98a759cb..e31598870 100644
--- a/packages/core/utils/templates/text/builder.js
+++ b/packages/core/utils/templates/text/builder.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { buildPage } from "../helper";
import TextTemplate from "./template";
diff --git a/packages/core/utils/templates/text/template.js b/packages/core/utils/templates/text/template.js
index b1e0439ad..3a7188cd5 100644
--- a/packages/core/utils/templates/text/template.js
+++ b/packages/core/utils/templates/text/template.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const template = `{{title}}
----------
diff --git a/packages/crypto-worker/index.ts b/packages/crypto-worker/index.ts
index 889a4adbb..42f61c7a9 100644
--- a/packages/crypto-worker/index.ts
+++ b/packages/crypto-worker/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
SerializedKey,
diff --git a/packages/crypto-worker/src/utils.ts b/packages/crypto-worker/src/utils.ts
index 5d98890ac..14b9c69f3 100644
--- a/packages/crypto-worker/src/utils.ts
+++ b/packages/crypto-worker/src/utils.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
type Message<T> = {
type: string;
diff --git a/packages/crypto-worker/src/worker.ts b/packages/crypto-worker/src/worker.ts
index 0bd278d29..4c93d26c6 100644
--- a/packages/crypto-worker/src/worker.ts
+++ b/packages/crypto-worker/src/worker.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Cipher,
diff --git a/packages/crypto-worker/src/workerstream.ts b/packages/crypto-worker/src/workerstream.ts
index f36820de2..bc3c95cad 100644
--- a/packages/crypto-worker/src/workerstream.ts
+++ b/packages/crypto-worker/src/workerstream.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { IStreamable } from "@notesnook/crypto/dist/src/interfaces";
import { Chunk } from "@notesnook/crypto/dist/src/types";
diff --git a/packages/crypto/index.ts b/packages/crypto/index.ts
index 05d162336..82793d28a 100644
--- a/packages/crypto/index.ts
+++ b/packages/crypto/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ready } from "libsodium-wrappers";
import Decryption from "./src/decryption";
diff --git a/packages/crypto/src/decryption.ts b/packages/crypto/src/decryption.ts
index 787e6e420..dd1d0c3f7 100644
--- a/packages/crypto/src/decryption.ts
+++ b/packages/crypto/src/decryption.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
crypto_aead_xchacha20poly1305_ietf_decrypt,
diff --git a/packages/crypto/src/encryption.ts b/packages/crypto/src/encryption.ts
index aa9a780bb..6eef40859 100644
--- a/packages/crypto/src/encryption.ts
+++ b/packages/crypto/src/encryption.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
crypto_aead_xchacha20poly1305_ietf_encrypt,
diff --git a/packages/crypto/src/interfaces.ts b/packages/crypto/src/interfaces.ts
index a89882a2c..e7e302b77 100644
--- a/packages/crypto/src/interfaces.ts
+++ b/packages/crypto/src/interfaces.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Cipher,
diff --git a/packages/crypto/src/keyutils.ts b/packages/crypto/src/keyutils.ts
index 44958a36c..d965f7baf 100644
--- a/packages/crypto/src/keyutils.ts
+++ b/packages/crypto/src/keyutils.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
from_base64,
diff --git a/packages/crypto/src/password.ts b/packages/crypto/src/password.ts
index ae3dea388..d195a8558 100644
--- a/packages/crypto/src/password.ts
+++ b/packages/crypto/src/password.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
crypto_generichash,
diff --git a/packages/crypto/src/types.ts b/packages/crypto/src/types.ts
index 42e8ee9ff..46894e5d6 100644
--- a/packages/crypto/src/types.ts
+++ b/packages/crypto/src/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { StringOutputFormat, Uint8ArrayOutputFormat } from "libsodium-wrappers";
diff --git a/packages/editor-mobile/public/fonts.css b/packages/editor-mobile/public/fonts.css
index 72cd4b88a..6da9b141b 100644
--- a/packages/editor-mobile/public/fonts.css
+++ b/packages/editor-mobile/public/fonts.css
@@ -1,71 +1,74 @@
/* open-sans-regular - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: normal;
font-weight: 400;
- src: local('Open Sans'), url(./fonts/OpenSans-Regular.ttf) format('truetype');
+ src: local("Open Sans"), url(./fonts/OpenSans-Regular.ttf) format("truetype");
}
/* open-sans-italic - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: italic;
font-weight: 400;
- src: local('Open Sans'), url(./fonts/OpenSans-Italic.ttf) format('truetype');
+ src: local("Open Sans"), url(./fonts/OpenSans-Italic.ttf) format("truetype");
}
/* open-sans-600 - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: normal;
font-weight: 500;
- src: local('Open Sans'), url(./fonts/OpenSans-Medium.ttf) format('truetype');
+ src: local("Open Sans"), url(./fonts/OpenSans-Medium.ttf) format("truetype");
}
/* open-sans-600italic - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: italic;
font-weight: 500;
- src: local('Open Sans'), url(./fonts/OpenSans-MediumItalic.ttf) format('truetype');
+ src: local("Open Sans"),
+ url(./fonts/OpenSans-MediumItalic.ttf) format("truetype");
}
/* open-sans-600 - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: normal;
font-weight: 600;
- src: local('Open Sans'), url(./fonts/OpenSans-SemiBold.ttf) format('truetype');
+ src: local("Open Sans"), url(./fonts/OpenSans-SemiBold.ttf) format("truetype");
}
/* open-sans-600italic - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: italic;
font-weight: 600;
- src: local('Open Sans'), url(./fonts/OpenSans-SemiBoldItalic.ttf) format('truetype');
+ src: local("Open Sans"),
+ url(./fonts/OpenSans-SemiBoldItalic.ttf) format("truetype");
}
/* open-sans-700 - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: normal;
font-weight: 700;
- src: local('Open Sans'), url(./fonts/OpenSans-Bold.ttf) format('truetype');
+ src: local("Open Sans"), url(./fonts/OpenSans-Bold.ttf) format("truetype");
}
/* open-sans-700italic - latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: "Open Sans";
font-display: swap;
font-style: italic;
font-weight: 700;
- src: local('Open Sans'), url(./fonts/OpenSans-BoldItalic.ttf) format('truetype');
+ src: local("Open Sans"),
+ url(./fonts/OpenSans-BoldItalic.ttf) format("truetype");
}
diff --git a/packages/editor-mobile/src/App.css b/packages/editor-mobile/src/App.css
index 1a247f211..e3766a939 100644
--- a/packages/editor-mobile/src/App.css
+++ b/packages/editor-mobile/src/App.css
@@ -1,5 +1,5 @@
.App {
- flex:1;
+ flex: 1;
}
.ProseMirror:focus {
@@ -12,4 +12,4 @@
float: left;
height: 0;
pointer-events: none;
-}
\ No newline at end of file
+}
diff --git a/packages/editor-mobile/src/App.test.js b/packages/editor-mobile/src/App.test.js
index 2d375412a..d087587f0 100644
--- a/packages/editor-mobile/src/App.test.js
+++ b/packages/editor-mobile/src/App.test.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { render, screen } from "@testing-library/react";
import App from "./App";
diff --git a/packages/editor-mobile/src/App.tsx b/packages/editor-mobile/src/App.tsx
index cc99c0051..cc8174297 100644
--- a/packages/editor-mobile/src/App.tsx
+++ b/packages/editor-mobile/src/App.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "./App.css";
import Tiptap from "./components/editor";
diff --git a/packages/editor-mobile/src/components/button.tsx b/packages/editor-mobile/src/components/button.tsx
index 3c42e1fba..e1b74f865 100644
--- a/packages/editor-mobile/src/components/button.tsx
+++ b/packages/editor-mobile/src/components/button.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "@notesnook/editor";
diff --git a/packages/editor-mobile/src/components/editor.tsx b/packages/editor-mobile/src/components/editor.tsx
index f80b7d1c0..9a5f709af 100644
--- a/packages/editor-mobile/src/components/editor.tsx
+++ b/packages/editor-mobile/src/components/editor.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Editor,
@@ -250,14 +251,12 @@ const TiptapProvider = () => {
const toolbarTheme = useTheme({
//todo
accent: theme?.accent,
- scale: 1,
theme: theme?.night ? "dark" : "light"
});
modifyToolbarTheme(toolbarTheme);
const editorTheme = useTheme({
//todo
accent: theme?.accent,
- scale: 1,
theme: theme?.night ? "dark" : "light"
});
editorTheme.colors.background = theme?.bg || "#f0f0f0";
diff --git a/packages/editor-mobile/src/components/header.tsx b/packages/editor-mobile/src/components/header.tsx
index bb5b9a0c2..7ace6a757 100644
--- a/packages/editor-mobile/src/components/header.tsx
+++ b/packages/editor-mobile/src/components/header.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ArrowBackIcon from "mdi-react/ArrowBackIcon";
import CloudUploadOutlineIcon from "mdi-react/CloudUploadOutlineIcon";
diff --git a/packages/editor-mobile/src/components/statusbar.tsx b/packages/editor-mobile/src/components/statusbar.tsx
index f86283ead..9e6bdc505 100644
--- a/packages/editor-mobile/src/components/statusbar.tsx
+++ b/packages/editor-mobile/src/components/statusbar.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { RefObject, useEffect, useRef, useState } from "react";
diff --git a/packages/editor-mobile/src/components/styles.module.css b/packages/editor-mobile/src/components/styles.module.css
index 91c795447..4bb3b2162 100644
--- a/packages/editor-mobile/src/components/styles.module.css
+++ b/packages/editor-mobile/src/components/styles.module.css
@@ -7,8 +7,8 @@
}
.btn_header {
- width:40;
- height:40;
+ width: 40;
+ height: 40;
background-color: transparent;
}
@@ -17,5 +17,5 @@
}
.titleBar::placeholder {
- color: var(--nn_placeholder)
+ color: var(--nn_placeholder);
}
diff --git a/packages/editor-mobile/src/components/tags.tsx b/packages/editor-mobile/src/components/tags.tsx
index 9d6468bc6..150728475 100644
--- a/packages/editor-mobile/src/components/tags.tsx
+++ b/packages/editor-mobile/src/components/tags.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef, useState } from "react";
import { EventTypes } from "../utils";
diff --git a/packages/editor-mobile/src/components/title.tsx b/packages/editor-mobile/src/components/title.tsx
index df6199632..84969d1e1 100644
--- a/packages/editor-mobile/src/components/title.tsx
+++ b/packages/editor-mobile/src/components/title.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { RefObject, useEffect, useRef } from "react";
@@ -24,7 +25,7 @@ function Title({
controller,
title,
titlePlaceholder,
- readonly,
+ readonly
}: {
controller: RefObject<EditorController>;
title: string;
@@ -61,7 +62,7 @@ function Title({
fontFamily: "Open Sans",
backgroundColor: "transparent",
color: "var(--nn_heading)",
- caretColor: "var(--nn_accent)",
+ caretColor: "var(--nn_accent)"
}}
maxLength={150}
onChange={(event) => {
diff --git a/packages/editor-mobile/src/hooks/useEditorController.ts b/packages/editor-mobile/src/hooks/useEditorController.ts
index b9d62818c..5a9ac8ff5 100644
--- a/packages/editor-mobile/src/hooks/useEditorController.ts
+++ b/packages/editor-mobile/src/hooks/useEditorController.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "@notesnook/editor";
import {
diff --git a/packages/editor-mobile/src/hooks/useSafeArea.ts b/packages/editor-mobile/src/hooks/useSafeArea.ts
index b4622ff66..41bbabe6d 100644
--- a/packages/editor-mobile/src/hooks/useSafeArea.ts
+++ b/packages/editor-mobile/src/hooks/useSafeArea.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
@@ -26,7 +27,7 @@ const initialState =
top: 0,
bottom: 0,
left: 0,
- right: 0,
+ right: 0
};
global.safeAreaController = {
@@ -38,7 +39,7 @@ global.safeAreaController = {
reset: () => {
if (safeAreaController.set) safeAreaController.set(initialState);
},
- previous: initialState,
+ previous: initialState
};
export const useSafeArea = () => {
diff --git a/packages/editor-mobile/src/hooks/useSettings.ts b/packages/editor-mobile/src/hooks/useSettings.ts
index 059c560ce..e41b57ca0 100644
--- a/packages/editor-mobile/src/hooks/useSettings.ts
+++ b/packages/editor-mobile/src/hooks/useSettings.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { getDefaultPresets } from "@notesnook/editor";
import { useState } from "react";
diff --git a/packages/editor-mobile/src/index.tsx b/packages/editor-mobile/src/index.tsx
index 01558e687..63d77b624 100644
--- a/packages/editor-mobile/src/index.tsx
+++ b/packages/editor-mobile/src/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import ReactDOM from "react-dom";
diff --git a/packages/editor-mobile/src/react-app-env.d.ts b/packages/editor-mobile/src/react-app-env.d.ts
index e96c95578..ab9a352b2 100644
--- a/packages/editor-mobile/src/react-app-env.d.ts
+++ b/packages/editor-mobile/src/react-app-env.d.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/// <reference types="react-scripts" />
diff --git a/packages/editor-mobile/src/setupTests.js b/packages/editor-mobile/src/setupTests.js
index 36eef6678..c9f89022d 100644
--- a/packages/editor-mobile/src/setupTests.js
+++ b/packages/editor-mobile/src/setupTests.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
diff --git a/packages/editor-mobile/src/state/theme.tsx b/packages/editor-mobile/src/state/theme.tsx
index 00461a24b..2edbf0701 100644
--- a/packages/editor-mobile/src/state/theme.tsx
+++ b/packages/editor-mobile/src/state/theme.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import create, { State } from "zustand";
import { injectCss, transform } from "../utils/css";
diff --git a/packages/editor-mobile/src/utils/css.js b/packages/editor-mobile/src/utils/css.js
index 8a4025612..9b61e2e16 100644
--- a/packages/editor-mobile/src/utils/css.js
+++ b/packages/editor-mobile/src/utils/css.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function removeCss(id) {
var link = document.getElementById(id);
diff --git a/packages/editor-mobile/src/utils/index.ts b/packages/editor-mobile/src/utils/index.ts
index fb99167cd..708407f59 100644
--- a/packages/editor-mobile/src/utils/index.ts
+++ b/packages/editor-mobile/src/utils/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolbarGroupDefinition } from "@notesnook/editor";
import { Editor } from "@notesnook/editor";
diff --git a/packages/editor-mobile/tsconfig.json b/packages/editor-mobile/tsconfig.json
index 26bcbc104..ebdd54ed6 100644
--- a/packages/editor-mobile/tsconfig.json
+++ b/packages/editor-mobile/tsconfig.json
@@ -2,18 +2,12 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig",
"compilerOptions": {
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
+ "lib": ["dom", "dom.iterable", "esnext"],
"jsx": "react-jsx",
"noEmit": true,
"downlevelIteration": true,
"maxNodeModuleJsDepth": 5,
"allowJs": true
},
- "include": [
- "src/"
- ]
+ "include": ["src/"]
}
diff --git a/packages/editor/package-lock.json b/packages/editor/package-lock.json
index f5821ca98..dcd5c288f 100644
--- a/packages/editor/package-lock.json
+++ b/packages/editor/package-lock.json
@@ -14,8 +14,8 @@
"@mdi/js": "^6.9.96",
"@mdi/react": "^1.6.0",
"@social-embed/lib": "^0.0.1-next.12",
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/components": "^0.14.7",
+ "@theme-ui/core": "^0.14.7",
"@tiptap/core": "^2.0.0-beta.181",
"@tiptap/extension-character-count": "^2.0.0-beta.31",
"@tiptap/extension-color": "^2.0.0-beta.12",
@@ -97,4975 +97,2039 @@
"prosemirror-view": "^1.13.3"
}
},
- "node_modules/@ampproject/remapping": {
- "version": "2.2.0",
- "license": "Apache-2.0",
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.1.0",
- "@jridgewell/trace-mapping": "^0.3.9"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/cli": {
- "version": "7.18.10",
+ "node_modules/@babel/code-frame": {
+ "version": "7.18.6",
"license": "MIT",
"dependencies": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- },
- "bin": {
- "babel": "bin/babel.js",
- "babel-external-helpers": "bin/babel-external-helpers.js"
+ "@babel/highlight": "^7.18.6"
},
"engines": {
"node": ">=6.9.0"
- },
- "optionalDependencies": {
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/code-frame": {
+ "node_modules/@babel/helper-module-imports": {
"version": "7.18.6",
"license": "MIT",
"dependencies": {
- "@babel/highlight": "^7.18.6"
+ "@babel/types": "^7.18.6"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/compat-data": {
- "version": "7.18.13",
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.18.9",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/core": {
- "version": "7.18.13",
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.18.10",
"license": "MIT",
- "dependencies": {
- "@ampproject/remapping": "^2.1.0",
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helpers": "^7.18.9",
- "@babel/parser": "^7.18.13",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.13",
- "@babel/types": "^7.18.13",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.2",
- "json5": "^2.2.1",
- "semver": "^6.3.0"
- },
"engines": {
"node": ">=6.9.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/babel"
}
},
- "node_modules/@babel/generator": {
- "version": "7.18.13",
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.18.6",
"license": "MIT",
- "dependencies": {
- "@babel/types": "^7.18.13",
- "@jridgewell/gen-mapping": "^0.3.2",
- "jsesc": "^2.5.1"
- },
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.2",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/set-array": "^1.0.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.9"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/helper-annotate-as-pure": {
+ "node_modules/@babel/highlight": {
"version": "7.18.6",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": {
- "version": "7.18.9",
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.18.6",
"license": "MIT",
"dependencies": {
- "@babel/helper-explode-assignable-expression": "^7.18.6",
- "@babel/types": "^7.18.9"
+ "@babel/helper-plugin-utils": "^7.18.6"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/helper-compilation-targets": {
+ "node_modules/@babel/runtime": {
"version": "7.18.9",
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-validator-option": "^7.18.6",
- "browserslist": "^4.20.2",
- "semver": "^6.3.0"
+ "regenerator-runtime": "^0.13.4"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-create-class-features-plugin": {
+ "node_modules/@babel/types": {
"version": "7.18.13",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6"
+ "@babel/helper-string-parser": "^7.18.10",
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "to-fast-properties": "^2.0.0"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-create-regexp-features-plugin": {
- "version": "7.18.6",
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.10.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "regexpu-core": "^5.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/plugin-syntax-jsx": "^7.17.12",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.0",
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/serialize": "^1.1.0",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.0.13"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.3.2",
+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/hash": {
+ "version": "0.9.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/memoize": {
+ "version": "0.8.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/serialize": {
+ "version": "1.1.0",
"license": "MIT",
"dependencies": {
- "@babel/helper-compilation-targets": "^7.17.7",
- "@babel/helper-plugin-utils": "^7.16.7",
- "debug": "^4.1.1",
- "lodash.debounce": "^4.0.8",
- "resolve": "^1.14.2",
- "semver": "^6.1.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.4.0-0"
+ "@emotion/hash": "^0.9.0",
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/unitless": "^0.8.0",
+ "@emotion/utils": "^1.2.0",
+ "csstype": "^3.0.2"
}
},
- "node_modules/@babel/helper-environment-visitor": {
- "version": "7.18.9",
+ "node_modules/@emotion/babel-plugin/node_modules/@emotion/unitless": {
+ "version": "0.8.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": {
+ "version": "4.0.0",
"license": "MIT",
"engines": {
- "node": ">=6.9.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@babel/helper-explode-assignable-expression": {
- "version": "7.18.6",
+ "node_modules/@emotion/cache": {
+ "version": "11.10.3",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/sheet": "^1.2.0",
+ "@emotion/utils": "^1.2.0",
+ "@emotion/weak-memoize": "^0.3.0",
+ "stylis": "4.0.13"
}
},
- "node_modules/@babel/helper-function-name": {
- "version": "7.18.9",
+ "node_modules/@emotion/cache/node_modules/@emotion/memoize": {
+ "version": "0.8.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/is-prop-valid": {
+ "version": "0.8.8",
"license": "MIT",
"dependencies": {
- "@babel/template": "^7.18.6",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@emotion/memoize": "0.7.4"
}
},
- "node_modules/@babel/helper-hoist-variables": {
- "version": "7.18.6",
+ "node_modules/@emotion/memoize": {
+ "version": "0.7.4",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/react": {
+ "version": "11.10.0",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.10.0",
+ "@emotion/cache": "^11.10.0",
+ "@emotion/serialize": "^1.1.0",
+ "@emotion/utils": "^1.2.0",
+ "@emotion/weak-memoize": "^0.3.0",
+ "hoist-non-react-statics": "^3.3.1"
},
- "engines": {
- "node": ">=6.9.0"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0",
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@babel/helper-member-expression-to-functions": {
- "version": "7.18.9",
+ "node_modules/@emotion/react/node_modules/@emotion/hash": {
+ "version": "0.9.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/react/node_modules/@emotion/memoize": {
+ "version": "0.8.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/react/node_modules/@emotion/serialize": {
+ "version": "1.1.0",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@emotion/hash": "^0.9.0",
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/unitless": "^0.8.0",
+ "@emotion/utils": "^1.2.0",
+ "csstype": "^3.0.2"
}
},
- "node_modules/@babel/helper-module-imports": {
- "version": "7.18.6",
+ "node_modules/@emotion/react/node_modules/@emotion/unitless": {
+ "version": "0.8.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/react/node_modules/csstype": {
+ "version": "3.1.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/sheet": {
+ "version": "1.2.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/utils": {
+ "version": "1.2.0",
+ "license": "MIT"
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.3.0",
+ "license": "MIT"
+ },
+ "node_modules/@mdi/js": {
+ "version": "6.9.96",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@mdi/react": {
+ "version": "1.6.0",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "prop-types": "^15.7.2"
}
},
- "node_modules/@babel/helper-module-transforms": {
- "version": "7.18.9",
+ "node_modules/@social-embed/lib": {
+ "version": "0.0.1-next.12",
+ "license": "MIT"
+ },
+ "node_modules/@styled-system/background": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/helper-validator-identifier": "^7.18.6",
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-optimise-call-expression": {
- "version": "7.18.6",
+ "node_modules/@styled-system/border": {
+ "version": "5.1.5",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-plugin-utils": {
- "version": "7.18.9",
+ "node_modules/@styled-system/color": {
+ "version": "5.1.2",
"license": "MIT",
- "engines": {
- "node": ">=6.9.0"
+ "dependencies": {
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-remap-async-to-generator": {
- "version": "7.18.9",
+ "node_modules/@styled-system/core": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-wrap-function": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
+ "object-assign": "^4.1.1"
}
},
- "node_modules/@babel/helper-replace-supers": {
- "version": "7.18.9",
+ "node_modules/@styled-system/css": {
+ "version": "5.1.5",
+ "license": "MIT"
+ },
+ "node_modules/@styled-system/flexbox": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-simple-access": {
- "version": "7.18.6",
+ "node_modules/@styled-system/grid": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.18.9",
+ "node_modules/@styled-system/layout": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-split-export-declaration": {
- "version": "7.18.6",
+ "node_modules/@styled-system/position": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-string-parser": {
- "version": "7.18.10",
+ "node_modules/@styled-system/shadow": {
+ "version": "5.1.2",
"license": "MIT",
- "engines": {
- "node": ">=6.9.0"
+ "dependencies": {
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-validator-identifier": {
- "version": "7.18.6",
+ "node_modules/@styled-system/should-forward-prop": {
+ "version": "5.1.5",
"license": "MIT",
- "engines": {
- "node": ">=6.9.0"
+ "dependencies": {
+ "@emotion/is-prop-valid": "^0.8.1",
+ "@emotion/memoize": "^0.7.1",
+ "styled-system": "^5.1.5"
}
},
- "node_modules/@babel/helper-validator-option": {
- "version": "7.18.6",
+ "node_modules/@styled-system/space": {
+ "version": "5.1.2",
"license": "MIT",
- "engines": {
- "node": ">=6.9.0"
+ "dependencies": {
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helper-wrap-function": {
- "version": "7.18.11",
+ "node_modules/@styled-system/typography": {
+ "version": "5.1.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-function-name": "^7.18.9",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.11",
- "@babel/types": "^7.18.10"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2"
}
},
- "node_modules/@babel/helpers": {
- "version": "7.18.9",
+ "node_modules/@styled-system/variant": {
+ "version": "5.1.5",
"license": "MIT",
"dependencies": {
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@styled-system/core": "^5.1.2",
+ "@styled-system/css": "^5.1.5"
}
},
- "node_modules/@babel/highlight": {
- "version": "7.18.6",
- "license": "MIT",
+ "node_modules/@theme-ui/components": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.14.7.tgz",
+ "integrity": "sha512-iIzqBvRL8GNVkzuZinxInYNFW/38pvqqthuCgLsnOC0/A4Q4v13mn/fxlZa6pJjwouswsRLOrkd63bS7Svzkfw==",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.18.6",
- "chalk": "^2.0.0",
- "js-tokens": "^4.0.0"
+ "@styled-system/color": "^5.1.2",
+ "@styled-system/should-forward-prop": "^5.1.2",
+ "@styled-system/space": "^5.1.2",
+ "@theme-ui/css": "0.14.7",
+ "@types/styled-system": "^5.1.13"
},
- "engines": {
- "node": ">=6.9.0"
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "react": ">16"
}
},
- "node_modules/@babel/parser": {
- "version": "7.18.13",
- "license": "MIT",
- "bin": {
- "parser": "bin/babel-parser.js"
+ "node_modules/@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
+ "dependencies": {
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
},
- "engines": {
- "node": ">=6.0.0"
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "react": ">16"
}
},
- "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
- "version": "7.18.6",
- "license": "MIT",
+ "node_modules/@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "csstype": "^3.0.10"
},
"peerDependencies": {
- "@babel/core": "^7.0.0"
+ "@emotion/react": "^11"
}
},
- "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
- "version": "7.18.9",
- "license": "MIT",
+ "node_modules/@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@theme-ui/css": "0.14.7"
},
"peerDependencies": {
- "@babel/core": "^7.13.0"
+ "@emotion/react": "^11",
+ "react": ">16"
}
},
- "node_modules/@babel/plugin-proposal-async-generator-functions": {
- "version": "7.18.10",
+ "node_modules/@tiptap/core": {
+ "version": "2.0.0-beta.182",
"license": "MIT",
"dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-remap-async-to-generator": "^7.18.9",
- "@babel/plugin-syntax-async-generators": "^7.8.4"
- },
- "engines": {
- "node": ">=6.9.0"
+ "prosemirror-commands": "1.3.0",
+ "prosemirror-keymap": "1.2.0",
+ "prosemirror-model": "1.18.1",
+ "prosemirror-schema-list": "1.2.0",
+ "prosemirror-state": "1.4.1",
+ "prosemirror-transform": "1.6.0",
+ "prosemirror-view": "1.26.2"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
}
},
- "node_modules/@babel/plugin-proposal-class-properties": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-blockquote": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-class-static-block": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-bold": {
+ "version": "2.0.0-beta.28",
"license": "MIT",
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-class-static-block": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.12.0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-dynamic-import": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-bullet-list": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-export-namespace-from": {
- "version": "7.18.9",
+ "node_modules/@tiptap/extension-character-count": {
+ "version": "2.0.0-beta.31",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
+ "prosemirror-model": "1.18.1",
+ "prosemirror-state": "1.4.1"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-json-strings": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-code": {
+ "version": "2.0.0-beta.28",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.18.9",
+ "node_modules/@tiptap/extension-code-block": {
+ "version": "2.0.0-beta.42",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
+ "prosemirror-state": "1.4.1"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-color": {
+ "version": "2.0.0-beta.12",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1",
+ "@tiptap/extension-text-style": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-numeric-separator": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-document": {
+ "version": "2.0.0-beta.17",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-object-rest-spread": {
- "version": "7.18.9",
+ "node_modules/@tiptap/extension-dropcursor": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.18.8"
+ "prosemirror-dropcursor": "1.5.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-font-family": {
+ "version": "2.0.0-beta.24",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1",
+ "@tiptap/extension-text-style": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-optional-chaining": {
- "version": "7.18.9",
+ "node_modules/@tiptap/extension-gapcursor": {
+ "version": "2.0.0-beta.39",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3"
+ "prosemirror-gapcursor": "1.3.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-private-methods": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-hard-break": {
+ "version": "2.0.0-beta.33",
"license": "MIT",
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-private-property-in-object": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-heading": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-history": {
+ "version": "2.0.0-beta.26",
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "prosemirror-history": "1.3.0"
},
- "engines": {
- "node": ">=4"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-async-generators": {
- "version": "7.8.4",
+ "node_modules/@tiptap/extension-horizontal-rule": {
+ "version": "2.0.0-beta.36",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "prosemirror-state": "1.4.1"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-class-properties": {
- "version": "7.12.13",
+ "node_modules/@tiptap/extension-italic": {
+ "version": "2.0.0-beta.28",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.12.13"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-class-static-block": {
- "version": "7.14.5",
+ "node_modules/@tiptap/extension-link": {
+ "version": "2.0.0-beta.43",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
+ "linkifyjs": "^3.0.5",
+ "prosemirror-model": "1.18.1",
+ "prosemirror-state": "1.4.1"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-dynamic-import": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-list-item": {
+ "version": "2.0.0-beta.23",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-export-namespace-from": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-ordered-list": {
+ "version": "2.0.0-beta.30",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.3"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-import-assertions": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-paragraph": {
+ "version": "2.0.0-beta.26",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-json-strings": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-placeholder": {
+ "version": "2.0.0-beta.53",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "prosemirror-model": "1.18.1",
+ "prosemirror-state": "1.4.1",
+ "prosemirror-view": "1.26.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-jsx": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-strike": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
- "version": "7.10.4",
+ "node_modules/@tiptap/extension-subscript": {
+ "version": "2.0.0-beta.13",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-superscript": {
+ "version": "2.0.0-beta.13",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-numeric-separator": {
- "version": "7.10.4",
+ "node_modules/@tiptap/extension-table": {
+ "version": "2.0.0-beta.54",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
+ "@_ueberdosis/prosemirror-tables": "1.1.3",
+ "prosemirror-model": "1.18.1",
+ "prosemirror-state": "1.4.1",
+ "prosemirror-view": "1.26.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-object-rest-spread": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-table-cell": {
+ "version": "2.0.0-beta.23",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-optional-catch-binding": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-table-header": {
+ "version": "2.0.0-beta.25",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-optional-chaining": {
- "version": "7.8.3",
+ "node_modules/@tiptap/extension-table-row": {
+ "version": "2.0.0-beta.22",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-syntax-private-property-in-object": {
- "version": "7.14.5",
+ "node_modules/@tiptap/extension-task-item": {
+ "version": "2.0.0-beta.37",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1",
+ "prosemirror-model": "1.18.1"
}
},
- "node_modules/@babel/plugin-syntax-top-level-await": {
- "version": "7.14.5",
+ "node_modules/@tiptap/extension-task-list": {
+ "version": "2.0.0-beta.29",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-transform-arrow-functions": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-text": {
+ "version": "2.0.0-beta.17",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-transform-async-to-generator": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-text-align": {
+ "version": "2.0.0-beta.31",
"license": "MIT",
- "dependencies": {
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-remap-async-to-generator": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-transform-block-scoped-functions": {
- "version": "7.18.6",
+ "node_modules/@tiptap/extension-text-style": {
+ "version": "2.0.0-beta.26",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-transform-block-scoping": {
- "version": "7.18.9",
+ "node_modules/@tiptap/extension-underline": {
+ "version": "2.0.0-beta.25",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@tiptap/core": "^2.0.0-beta.1"
}
},
- "node_modules/@babel/plugin-transform-classes": {
- "version": "7.18.9",
+ "node_modules/@tiptap/starter-kit": {
+ "version": "2.0.0-beta.190",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "globals": "^11.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.18.9",
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@tiptap/core": "^2.0.0-beta.181",
+ "@tiptap/extension-blockquote": "^2.0.0-beta.29",
+ "@tiptap/extension-bold": "^2.0.0-beta.28",
+ "@tiptap/extension-bullet-list": "^2.0.0-beta.29",
+ "@tiptap/extension-code": "^2.0.0-beta.28",
+ "@tiptap/extension-code-block": "^2.0.0-beta.42",
+ "@tiptap/extension-document": "^2.0.0-beta.17",
+ "@tiptap/extension-dropcursor": "^2.0.0-beta.29",
+ "@tiptap/extension-gapcursor": "^2.0.0-beta.39",
+ "@tiptap/extension-hard-break": "^2.0.0-beta.33",
+ "@tiptap/extension-heading": "^2.0.0-beta.29",
+ "@tiptap/extension-history": "^2.0.0-beta.26",
+ "@tiptap/extension-horizontal-rule": "^2.0.0-beta.36",
+ "@tiptap/extension-italic": "^2.0.0-beta.28",
+ "@tiptap/extension-list-item": "^2.0.0-beta.23",
+ "@tiptap/extension-ordered-list": "^2.0.0-beta.30",
+ "@tiptap/extension-paragraph": "^2.0.0-beta.26",
+ "@tiptap/extension-strike": "^2.0.0-beta.29",
+ "@tiptap/extension-text": "^2.0.0-beta.17"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/ueberdosis"
}
},
- "node_modules/@babel/plugin-transform-destructuring": {
- "version": "7.18.13",
+ "node_modules/@types/hast": {
+ "version": "2.3.4",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/unist": "*"
}
},
- "node_modules/@babel/plugin-transform-dotall-regex": {
- "version": "7.18.6",
- "license": "MIT",
+ "node_modules/@types/katex": {
+ "version": "0.14.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/parse-json": {
+ "version": "4.0.0",
+ "license": "MIT"
+ },
+ "node_modules/@types/prismjs": {
+ "version": "1.26.0",
+ "license": "MIT"
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.5",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz",
+ "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==",
+ "dev": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/prop-types": "*",
+ "csstype": "^3.0.2"
}
},
- "node_modules/@babel/plugin-transform-duplicate-keys": {
- "version": "7.18.9",
+ "node_modules/@types/react-color": {
+ "version": "3.0.6",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/react": "*",
+ "@types/reactcss": "*"
}
},
- "node_modules/@babel/plugin-transform-exponentiation-operator": {
- "version": "7.18.6",
- "license": "MIT",
+ "node_modules/@types/react-dom": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz",
+ "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==",
+ "dev": true,
"dependencies": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/react": "*"
}
},
- "node_modules/@babel/plugin-transform-for-of": {
- "version": "7.18.8",
+ "node_modules/@types/react-modal": {
+ "version": "3.13.1",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/react": "*"
}
},
- "node_modules/@babel/plugin-transform-function-name": {
- "version": "7.18.9",
+ "node_modules/@types/reactcss": {
+ "version": "1.2.6",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@types/react": "*"
}
},
- "node_modules/@babel/plugin-transform-literals": {
- "version": "7.18.9",
- "license": "MIT",
+ "node_modules/@types/styled-system": {
+ "version": "5.1.15",
+ "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.15.tgz",
+ "integrity": "sha512-1uls4wipZn8FtYFZ7upRVFDoEeOXTQTs2zuyOZPn02T6rjIxtvj2P2lG5qsxXHhKuKsu3thveCZrtaeLE/ibLg==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "csstype": "^3.0.2"
}
},
- "node_modules/@babel/plugin-transform-member-expression-literals": {
- "version": "7.18.6",
+ "node_modules/@types/tinycolor2": {
+ "version": "1.4.3",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/unist": {
+ "version": "2.0.6",
+ "license": "MIT"
+ },
+ "node_modules/ansi-styles": {
+ "version": "3.2.1",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "color-convert": "^1.9.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-modules-amd": {
- "version": "7.18.6",
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
"license": "MIT",
"dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=10",
+ "npm": ">=6"
}
},
- "node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.18.6",
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "license": "MIT"
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
"license": "MIT",
- "dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- },
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6"
}
},
- "node_modules/@babel/plugin-transform-modules-systemjs": {
- "version": "7.18.9",
+ "node_modules/chalk": {
+ "version": "2.4.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-identifier": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-modules-umd": {
- "version": "7.18.6",
+ "node_modules/character-entities": {
+ "version": "2.0.1",
"license": "MIT",
- "dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.18.6",
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
"license": "MIT",
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/plugin-transform-new-target": {
- "version": "7.18.6",
+ "node_modules/character-reference-invalid": {
+ "version": "2.0.1",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/plugin-transform-object-super": {
- "version": "7.18.6",
+ "node_modules/color-convert": {
+ "version": "1.9.3",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.3",
+ "license": "MIT"
+ },
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.2",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/plugin-transform-parameters": {
- "version": "7.18.8",
+ "node_modules/convert-source-map": {
+ "version": "1.8.0",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "safe-buffer": "~5.1.1"
}
},
- "node_modules/@babel/plugin-transform-property-literals": {
- "version": "7.18.6",
+ "node_modules/cosmiconfig": {
+ "version": "7.0.1",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=10"
}
},
- "node_modules/@babel/plugin-transform-react-display-name": {
- "version": "7.18.6",
+ "node_modules/csstype": {
+ "version": "3.1.0",
+ "license": "MIT"
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.0.1",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
+ "character-entities": "^2.0.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/plugin-transform-react-jsx": {
- "version": "7.18.10",
- "license": "MIT",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-jsx": "^7.18.6",
- "@babel/types": "^7.18.10"
- },
+ "node_modules/deepmerge": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==",
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@babel/plugin-transform-react-jsx-development": {
- "version": "7.18.6",
+ "node_modules/detect-indent": {
+ "version": "7.0.0",
"license": "MIT",
- "dependencies": {
- "@babel/plugin-transform-react-jsx": "^7.18.6"
- },
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=12.20"
}
},
- "node_modules/@babel/plugin-transform-react-pure-annotations": {
- "version": "7.18.6",
+ "node_modules/error-ex": {
+ "version": "1.3.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "is-arrayish": "^0.2.1"
}
},
- "node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.18.6",
+ "node_modules/escape-string-regexp": {
+ "version": "1.0.5",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "regenerator-transform": "^0.15.0"
- },
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.8.0"
}
},
- "node_modules/@babel/plugin-transform-reserved-words": {
- "version": "7.18.6",
+ "node_modules/exenv": {
+ "version": "1.2.2",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "license": "MIT"
+ },
+ "node_modules/framer-motion": {
+ "version": "4.1.17",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "framesync": "5.3.0",
+ "hey-listen": "^1.0.8",
+ "popmotion": "9.3.6",
+ "style-value-types": "4.1.4",
+ "tslib": "^2.1.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "optionalDependencies": {
+ "@emotion/is-prop-valid": "^0.8.2"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "react": ">=16.8 || ^17.0.0",
+ "react-dom": ">=16.8 || ^17.0.0"
}
},
- "node_modules/@babel/plugin-transform-shorthand-properties": {
- "version": "7.18.6",
+ "node_modules/framesync": {
+ "version": "5.3.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "tslib": "^2.1.0"
}
},
- "node_modules/@babel/plugin-transform-spread": {
- "version": "7.18.9",
+ "node_modules/function-bind": {
+ "version": "1.1.1",
+ "license": "MIT"
+ },
+ "node_modules/has": {
+ "version": "1.0.3",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9"
+ "function-bind": "^1.1.1"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">= 0.4.0"
}
},
- "node_modules/@babel/plugin-transform-sticky-regex": {
- "version": "7.18.6",
+ "node_modules/has-flag": {
+ "version": "3.0.0",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-template-literals": {
- "version": "7.18.9",
+ "node_modules/hast-util-parse-selector": {
+ "version": "3.1.0",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@types/hast": "^2.0.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@babel/plugin-transform-typeof-symbol": {
- "version": "7.18.9",
+ "node_modules/hastscript": {
+ "version": "7.0.2",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@types/hast": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-parse-selector": "^3.0.0",
+ "property-information": "^6.0.0",
+ "space-separated-tokens": "^2.0.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
+ "node_modules/he": {
+ "version": "1.2.0",
"license": "MIT",
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/hey-listen": {
+ "version": "1.0.8",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "license": "BSD-3-Clause",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "react-is": "^16.7.0"
}
},
- "node_modules/@babel/plugin-transform-unicode-regex": {
- "version": "7.18.6",
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
"license": "MIT",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@babel/preset-env": {
- "version": "7.18.10",
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.18.10",
- "@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
- "@babel/plugin-proposal-dynamic-import": "^7.18.6",
- "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
- "@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
- "@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
- "@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
- "@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
- "@babel/plugin-syntax-async-generators": "^7.8.4",
- "@babel/plugin-syntax-class-properties": "^7.12.13",
- "@babel/plugin-syntax-class-static-block": "^7.14.5",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
- "@babel/plugin-syntax-import-assertions": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
- "@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
- "@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.18.9",
- "@babel/plugin-transform-classes": "^7.18.9",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.18.9",
- "@babel/plugin-transform-dotall-regex": "^7.18.6",
- "@babel/plugin-transform-duplicate-keys": "^7.18.9",
- "@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
- "@babel/plugin-transform-function-name": "^7.18.9",
- "@babel/plugin-transform-literals": "^7.18.9",
- "@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.18.6",
- "@babel/plugin-transform-modules-commonjs": "^7.18.6",
- "@babel/plugin-transform-modules-systemjs": "^7.18.9",
- "@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6",
- "@babel/plugin-transform-new-target": "^7.18.6",
- "@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.18.8",
- "@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
- "@babel/plugin-transform-reserved-words": "^7.18.6",
- "@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.18.9",
- "@babel/plugin-transform-sticky-regex": "^7.18.6",
- "@babel/plugin-transform-template-literals": "^7.18.9",
- "@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
- "@babel/plugin-transform-unicode-regex": "^7.18.6",
- "@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.18.10",
- "babel-plugin-polyfill-corejs2": "^0.3.2",
- "babel-plugin-polyfill-corejs3": "^0.5.3",
- "babel-plugin-polyfill-regenerator": "^0.4.0",
- "core-js-compat": "^3.22.1",
- "semver": "^6.3.0"
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
},
"engines": {
- "node": ">=6.9.0"
+ "node": ">=6"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@babel/preset-modules": {
- "version": "0.1.5",
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
- "@babel/plugin-transform-dotall-regex": "^7.4.4",
- "@babel/types": "^7.4.4",
- "esutils": "^2.0.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "license": "ISC"
},
- "node_modules/@babel/preset-react": {
- "version": "7.18.6",
+ "node_modules/is-alphabetical": {
+ "version": "2.0.1",
"license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-transform-react-display-name": "^7.18.6",
- "@babel/plugin-transform-react-jsx": "^7.18.6",
- "@babel/plugin-transform-react-jsx-development": "^7.18.6",
- "@babel/plugin-transform-react-pure-annotations": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/runtime": {
- "version": "7.18.9",
+ "node_modules/is-alphanumerical": {
+ "version": "2.0.1",
"license": "MIT",
"dependencies": {
- "regenerator-runtime": "^0.13.4"
+ "is-alphabetical": "^2.0.0",
+ "is-decimal": "^2.0.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/template": {
- "version": "7.18.10",
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "license": "MIT"
+ },
+ "node_modules/is-core-module": {
+ "version": "2.9.0",
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/parser": "^7.18.10",
- "@babel/types": "^7.18.10"
+ "has": "^1.0.3"
},
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@babel/traverse": {
- "version": "7.18.13",
+ "node_modules/is-decimal": {
+ "version": "2.0.1",
"license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.18.13",
- "@babel/types": "^7.18.13",
- "debug": "^4.1.0",
- "globals": "^11.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@babel/types": {
- "version": "7.18.13",
+ "node_modules/is-hexadecimal": {
+ "version": "2.0.1",
"license": "MIT",
- "dependencies": {
- "@babel/helper-string-parser": "^7.18.10",
- "@babel/helper-validator-identifier": "^7.18.6",
- "to-fast-properties": "^2.0.0"
- },
- "engines": {
- "node": ">=6.9.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@emotion/babel-plugin": {
- "version": "11.10.2",
+ "node_modules/isomorphic-fetch": {
+ "version": "3.0.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-module-imports": "^7.16.7",
- "@babel/plugin-syntax-jsx": "^7.17.12",
- "@babel/runtime": "^7.18.3",
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/serialize": "^1.1.0",
- "babel-plugin-macros": "^3.1.0",
- "convert-source-map": "^1.5.0",
- "escape-string-regexp": "^4.0.0",
- "find-root": "^1.1.0",
- "source-map": "^0.5.7",
- "stylis": "4.0.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
+ "node-fetch": "^2.6.1",
+ "whatwg-fetch": "^3.4.1"
}
},
- "node_modules/@emotion/babel-plugin/node_modules/@emotion/hash": {
- "version": "0.9.0",
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
"license": "MIT"
},
- "node_modules/@emotion/babel-plugin/node_modules/@emotion/memoize": {
- "version": "0.8.0",
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
"license": "MIT"
},
- "node_modules/@emotion/babel-plugin/node_modules/@emotion/serialize": {
- "version": "1.1.0",
+ "node_modules/katex": {
+ "version": "0.16.0",
+ "funding": [
+ "https://opencollective.com/katex",
+ "https://github.com/sponsors/katex"
+ ],
"license": "MIT",
"dependencies": {
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/unitless": "^0.8.0",
- "@emotion/utils": "^1.2.0",
- "csstype": "^3.0.2"
+ "commander": "^8.0.0"
+ },
+ "bin": {
+ "katex": "cli.js"
}
},
- "node_modules/@emotion/babel-plugin/node_modules/@emotion/unitless": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": {
- "version": "4.0.0",
+ "node_modules/katex/node_modules/commander": {
+ "version": "8.3.0",
"license": "MIT",
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 12"
}
},
- "node_modules/@emotion/cache": {
- "version": "11.10.3",
- "license": "MIT",
- "dependencies": {
- "@emotion/memoize": "^0.8.0",
- "@emotion/sheet": "^1.2.0",
- "@emotion/utils": "^1.2.0",
- "@emotion/weak-memoize": "^0.3.0",
- "stylis": "4.0.13"
- }
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "license": "MIT"
},
- "node_modules/@emotion/cache/node_modules/@emotion/memoize": {
- "version": "0.8.0",
+ "node_modules/linkifyjs": {
+ "version": "3.0.5",
"license": "MIT"
},
- "node_modules/@emotion/is-prop-valid": {
- "version": "0.8.8",
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
"license": "MIT",
"dependencies": {
- "@emotion/memoize": "0.7.4"
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
}
},
- "node_modules/@emotion/memoize": {
- "version": "0.7.4",
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.2",
"license": "MIT"
},
- "node_modules/@emotion/react": {
- "version": "11.10.0",
+ "node_modules/node-fetch": {
+ "version": "2.6.7",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/cache": "^11.10.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/utils": "^1.2.0",
- "@emotion/weak-memoize": "^0.3.0",
- "hoist-non-react-statics": "^3.3.1"
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
},
"peerDependencies": {
- "@babel/core": "^7.0.0",
- "react": ">=16.8.0"
+ "encoding": "^0.1.0"
},
"peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "@types/react": {
+ "encoding": {
"optional": true
}
}
},
- "node_modules/@emotion/react/node_modules/@emotion/hash": {
- "version": "0.9.0",
- "license": "MIT"
- },
- "node_modules/@emotion/react/node_modules/@emotion/memoize": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@emotion/react/node_modules/@emotion/serialize": {
- "version": "1.1.0",
+ "node_modules/object-assign": {
+ "version": "4.1.1",
"license": "MIT",
- "dependencies": {
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/unitless": "^0.8.0",
- "@emotion/utils": "^1.2.0",
- "csstype": "^3.0.2"
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/@emotion/react/node_modules/@emotion/unitless": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@emotion/react/node_modules/csstype": {
- "version": "3.1.0",
- "license": "MIT"
- },
- "node_modules/@emotion/sheet": {
- "version": "1.2.0",
- "license": "MIT"
- },
- "node_modules/@emotion/utils": {
- "version": "1.2.0",
- "license": "MIT"
- },
- "node_modules/@emotion/weak-memoize": {
- "version": "0.3.0",
+ "node_modules/orderedmap": {
+ "version": "2.0.0",
"license": "MIT"
},
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.1.1",
+ "node_modules/parent-module": {
+ "version": "1.0.1",
"license": "MIT",
"dependencies": {
- "@jridgewell/set-array": "^1.0.0",
- "@jridgewell/sourcemap-codec": "^1.4.10"
+ "callsites": "^3.0.0"
},
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6"
}
},
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.0",
+ "node_modules/parse-entities": {
+ "version": "4.0.0",
"license": "MIT",
- "engines": {
- "node": ">=6.0.0"
+ "dependencies": {
+ "@types/unist": "^2.0.0",
+ "character-entities": "^2.0.0",
+ "character-entities-legacy": "^3.0.0",
+ "character-reference-invalid": "^2.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "is-alphanumerical": "^2.0.0",
+ "is-decimal": "^2.0.0",
+ "is-hexadecimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@jridgewell/set-array": {
- "version": "1.1.2",
+ "node_modules/parse-json": {
+ "version": "5.2.0",
"license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
"engines": {
- "node": ">=6.0.0"
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.14",
+ "node_modules/path-parse": {
+ "version": "1.0.7",
"license": "MIT"
},
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.15",
+ "node_modules/path-type": {
+ "version": "4.0.0",
"license": "MIT",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.0.3",
- "@jridgewell/sourcemap-codec": "^1.4.10"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@mdi/js": {
- "version": "6.9.96",
- "license": "Apache-2.0"
- },
- "node_modules/@mdi/react": {
- "version": "1.6.0",
+ "node_modules/popmotion": {
+ "version": "9.3.6",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "prop-types": "^15.7.2"
+ "framesync": "5.3.0",
+ "hey-listen": "^1.0.8",
+ "style-value-types": "4.1.4",
+ "tslib": "^2.1.0"
}
},
- "node_modules/@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "license": "MIT",
- "optional": true
- },
- "node_modules/@social-embed/lib": {
- "version": "0.0.1-next.12",
+ "node_modules/prism-themes": {
+ "version": "1.9.0",
"license": "MIT"
},
- "node_modules/@streetwriters/rebass": {
- "version": "5.0.0",
+ "node_modules/prop-types": {
+ "version": "15.8.1",
"license": "MIT",
"dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
}
},
- "node_modules/@streetwriters/rebass-bundler": {
- "version": "4.0.6",
+ "node_modules/property-information": {
+ "version": "6.1.1",
"license": "MIT",
- "dependencies": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- },
- "bin": {
- "rebass-bundler": "index.js"
- }
- },
- "node_modules/@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "license": "MIT",
- "dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@streetwriters/reflexbox": {
- "version": "5.0.0",
+ "node_modules/prosemirror-codemark": {
+ "version": "0.4.0",
"license": "MIT",
- "dependencies": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- },
"peerDependencies": {
- "react": ">=17.0.0"
+ "prosemirror-inputrules": "^1.2.0",
+ "prosemirror-model": "^1.18.1",
+ "prosemirror-state": "^1.4.1",
+ "prosemirror-view": "^1.26.2"
}
},
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/hash": {
- "version": "0.9.0",
- "license": "MIT"
- },
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/is-prop-valid": {
- "version": "1.2.0",
+ "node_modules/prosemirror-commands": {
+ "version": "1.3.0",
"license": "MIT",
"dependencies": {
- "@emotion/memoize": "^0.8.0"
+ "prosemirror-model": "^1.0.0",
+ "prosemirror-state": "^1.0.0",
+ "prosemirror-transform": "^1.0.0"
}
},
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/memoize": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/serialize": {
- "version": "1.1.0",
+ "node_modules/prosemirror-dropcursor": {
+ "version": "1.5.0",
"license": "MIT",
"dependencies": {
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/unitless": "^0.8.0",
- "@emotion/utils": "^1.2.0",
- "csstype": "^3.0.2"
+ "prosemirror-state": "^1.0.0",
+ "prosemirror-transform": "^1.1.0",
+ "prosemirror-view": "^1.1.0"
}
},
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/styled": {
- "version": "11.10.0",
+ "node_modules/prosemirror-gapcursor": {
+ "version": "1.3.0",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/utils": "^1.2.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0",
- "@emotion/react": "^11.0.0-rc.0",
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
+ "prosemirror-keymap": "^1.0.0",
+ "prosemirror-model": "^1.0.0",
+ "prosemirror-state": "^1.0.0",
+ "prosemirror-view": "^1.0.0"
}
},
- "node_modules/@streetwriters/reflexbox/node_modules/@emotion/unitless": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@streetwriters/reflexbox/node_modules/csstype": {
- "version": "3.1.0",
- "license": "MIT"
- },
- "node_modules/@styled-system/background": {
- "version": "5.1.2",
+ "node_modules/prosemirror-history": {
+ "version": "1.3.0",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "prosemirror-state": "^1.2.2",
+ "prosemirror-transform": "^1.0.0",
+ "rope-sequence": "^1.3.0"
}
},
- "node_modules/@styled-system/border": {
- "version": "5.1.5",
+ "node_modules/prosemirror-keymap": {
+ "version": "1.2.0",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "prosemirror-state": "^1.0.0",
+ "w3c-keyname": "^2.2.0"
}
},
- "node_modules/@styled-system/color": {
- "version": "5.1.2",
+ "node_modules/prosemirror-model": {
+ "version": "1.18.1",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "orderedmap": "^2.0.0"
}
},
- "node_modules/@styled-system/core": {
- "version": "5.1.2",
- "license": "MIT",
+ "node_modules/prosemirror-schema-list": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.2.0.tgz",
+ "integrity": "sha512-8PT/9xOx1HHdC7fDNNfhQ50Z8Mzu7nKyA1KCDltSpcZVZIbB0k7KtsHrnXyuIhbLlScoymBiLZ00c5MH6wdFsA==",
"dependencies": {
- "object-assign": "^4.1.1"
+ "prosemirror-model": "^1.0.0",
+ "prosemirror-state": "^1.0.0",
+ "prosemirror-transform": "^1.0.0"
}
},
- "node_modules/@styled-system/css": {
- "version": "5.1.5",
- "license": "MIT"
- },
- "node_modules/@styled-system/flexbox": {
- "version": "5.1.2",
+ "node_modules/prosemirror-state": {
+ "version": "1.4.1",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "prosemirror-model": "^1.0.0",
+ "prosemirror-transform": "^1.0.0"
}
},
- "node_modules/@styled-system/grid": {
- "version": "5.1.2",
+ "node_modules/prosemirror-transform": {
+ "version": "1.6.0",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "prosemirror-model": "^1.0.0"
}
},
- "node_modules/@styled-system/layout": {
- "version": "5.1.2",
- "license": "MIT",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
+ "node_modules/prosemirror-utils": {
+ "version": "1.0.0-0",
+ "resolved": "git+ssh://[email protected]/atlassian/prosemirror-utils.git#1b97ff08f1bbaea781f205744588a3dfd228b0d1",
+ "license": "Apache-2.0",
+ "peerDependencies": {
+ "prosemirror-model": "^1.0.0",
+ "prosemirror-state": "^1.0.1"
}
},
- "node_modules/@styled-system/position": {
- "version": "5.1.2",
+ "node_modules/prosemirror-view": {
+ "version": "1.26.2",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "prosemirror-model": "^1.16.0",
+ "prosemirror-state": "^1.0.0",
+ "prosemirror-transform": "^1.1.0"
}
},
- "node_modules/@styled-system/shadow": {
- "version": "5.1.2",
+ "node_modules/re-resizable": {
+ "version": "6.9.9",
"license": "MIT",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
+ "peerDependencies": {
+ "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
}
},
- "node_modules/@styled-system/should-forward-prop": {
- "version": "5.1.5",
+ "node_modules/react-colorful": {
+ "version": "5.5.1",
"license": "MIT",
- "dependencies": {
- "@emotion/is-prop-valid": "^0.8.1",
- "@emotion/memoize": "^0.7.1",
- "styled-system": "^5.1.5"
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
}
},
- "node_modules/@styled-system/space": {
- "version": "5.1.2",
+ "node_modules/react-is": {
+ "version": "16.13.1",
+ "license": "MIT"
+ },
+ "node_modules/react-lifecycles-compat": {
+ "version": "3.0.4",
+ "license": "MIT"
+ },
+ "node_modules/react-modal": {
+ "version": "3.15.1",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "exenv": "^1.2.0",
+ "prop-types": "^15.7.2",
+ "react-lifecycles-compat": "^3.0.0",
+ "warning": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "peerDependencies": {
+ "react": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18",
+ "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18"
}
},
- "node_modules/@styled-system/typography": {
- "version": "5.1.2",
+ "node_modules/redent": {
+ "version": "4.0.0",
"license": "MIT",
"dependencies": {
- "@styled-system/core": "^5.1.2"
+ "indent-string": "^5.0.0",
+ "strip-indent": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@styled-system/variant": {
- "version": "5.1.5",
+ "node_modules/redent/node_modules/indent-string": {
+ "version": "5.0.0",
"license": "MIT",
- "dependencies": {
- "@styled-system/core": "^5.1.2",
- "@styled-system/css": "^5.1.5"
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@tiptap/core": {
- "version": "2.0.0-beta.182",
+ "node_modules/refractor": {
+ "version": "4.7.0",
"license": "MIT",
"dependencies": {
- "prosemirror-commands": "1.3.0",
- "prosemirror-keymap": "1.2.0",
- "prosemirror-model": "1.18.1",
- "prosemirror-schema-list": "1.2.0",
- "prosemirror-state": "1.4.1",
- "prosemirror-transform": "1.6.0",
- "prosemirror-view": "1.26.2"
+ "@types/hast": "^2.0.0",
+ "@types/prismjs": "^1.0.0",
+ "hastscript": "^7.0.0",
+ "parse-entities": "^4.0.0"
},
"funding": {
"type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@tiptap/extension-blockquote": {
- "version": "2.0.0-beta.29",
+ "node_modules/regenerator-runtime": {
+ "version": "0.13.9",
+ "license": "MIT"
+ },
+ "node_modules/resolve": {
+ "version": "1.22.0",
"license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "dependencies": {
+ "is-core-module": "^2.8.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
},
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@tiptap/extension-bold": {
- "version": "2.0.0-beta.28",
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
"license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/@tiptap/extension-bullet-list": {
- "version": "2.0.0-beta.29",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
+ "node_modules/rope-sequence": {
+ "version": "1.3.3",
+ "license": "MIT"
},
- "node_modules/@tiptap/extension-character-count": {
- "version": "2.0.0-beta.31",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "1.18.1",
- "prosemirror-state": "1.4.1"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
+ "node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "license": "MIT"
},
- "node_modules/@tiptap/extension-code": {
- "version": "2.0.0-beta.28",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "license": "MIT"
+ },
+ "node_modules/source-map": {
+ "version": "0.5.7",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/@tiptap/extension-code-block": {
- "version": "2.0.0-beta.42",
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
"license": "MIT",
"dependencies": {
- "prosemirror-state": "1.4.1"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
}
},
- "node_modules/@tiptap/extension-color": {
- "version": "2.0.0-beta.12",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1",
- "@tiptap/extension-text-style": "^2.0.0-beta.1"
+ "node_modules/source-map-support/node_modules/source-map": {
+ "version": "0.6.1",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/@tiptap/extension-document": {
- "version": "2.0.0-beta.17",
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.1",
"license": "MIT",
"funding": {
"type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@tiptap/extension-dropcursor": {
- "version": "2.0.0-beta.29",
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
"license": "MIT",
"dependencies": {
- "prosemirror-dropcursor": "1.5.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "safe-buffer": "~5.2.0"
}
},
- "node_modules/@tiptap/extension-font-family": {
- "version": "2.0.0-beta.24",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1",
- "@tiptap/extension-text-style": "^2.0.0-beta.1"
- }
+ "node_modules/string_decoder/node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
},
- "node_modules/@tiptap/extension-gapcursor": {
- "version": "2.0.0-beta.39",
+ "node_modules/strip-indent": {
+ "version": "4.0.0",
"license": "MIT",
"dependencies": {
- "prosemirror-gapcursor": "1.3.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "min-indent": "^1.0.1"
},
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-hard-break": {
- "version": "2.0.0-beta.33",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "engines": {
+ "node": ">=12"
},
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-heading": {
- "version": "2.0.0-beta.29",
- "license": "MIT",
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@tiptap/extension-history": {
- "version": "2.0.0-beta.26",
+ "node_modules/style-value-types": {
+ "version": "4.1.4",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "prosemirror-history": "1.3.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "hey-listen": "^1.0.8",
+ "tslib": "^2.1.0"
}
},
- "node_modules/@tiptap/extension-horizontal-rule": {
- "version": "2.0.0-beta.36",
+ "node_modules/styled-system": {
+ "version": "5.1.5",
"license": "MIT",
"dependencies": {
- "prosemirror-state": "1.4.1"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "@styled-system/background": "^5.1.2",
+ "@styled-system/border": "^5.1.5",
+ "@styled-system/color": "^5.1.2",
+ "@styled-system/core": "^5.1.2",
+ "@styled-system/flexbox": "^5.1.2",
+ "@styled-system/grid": "^5.1.2",
+ "@styled-system/layout": "^5.1.2",
+ "@styled-system/position": "^5.1.2",
+ "@styled-system/shadow": "^5.1.2",
+ "@styled-system/space": "^5.1.2",
+ "@styled-system/typography": "^5.1.2",
+ "@styled-system/variant": "^5.1.5",
+ "object-assign": "^4.1.1"
}
},
- "node_modules/@tiptap/extension-italic": {
- "version": "2.0.0-beta.28",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
+ "node_modules/stylis": {
+ "version": "4.0.13",
+ "license": "MIT"
},
- "node_modules/@tiptap/extension-link": {
- "version": "2.0.0-beta.43",
+ "node_modules/supports-color": {
+ "version": "5.5.0",
"license": "MIT",
"dependencies": {
- "linkifyjs": "^3.0.5",
- "prosemirror-model": "1.18.1",
- "prosemirror-state": "1.4.1"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "has-flag": "^3.0.0"
},
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/@tiptap/extension-list-item": {
- "version": "2.0.0-beta.23",
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
"license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
+ "engines": {
+ "node": ">= 0.4"
},
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@tiptap/extension-ordered-list": {
- "version": "2.0.0-beta.30",
+ "node_modules/tinycolor2": {
+ "version": "1.4.2",
"license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-paragraph": {
- "version": "2.0.0-beta.26",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-placeholder": {
- "version": "2.0.0-beta.53",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "1.18.1",
- "prosemirror-state": "1.4.1",
- "prosemirror-view": "1.26.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-strike": {
- "version": "2.0.0-beta.29",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-subscript": {
- "version": "2.0.0-beta.13",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-superscript": {
- "version": "2.0.0-beta.13",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-table": {
- "version": "2.0.0-beta.54",
- "license": "MIT",
- "dependencies": {
- "@_ueberdosis/prosemirror-tables": "1.1.3",
- "prosemirror-model": "1.18.1",
- "prosemirror-state": "1.4.1",
- "prosemirror-view": "1.26.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-table-cell": {
- "version": "2.0.0-beta.23",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-table-header": {
- "version": "2.0.0-beta.25",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-table-row": {
- "version": "2.0.0-beta.22",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-task-item": {
- "version": "2.0.0-beta.37",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1",
- "prosemirror-model": "1.18.1"
- }
- },
- "node_modules/@tiptap/extension-task-list": {
- "version": "2.0.0-beta.29",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-text": {
- "version": "2.0.0-beta.17",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-text-align": {
- "version": "2.0.0-beta.31",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-text-style": {
- "version": "2.0.0-beta.26",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/extension-underline": {
- "version": "2.0.0-beta.25",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- },
- "peerDependencies": {
- "@tiptap/core": "^2.0.0-beta.1"
- }
- },
- "node_modules/@tiptap/starter-kit": {
- "version": "2.0.0-beta.190",
- "license": "MIT",
- "dependencies": {
- "@tiptap/core": "^2.0.0-beta.181",
- "@tiptap/extension-blockquote": "^2.0.0-beta.29",
- "@tiptap/extension-bold": "^2.0.0-beta.28",
- "@tiptap/extension-bullet-list": "^2.0.0-beta.29",
- "@tiptap/extension-code": "^2.0.0-beta.28",
- "@tiptap/extension-code-block": "^2.0.0-beta.42",
- "@tiptap/extension-document": "^2.0.0-beta.17",
- "@tiptap/extension-dropcursor": "^2.0.0-beta.29",
- "@tiptap/extension-gapcursor": "^2.0.0-beta.39",
- "@tiptap/extension-hard-break": "^2.0.0-beta.33",
- "@tiptap/extension-heading": "^2.0.0-beta.29",
- "@tiptap/extension-history": "^2.0.0-beta.26",
- "@tiptap/extension-horizontal-rule": "^2.0.0-beta.36",
- "@tiptap/extension-italic": "^2.0.0-beta.28",
- "@tiptap/extension-list-item": "^2.0.0-beta.23",
- "@tiptap/extension-ordered-list": "^2.0.0-beta.30",
- "@tiptap/extension-paragraph": "^2.0.0-beta.26",
- "@tiptap/extension-strike": "^2.0.0-beta.29",
- "@tiptap/extension-text": "^2.0.0-beta.17"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/ueberdosis"
- }
- },
- "node_modules/@types/hast": {
- "version": "2.3.4",
- "license": "MIT",
- "dependencies": {
- "@types/unist": "*"
- }
- },
- "node_modules/@types/katex": {
- "version": "0.14.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/parse-json": {
- "version": "4.0.0",
- "license": "MIT"
- },
- "node_modules/@types/prismjs": {
- "version": "1.26.0",
- "license": "MIT"
- },
- "node_modules/@types/prop-types": {
- "version": "15.7.5",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/react": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz",
- "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==",
- "dev": true,
- "dependencies": {
- "@types/prop-types": "*",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@types/react-color": {
- "version": "3.0.6",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/react": "*",
- "@types/reactcss": "*"
- }
- },
- "node_modules/@types/react-dom": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz",
- "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==",
- "dev": true,
- "dependencies": {
- "@types/react": "*"
- }
- },
- "node_modules/@types/react-modal": {
- "version": "3.13.1",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/react": "*"
- }
- },
- "node_modules/@types/reactcss": {
- "version": "1.2.6",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/react": "*"
- }
- },
- "node_modules/@types/tinycolor2": {
- "version": "1.4.3",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/unist": {
- "version": "2.0.6",
- "license": "MIT"
- },
- "node_modules/ansi-styles": {
- "version": "3.2.1",
- "license": "MIT",
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/anymatch": {
- "version": "3.1.2",
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/babel-plugin-dynamic-import-node": {
- "version": "2.3.3",
- "license": "MIT",
- "dependencies": {
- "object.assign": "^4.1.0"
- }
- },
- "node_modules/babel-plugin-macros": {
- "version": "3.1.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.12.5",
- "cosmiconfig": "^7.0.0",
- "resolve": "^1.19.0"
- },
- "engines": {
- "node": ">=10",
- "npm": ">=6"
- }
- },
- "node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.3.2",
- "license": "MIT",
- "dependencies": {
- "@babel/compat-data": "^7.17.7",
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "semver": "^6.1.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/babel-plugin-polyfill-corejs3": {
- "version": "0.5.3",
- "license": "MIT",
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "core-js-compat": "^3.21.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.4.0",
- "license": "MIT",
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.3.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "license": "MIT"
- },
- "node_modules/binary-extensions": {
- "version": "2.2.0",
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "3.0.2",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "fill-range": "^7.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/browserslist": {
- "version": "4.21.3",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "caniuse-lite": "^1.0.30001370",
- "electron-to-chromium": "^1.4.202",
- "node-releases": "^2.0.6",
- "update-browserslist-db": "^1.0.5"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
- "node_modules/buffer-from": {
- "version": "1.1.2",
- "license": "MIT"
- },
- "node_modules/call-bind": {
- "version": "1.0.2",
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001384",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- }
- ],
- "license": "CC-BY-4.0"
- },
- "node_modules/chalk": {
- "version": "2.4.2",
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/character-entities": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/character-entities-legacy": {
- "version": "3.0.0",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/character-reference-invalid": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/chokidar": {
- "version": "3.5.3",
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/color-convert": {
- "version": "1.9.3",
- "license": "MIT",
- "dependencies": {
- "color-name": "1.1.3"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.3",
- "license": "MIT"
- },
- "node_modules/comma-separated-tokens": {
- "version": "2.0.2",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/commander": {
- "version": "4.1.1",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "license": "MIT"
- },
- "node_modules/convert-source-map": {
- "version": "1.8.0",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.1.1"
- }
- },
- "node_modules/core-js-compat": {
- "version": "3.25.0",
- "license": "MIT",
- "dependencies": {
- "browserslist": "^4.21.3",
- "semver": "7.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
- "node_modules/core-js-compat/node_modules/semver": {
- "version": "7.0.0",
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/cosmiconfig": {
- "version": "7.0.1",
- "license": "MIT",
- "dependencies": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/csstype": {
- "version": "3.1.0",
- "license": "MIT"
- },
- "node_modules/debug": {
- "version": "4.3.4",
- "license": "MIT",
- "dependencies": {
- "ms": "2.1.2"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/decode-named-character-reference": {
- "version": "1.0.1",
- "license": "MIT",
- "dependencies": {
- "character-entities": "^2.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/define-properties": {
- "version": "1.1.4",
- "license": "MIT",
- "dependencies": {
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/detect-indent": {
- "version": "7.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=12.20"
- }
- },
- "node_modules/electron-to-chromium": {
- "version": "1.4.233",
- "license": "ISC"
- },
- "node_modules/error-ex": {
- "version": "1.3.2",
- "license": "MIT",
- "dependencies": {
- "is-arrayish": "^0.2.1"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "license": "MIT",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/exenv": {
- "version": "1.2.2",
- "license": "BSD-3-Clause"
- },
- "node_modules/fill-range": {
- "version": "7.0.1",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/find-root": {
- "version": "1.1.0",
- "license": "MIT"
- },
- "node_modules/framer-motion": {
- "version": "4.1.17",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "framesync": "5.3.0",
- "hey-listen": "^1.0.8",
- "popmotion": "9.3.6",
- "style-value-types": "4.1.4",
- "tslib": "^2.1.0"
- },
- "optionalDependencies": {
- "@emotion/is-prop-valid": "^0.8.2"
- },
- "peerDependencies": {
- "react": ">=16.8 || ^17.0.0",
- "react-dom": ">=16.8 || ^17.0.0"
- }
- },
- "node_modules/framesync": {
- "version": "5.3.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "tslib": "^2.1.0"
- }
- },
- "node_modules/fs-readdir-recursive": {
- "version": "1.1.0",
- "license": "MIT"
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "license": "ISC"
- },
- "node_modules/function-bind": {
- "version": "1.1.1",
- "license": "MIT"
- },
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.1.2",
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/glob": {
- "version": "7.2.3",
- "license": "ISC",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/glob-parent": {
- "version": "5.1.2",
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/globals": {
- "version": "11.12.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has": {
- "version": "1.0.3",
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/has-flag": {
- "version": "3.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.0",
- "license": "MIT",
- "dependencies": {
- "get-intrinsic": "^1.1.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.0.3",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/hast-util-parse-selector": {
- "version": "3.1.0",
- "license": "MIT",
- "dependencies": {
- "@types/hast": "^2.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/hastscript": {
- "version": "7.0.2",
- "license": "MIT",
- "dependencies": {
- "@types/hast": "^2.0.0",
- "comma-separated-tokens": "^2.0.0",
- "hast-util-parse-selector": "^3.0.0",
- "property-information": "^6.0.0",
- "space-separated-tokens": "^2.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/he": {
- "version": "1.2.0",
- "license": "MIT",
- "bin": {
- "he": "bin/he"
- }
- },
- "node_modules/hey-listen": {
- "version": "1.0.8",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "license": "BSD-3-Clause",
- "dependencies": {
- "react-is": "^16.7.0"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/import-fresh": {
- "version": "3.3.0",
- "license": "MIT",
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "license": "ISC",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "license": "ISC"
- },
- "node_modules/is-alphabetical": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/is-alphanumerical": {
- "version": "2.0.1",
- "license": "MIT",
- "dependencies": {
- "is-alphabetical": "^2.0.0",
- "is-decimal": "^2.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "license": "MIT"
- },
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-core-module": {
- "version": "2.9.0",
- "license": "MIT",
- "dependencies": {
- "has": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-decimal": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-hexadecimal": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/isomorphic-fetch": {
- "version": "3.0.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "node-fetch": "^2.6.1",
- "whatwg-fetch": "^3.4.1"
- }
- },
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "license": "MIT"
- },
- "node_modules/jsesc": {
- "version": "2.5.2",
- "license": "MIT",
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/json-parse-even-better-errors": {
- "version": "2.3.1",
- "license": "MIT"
- },
- "node_modules/json5": {
- "version": "2.2.1",
- "license": "MIT",
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/katex": {
- "version": "0.16.0",
- "funding": [
- "https://opencollective.com/katex",
- "https://github.com/sponsors/katex"
- ],
- "license": "MIT",
- "dependencies": {
- "commander": "^8.0.0"
- },
- "bin": {
- "katex": "cli.js"
- }
- },
- "node_modules/katex/node_modules/commander": {
- "version": "8.3.0",
- "license": "MIT",
- "engines": {
- "node": ">= 12"
- }
- },
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "license": "MIT"
- },
- "node_modules/linkifyjs": {
- "version": "3.0.5",
- "license": "MIT"
- },
- "node_modules/lodash.debounce": {
- "version": "4.0.8",
- "license": "MIT"
- },
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "license": "MIT",
- "dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
- }
- },
- "node_modules/make-dir": {
- "version": "2.1.0",
- "license": "MIT",
- "dependencies": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/make-dir/node_modules/semver": {
- "version": "5.7.1",
- "license": "ISC",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/min-indent": {
- "version": "1.0.1",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/ms": {
- "version": "2.1.2",
- "license": "MIT"
- },
- "node_modules/node-fetch": {
- "version": "2.6.7",
- "license": "MIT",
- "dependencies": {
- "whatwg-url": "^5.0.0"
- },
- "engines": {
- "node": "4.x || >=6.0.0"
- },
- "peerDependencies": {
- "encoding": "^0.1.0"
- },
- "peerDependenciesMeta": {
- "encoding": {
- "optional": true
- }
- }
- },
- "node_modules/node-releases": {
- "version": "2.0.6",
- "license": "MIT"
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.assign": {
- "version": "4.1.4",
- "license": "MIT",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "has-symbols": "^1.0.3",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "license": "ISC",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/orderedmap": {
- "version": "2.0.0",
- "license": "MIT"
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "license": "MIT",
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/parse-entities": {
- "version": "4.0.0",
- "license": "MIT",
- "dependencies": {
- "@types/unist": "^2.0.0",
- "character-entities": "^2.0.0",
- "character-entities-legacy": "^3.0.0",
- "character-reference-invalid": "^2.0.0",
- "decode-named-character-reference": "^1.0.0",
- "is-alphanumerical": "^2.0.0",
- "is-decimal": "^2.0.0",
- "is-hexadecimal": "^2.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/parse-json": {
- "version": "5.2.0",
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.0.0",
- "error-ex": "^1.3.1",
- "json-parse-even-better-errors": "^2.3.0",
- "lines-and-columns": "^1.1.6"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "license": "MIT"
- },
- "node_modules/path-type": {
- "version": "4.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/picocolors": {
- "version": "1.0.0",
- "license": "ISC"
- },
- "node_modules/picomatch": {
- "version": "2.3.1",
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/pify": {
- "version": "4.0.1",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/popmotion": {
- "version": "9.3.6",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "framesync": "5.3.0",
- "hey-listen": "^1.0.8",
- "style-value-types": "4.1.4",
- "tslib": "^2.1.0"
- }
- },
- "node_modules/prism-themes": {
- "version": "1.9.0",
- "license": "MIT"
- },
- "node_modules/prop-types": {
- "version": "15.8.1",
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.4.0",
- "object-assign": "^4.1.1",
- "react-is": "^16.13.1"
- }
- },
- "node_modules/property-information": {
- "version": "6.1.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/prosemirror-codemark": {
- "version": "0.4.0",
- "license": "MIT",
- "peerDependencies": {
- "prosemirror-inputrules": "^1.2.0",
- "prosemirror-model": "^1.18.1",
- "prosemirror-state": "^1.4.1",
- "prosemirror-view": "^1.26.2"
- }
- },
- "node_modules/prosemirror-commands": {
- "version": "1.3.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "^1.0.0",
- "prosemirror-state": "^1.0.0",
- "prosemirror-transform": "^1.0.0"
- }
- },
- "node_modules/prosemirror-dropcursor": {
- "version": "1.5.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-state": "^1.0.0",
- "prosemirror-transform": "^1.1.0",
- "prosemirror-view": "^1.1.0"
- }
- },
- "node_modules/prosemirror-gapcursor": {
- "version": "1.3.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-keymap": "^1.0.0",
- "prosemirror-model": "^1.0.0",
- "prosemirror-state": "^1.0.0",
- "prosemirror-view": "^1.0.0"
- }
- },
- "node_modules/prosemirror-history": {
- "version": "1.3.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-state": "^1.2.2",
- "prosemirror-transform": "^1.0.0",
- "rope-sequence": "^1.3.0"
- }
- },
- "node_modules/prosemirror-keymap": {
- "version": "1.2.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-state": "^1.0.0",
- "w3c-keyname": "^2.2.0"
- }
- },
- "node_modules/prosemirror-model": {
- "version": "1.18.1",
- "license": "MIT",
- "dependencies": {
- "orderedmap": "^2.0.0"
- }
- },
- "node_modules/prosemirror-schema-list": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.2.0.tgz",
- "integrity": "sha512-8PT/9xOx1HHdC7fDNNfhQ50Z8Mzu7nKyA1KCDltSpcZVZIbB0k7KtsHrnXyuIhbLlScoymBiLZ00c5MH6wdFsA==",
- "dependencies": {
- "prosemirror-model": "^1.0.0",
- "prosemirror-state": "^1.0.0",
- "prosemirror-transform": "^1.0.0"
- }
- },
- "node_modules/prosemirror-state": {
- "version": "1.4.1",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "^1.0.0",
- "prosemirror-transform": "^1.0.0"
- }
- },
- "node_modules/prosemirror-transform": {
- "version": "1.6.0",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "^1.0.0"
- }
- },
- "node_modules/prosemirror-utils": {
- "version": "1.0.0-0",
- "resolved": "git+ssh://[email protected]/atlassian/prosemirror-utils.git#1b97ff08f1bbaea781f205744588a3dfd228b0d1",
- "license": "Apache-2.0",
- "peerDependencies": {
- "prosemirror-model": "^1.0.0",
- "prosemirror-state": "^1.0.1"
- }
- },
- "node_modules/prosemirror-view": {
- "version": "1.26.2",
- "license": "MIT",
- "dependencies": {
- "prosemirror-model": "^1.16.0",
- "prosemirror-state": "^1.0.0",
- "prosemirror-transform": "^1.1.0"
- }
- },
- "node_modules/re-resizable": {
- "version": "6.9.9",
- "license": "MIT",
- "peerDependencies": {
- "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
- }
- },
- "node_modules/react-colorful": {
- "version": "5.5.1",
- "license": "MIT",
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/react-is": {
- "version": "16.13.1",
- "license": "MIT"
- },
- "node_modules/react-lifecycles-compat": {
- "version": "3.0.4",
- "license": "MIT"
- },
- "node_modules/react-modal": {
- "version": "3.15.1",
- "license": "MIT",
- "dependencies": {
- "exenv": "^1.2.0",
- "prop-types": "^15.7.2",
- "react-lifecycles-compat": "^3.0.0",
- "warning": "^4.0.3"
- },
- "engines": {
- "node": ">=8"
- },
- "peerDependencies": {
- "react": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18",
- "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18"
- }
- },
- "node_modules/readdirp": {
- "version": "3.6.0",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/redent": {
- "version": "4.0.0",
- "license": "MIT",
- "dependencies": {
- "indent-string": "^5.0.0",
- "strip-indent": "^4.0.0"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/redent/node_modules/indent-string": {
- "version": "5.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/refractor": {
- "version": "4.7.0",
- "license": "MIT",
- "dependencies": {
- "@types/hast": "^2.0.0",
- "@types/prismjs": "^1.0.0",
- "hastscript": "^7.0.0",
- "parse-entities": "^4.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/regenerate": {
- "version": "1.4.2",
- "license": "MIT"
- },
- "node_modules/regenerate-unicode-properties": {
- "version": "10.0.1",
- "license": "MIT",
- "dependencies": {
- "regenerate": "^1.4.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/regenerator-runtime": {
- "version": "0.13.9",
- "license": "MIT"
- },
- "node_modules/regenerator-transform": {
- "version": "0.15.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.8.4"
- }
- },
- "node_modules/regexpu-core": {
- "version": "5.1.0",
- "license": "MIT",
- "dependencies": {
- "regenerate": "^1.4.2",
- "regenerate-unicode-properties": "^10.0.1",
- "regjsgen": "^0.6.0",
- "regjsparser": "^0.8.2",
- "unicode-match-property-ecmascript": "^2.0.0",
- "unicode-match-property-value-ecmascript": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/regjsgen": {
- "version": "0.6.0",
- "license": "MIT"
- },
- "node_modules/regjsparser": {
- "version": "0.8.4",
- "license": "BSD-2-Clause",
- "dependencies": {
- "jsesc": "~0.5.0"
- },
- "bin": {
- "regjsparser": "bin/parser"
- }
- },
- "node_modules/regjsparser/node_modules/jsesc": {
- "version": "0.5.0",
- "bin": {
- "jsesc": "bin/jsesc"
- }
- },
- "node_modules/resolve": {
- "version": "1.22.0",
- "license": "MIT",
- "dependencies": {
- "is-core-module": "^2.8.1",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/rope-sequence": {
- "version": "1.3.3",
- "license": "MIT"
- },
- "node_modules/safe-buffer": {
- "version": "5.1.2",
- "license": "MIT"
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "license": "MIT"
- },
- "node_modules/semver": {
- "version": "6.3.0",
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/slash": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/source-map": {
- "version": "0.5.7",
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-support": {
- "version": "0.5.21",
- "license": "MIT",
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/source-map-support/node_modules/source-map": {
- "version": "0.6.1",
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/space-separated-tokens": {
- "version": "2.0.1",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/string_decoder": {
- "version": "1.3.0",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.2.0"
- }
- },
- "node_modules/string_decoder/node_modules/safe-buffer": {
- "version": "5.2.1",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/strip-indent": {
- "version": "4.0.0",
- "license": "MIT",
- "dependencies": {
- "min-indent": "^1.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/style-value-types": {
- "version": "4.1.4",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "hey-listen": "^1.0.8",
- "tslib": "^2.1.0"
- }
- },
- "node_modules/styled-system": {
- "version": "5.1.5",
- "license": "MIT",
- "dependencies": {
- "@styled-system/background": "^5.1.2",
- "@styled-system/border": "^5.1.5",
- "@styled-system/color": "^5.1.2",
- "@styled-system/core": "^5.1.2",
- "@styled-system/flexbox": "^5.1.2",
- "@styled-system/grid": "^5.1.2",
- "@styled-system/layout": "^5.1.2",
- "@styled-system/position": "^5.1.2",
- "@styled-system/shadow": "^5.1.2",
- "@styled-system/space": "^5.1.2",
- "@styled-system/typography": "^5.1.2",
- "@styled-system/variant": "^5.1.5",
- "object-assign": "^4.1.1"
- }
- },
- "node_modules/stylis": {
- "version": "4.0.13",
- "license": "MIT"
- },
- "node_modules/supports-color": {
- "version": "5.5.0",
- "license": "MIT",
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/tinycolor2": {
- "version": "1.4.2",
- "license": "MIT",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/to-fast-properties": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/tr46": {
- "version": "0.0.3",
- "license": "MIT"
- },
- "node_modules/tslib": {
- "version": "2.4.0",
- "dev": true,
- "license": "0BSD"
- },
- "node_modules/typescript": {
- "version": "4.8.2",
- "dev": true,
- "license": "Apache-2.0",
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/unfurl.js": {
- "version": "5.7.0",
- "license": "ISC",
- "dependencies": {
- "debug": "^3.1.0",
- "he": "^1.2.0",
- "htmlparser2": "^3.9.2",
- "iconv-lite": "^0.4.24",
- "node-fetch": "^2.6.7",
- "source-map-support": "^0.5.9"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/unfurl.js/node_modules/debug": {
- "version": "3.2.7",
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/unfurl.js/node_modules/dom-serializer": {
- "version": "0.2.2",
- "license": "MIT",
- "dependencies": {
- "domelementtype": "^2.0.1",
- "entities": "^2.0.0"
- }
- },
- "node_modules/unfurl.js/node_modules/dom-serializer/node_modules/domelementtype": {
- "version": "2.3.0",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/fb55"
- }
- ],
- "license": "BSD-2-Clause"
- },
- "node_modules/unfurl.js/node_modules/dom-serializer/node_modules/entities": {
- "version": "2.2.0",
- "license": "BSD-2-Clause",
- "funding": {
- "url": "https://github.com/fb55/entities?sponsor=1"
- }
- },
- "node_modules/unfurl.js/node_modules/domelementtype": {
- "version": "1.3.1",
- "license": "BSD-2-Clause"
- },
- "node_modules/unfurl.js/node_modules/domhandler": {
- "version": "2.4.2",
- "license": "BSD-2-Clause",
- "dependencies": {
- "domelementtype": "1"
- }
- },
- "node_modules/unfurl.js/node_modules/domutils": {
- "version": "1.7.0",
- "license": "BSD-2-Clause",
- "dependencies": {
- "dom-serializer": "0",
- "domelementtype": "1"
- }
- },
- "node_modules/unfurl.js/node_modules/entities": {
- "version": "1.1.2",
- "license": "BSD-2-Clause"
- },
- "node_modules/unfurl.js/node_modules/htmlparser2": {
- "version": "3.10.1",
- "license": "MIT",
- "dependencies": {
- "domelementtype": "^1.3.1",
- "domhandler": "^2.3.0",
- "domutils": "^1.5.1",
- "entities": "^1.1.1",
- "inherits": "^2.0.1",
- "readable-stream": "^3.1.1"
- }
- },
- "node_modules/unfurl.js/node_modules/readable-stream": {
- "version": "3.6.0",
- "license": "MIT",
- "dependencies": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/unicode-canonical-property-names-ecmascript": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-match-property-ecmascript": {
- "version": "2.0.0",
- "license": "MIT",
- "dependencies": {
- "unicode-canonical-property-names-ecmascript": "^2.0.0",
- "unicode-property-aliases-ecmascript": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-match-property-value-ecmascript": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-property-aliases-ecmascript": {
- "version": "2.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/update-browserslist-db": {
- "version": "1.0.5",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "escalade": "^3.1.1",
- "picocolors": "^1.0.0"
- },
- "bin": {
- "browserslist-lint": "cli.js"
- },
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
- "node_modules/util-deprecate": {
- "version": "1.0.2",
- "license": "MIT"
- },
- "node_modules/w3c-keyname": {
- "version": "2.2.4",
- "license": "MIT"
- },
- "node_modules/warning": {
- "version": "4.0.3",
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.0.0"
- }
- },
- "node_modules/web-vitals": {
- "version": "2.1.4",
- "dev": true,
- "license": "Apache-2.0"
- },
- "node_modules/whatwg-fetch": {
- "version": "3.6.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/whatwg-url": {
- "version": "5.0.0",
- "license": "MIT",
- "dependencies": {
- "tr46": "~0.0.3",
- "webidl-conversions": "^3.0.0"
- }
- },
- "node_modules/whatwg-url/node_modules/webidl-conversions": {
- "version": "3.0.1",
- "license": "BSD-2-Clause"
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "license": "ISC"
- },
- "node_modules/yaml": {
- "version": "1.10.2",
- "license": "ISC",
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/zustand": {
- "version": "3.7.2",
- "license": "MIT",
- "engines": {
- "node": ">=12.7.0"
- },
- "peerDependencies": {
- "react": ">=16.8"
- },
- "peerDependenciesMeta": {
- "react": {
- "optional": true
- }
- }
- }
- },
- "dependencies": {
- "@_ueberdosis/prosemirror-tables": {
- "version": "1.1.3",
- "requires": {
- "prosemirror-keymap": "^1.1.2",
- "prosemirror-model": "^1.8.1",
- "prosemirror-state": "^1.3.1",
- "prosemirror-transform": "^1.2.1",
- "prosemirror-view": "^1.13.3"
- }
- },
- "@ampproject/remapping": {
- "version": "2.2.0",
- "requires": {
- "@jridgewell/gen-mapping": "^0.1.0",
- "@jridgewell/trace-mapping": "^0.3.9"
- }
- },
- "@babel/cli": {
- "version": "7.18.10",
- "requires": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- }
- },
- "@babel/code-frame": {
- "version": "7.18.6",
- "requires": {
- "@babel/highlight": "^7.18.6"
- }
- },
- "@babel/compat-data": {
- "version": "7.18.13"
- },
- "@babel/core": {
- "version": "7.18.13",
- "requires": {
- "@ampproject/remapping": "^2.1.0",
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helpers": "^7.18.9",
- "@babel/parser": "^7.18.13",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.13",
- "@babel/types": "^7.18.13",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.2",
- "json5": "^2.2.1",
- "semver": "^6.3.0"
- }
- },
- "@babel/generator": {
- "version": "7.18.13",
- "requires": {
- "@babel/types": "^7.18.13",
- "@jridgewell/gen-mapping": "^0.3.2",
- "jsesc": "^2.5.1"
- },
- "dependencies": {
- "@jridgewell/gen-mapping": {
- "version": "0.3.2",
- "requires": {
- "@jridgewell/set-array": "^1.0.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.9"
- }
- }
- }
- },
- "@babel/helper-annotate-as-pure": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-builder-binary-assignment-operator-visitor": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-explode-assignable-expression": "^7.18.6",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-compilation-targets": {
- "version": "7.18.9",
- "requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-validator-option": "^7.18.6",
- "browserslist": "^4.20.2",
- "semver": "^6.3.0"
- }
- },
- "@babel/helper-create-class-features-plugin": {
- "version": "7.18.13",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6"
- }
- },
- "@babel/helper-create-regexp-features-plugin": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "regexpu-core": "^5.1.0"
- }
- },
- "@babel/helper-define-polyfill-provider": {
- "version": "0.3.2",
- "requires": {
- "@babel/helper-compilation-targets": "^7.17.7",
- "@babel/helper-plugin-utils": "^7.16.7",
- "debug": "^4.1.1",
- "lodash.debounce": "^4.0.8",
- "resolve": "^1.14.2",
- "semver": "^6.1.2"
- }
- },
- "@babel/helper-environment-visitor": {
- "version": "7.18.9"
- },
- "@babel/helper-explode-assignable-expression": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-function-name": {
- "version": "7.18.9",
- "requires": {
- "@babel/template": "^7.18.6",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-hoist-variables": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-member-expression-to-functions": {
- "version": "7.18.9",
- "requires": {
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-module-imports": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-module-transforms": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/helper-validator-identifier": "^7.18.6",
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-optimise-call-expression": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-plugin-utils": {
- "version": "7.18.9"
- },
- "@babel/helper-remap-async-to-generator": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-wrap-function": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-replace-supers": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-simple-access": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.18.9",
- "requires": {
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-split-export-declaration": {
- "version": "7.18.6",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-string-parser": {
- "version": "7.18.10"
- },
- "@babel/helper-validator-identifier": {
- "version": "7.18.6"
- },
- "@babel/helper-validator-option": {
- "version": "7.18.6"
- },
- "@babel/helper-wrap-function": {
- "version": "7.18.11",
- "requires": {
- "@babel/helper-function-name": "^7.18.9",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.11",
- "@babel/types": "^7.18.10"
- }
- },
- "@babel/helpers": {
- "version": "7.18.9",
- "requires": {
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/highlight": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-validator-identifier": "^7.18.6",
- "chalk": "^2.0.0",
- "js-tokens": "^4.0.0"
- }
- },
- "@babel/parser": {
- "version": "7.18.13"
- },
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9"
- }
- },
- "@babel/plugin-proposal-async-generator-functions": {
- "version": "7.18.10",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-remap-async-to-generator": "^7.18.9",
- "@babel/plugin-syntax-async-generators": "^7.8.4"
- }
- },
- "@babel/plugin-proposal-class-properties": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-proposal-class-static-block": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-class-static-block": "^7.14.5"
- }
- },
- "@babel/plugin-proposal-dynamic-import": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-export-namespace-from": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-json-strings": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
- }
- },
- "@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-numeric-separator": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4"
- }
- },
- "@babel/plugin-proposal-object-rest-spread": {
- "version": "7.18.9",
- "requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.18.8"
- }
- },
- "@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-optional-chaining": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-private-methods": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-proposal-private-property-in-object": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
- }
- },
- "@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-async-generators": {
- "version": "7.8.4",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-class-properties": {
- "version": "7.12.13",
- "requires": {
- "@babel/helper-plugin-utils": "^7.12.13"
- }
- },
- "@babel/plugin-syntax-class-static-block": {
- "version": "7.14.5",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-syntax-dynamic-import": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-export-namespace-from": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.3"
- }
- },
- "@babel/plugin-syntax-import-assertions": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-json-strings": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-jsx": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-logical-assignment-operators": {
- "version": "7.10.4",
- "requires": {
- "@babel/helper-plugin-utils": "^7.10.4"
- }
- },
- "@babel/plugin-syntax-nullish-coalescing-operator": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-numeric-separator": {
- "version": "7.10.4",
- "requires": {
- "@babel/helper-plugin-utils": "^7.10.4"
- }
- },
- "@babel/plugin-syntax-object-rest-spread": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-optional-catch-binding": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-optional-chaining": {
- "version": "7.8.3",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-private-property-in-object": {
- "version": "7.14.5",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-syntax-top-level-await": {
- "version": "7.14.5",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-transform-arrow-functions": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-async-to-generator": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-remap-async-to-generator": "^7.18.6"
- }
- },
- "@babel/plugin-transform-block-scoped-functions": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-block-scoping": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-classes": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "globals": "^11.1.0"
- }
- },
- "@babel/plugin-transform-computed-properties": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "engines": {
+ "node": "*"
}
},
- "@babel/plugin-transform-destructuring": {
- "version": "7.18.13",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
}
},
- "@babel/plugin-transform-dotall-regex": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "license": "MIT"
},
- "@babel/plugin-transform-duplicate-keys": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
+ "node_modules/tslib": {
+ "version": "2.4.0",
+ "dev": true,
+ "license": "0BSD"
},
- "@babel/plugin-transform-exponentiation-operator": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/typescript": {
+ "version": "4.8.2",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=4.2.0"
}
},
- "@babel/plugin-transform-for-of": {
- "version": "7.18.8",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/unfurl.js": {
+ "version": "5.7.0",
+ "license": "ISC",
+ "dependencies": {
+ "debug": "^3.1.0",
+ "he": "^1.2.0",
+ "htmlparser2": "^3.9.2",
+ "iconv-lite": "^0.4.24",
+ "node-fetch": "^2.6.7",
+ "source-map-support": "^0.5.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
},
- "@babel/plugin-transform-function-name": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/unfurl.js/node_modules/debug": {
+ "version": "3.2.7",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
}
},
- "@babel/plugin-transform-literals": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/unfurl.js/node_modules/dom-serializer": {
+ "version": "0.2.2",
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^2.0.1",
+ "entities": "^2.0.0"
}
},
- "@babel/plugin-transform-member-expression-literals": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "node_modules/unfurl.js/node_modules/dom-serializer/node_modules/domelementtype": {
+ "version": "2.3.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ],
+ "license": "BSD-2-Clause"
},
- "@babel/plugin-transform-modules-amd": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "node_modules/unfurl.js/node_modules/dom-serializer/node_modules/entities": {
+ "version": "2.2.0",
+ "license": "BSD-2-Clause",
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
}
},
- "@babel/plugin-transform-modules-commonjs": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- }
+ "node_modules/unfurl.js/node_modules/domelementtype": {
+ "version": "1.3.1",
+ "license": "BSD-2-Clause"
},
- "@babel/plugin-transform-modules-systemjs": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-identifier": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "node_modules/unfurl.js/node_modules/domhandler": {
+ "version": "2.4.2",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "domelementtype": "1"
}
},
- "@babel/plugin-transform-modules-umd": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/unfurl.js/node_modules/domutils": {
+ "version": "1.7.0",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
}
},
- "@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "node_modules/unfurl.js/node_modules/entities": {
+ "version": "1.1.2",
+ "license": "BSD-2-Clause"
},
- "@babel/plugin-transform-new-target": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/unfurl.js/node_modules/htmlparser2": {
+ "version": "3.10.1",
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^1.3.1",
+ "domhandler": "^2.3.0",
+ "domutils": "^1.5.1",
+ "entities": "^1.1.1",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.1.1"
}
},
- "@babel/plugin-transform-object-super": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.6"
+ "node_modules/unfurl.js/node_modules/readable-stream": {
+ "version": "3.6.0",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
}
},
- "@babel/plugin-transform-parameters": {
- "version": "7.18.8",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "license": "MIT"
},
- "@babel/plugin-transform-property-literals": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "node_modules/w3c-keyname": {
+ "version": "2.2.4",
+ "license": "MIT"
},
- "@babel/plugin-transform-react-display-name": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/warning": {
+ "version": "4.0.3",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
}
},
- "@babel/plugin-transform-react-jsx": {
- "version": "7.18.10",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-jsx": "^7.18.6",
- "@babel/types": "^7.18.10"
- }
+ "node_modules/web-vitals": {
+ "version": "2.1.4",
+ "dev": true,
+ "license": "Apache-2.0"
},
- "@babel/plugin-transform-react-jsx-development": {
- "version": "7.18.6",
- "requires": {
- "@babel/plugin-transform-react-jsx": "^7.18.6"
- }
+ "node_modules/whatwg-fetch": {
+ "version": "3.6.2",
+ "dev": true,
+ "license": "MIT"
},
- "@babel/plugin-transform-react-pure-annotations": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
}
},
- "@babel/plugin-transform-regenerator": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "regenerator-transform": "^0.15.0"
- }
+ "node_modules/whatwg-url/node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "license": "BSD-2-Clause"
},
- "@babel/plugin-transform-reserved-words": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/yaml": {
+ "version": "1.10.2",
+ "license": "ISC",
+ "engines": {
+ "node": ">= 6"
}
},
- "@babel/plugin-transform-shorthand-properties": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/zustand": {
+ "version": "3.7.2",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.7.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ }
}
- },
- "@babel/plugin-transform-spread": {
- "version": "7.18.9",
+ }
+ },
+ "dependencies": {
+ "@_ueberdosis/prosemirror-tables": {
+ "version": "1.1.3",
"requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9"
+ "prosemirror-keymap": "^1.1.2",
+ "prosemirror-model": "^1.8.1",
+ "prosemirror-state": "^1.3.1",
+ "prosemirror-transform": "^1.2.1",
+ "prosemirror-view": "^1.13.3"
}
},
- "@babel/plugin-transform-sticky-regex": {
+ "@babel/code-frame": {
"version": "7.18.6",
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/highlight": "^7.18.6"
}
},
- "@babel/plugin-transform-template-literals": {
- "version": "7.18.9",
+ "@babel/helper-module-imports": {
+ "version": "7.18.6",
"requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "@babel/types": "^7.18.6"
}
},
- "@babel/plugin-transform-typeof-symbol": {
- "version": "7.18.9",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
+ "@babel/helper-plugin-utils": {
+ "version": "7.18.9"
},
- "@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
+ "@babel/helper-string-parser": {
+ "version": "7.18.10"
},
- "@babel/plugin-transform-unicode-regex": {
- "version": "7.18.6",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "@babel/helper-validator-identifier": {
+ "version": "7.18.6"
},
- "@babel/preset-env": {
- "version": "7.18.10",
- "requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.18.10",
- "@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
- "@babel/plugin-proposal-dynamic-import": "^7.18.6",
- "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
- "@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
- "@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
- "@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
- "@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
- "@babel/plugin-syntax-async-generators": "^7.8.4",
- "@babel/plugin-syntax-class-properties": "^7.12.13",
- "@babel/plugin-syntax-class-static-block": "^7.14.5",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
- "@babel/plugin-syntax-import-assertions": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
- "@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
- "@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.18.9",
- "@babel/plugin-transform-classes": "^7.18.9",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.18.9",
- "@babel/plugin-transform-dotall-regex": "^7.18.6",
- "@babel/plugin-transform-duplicate-keys": "^7.18.9",
- "@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
- "@babel/plugin-transform-function-name": "^7.18.9",
- "@babel/plugin-transform-literals": "^7.18.9",
- "@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.18.6",
- "@babel/plugin-transform-modules-commonjs": "^7.18.6",
- "@babel/plugin-transform-modules-systemjs": "^7.18.9",
- "@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6",
- "@babel/plugin-transform-new-target": "^7.18.6",
- "@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.18.8",
- "@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
- "@babel/plugin-transform-reserved-words": "^7.18.6",
- "@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.18.9",
- "@babel/plugin-transform-sticky-regex": "^7.18.6",
- "@babel/plugin-transform-template-literals": "^7.18.9",
- "@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
- "@babel/plugin-transform-unicode-regex": "^7.18.6",
- "@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.18.10",
- "babel-plugin-polyfill-corejs2": "^0.3.2",
- "babel-plugin-polyfill-corejs3": "^0.5.3",
- "babel-plugin-polyfill-regenerator": "^0.4.0",
- "core-js-compat": "^3.22.1",
- "semver": "^6.3.0"
- }
- },
- "@babel/preset-modules": {
- "version": "0.1.5",
+ "@babel/highlight": {
+ "version": "7.18.6",
"requires": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
- "@babel/plugin-transform-dotall-regex": "^7.4.4",
- "@babel/types": "^7.4.4",
- "esutils": "^2.0.2"
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
}
},
- "@babel/preset-react": {
+ "@babel/plugin-syntax-jsx": {
"version": "7.18.6",
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-transform-react-display-name": "^7.18.6",
- "@babel/plugin-transform-react-jsx": "^7.18.6",
- "@babel/plugin-transform-react-jsx-development": "^7.18.6",
- "@babel/plugin-transform-react-pure-annotations": "^7.18.6"
+ "@babel/helper-plugin-utils": "^7.18.6"
}
},
"@babel/runtime": {
@@ -5074,29 +2138,6 @@
"regenerator-runtime": "^0.13.4"
}
},
- "@babel/template": {
- "version": "7.18.10",
- "requires": {
- "@babel/code-frame": "^7.18.6",
- "@babel/parser": "^7.18.10",
- "@babel/types": "^7.18.10"
- }
- },
- "@babel/traverse": {
- "version": "7.18.13",
- "requires": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.18.13",
- "@babel/types": "^7.18.13",
- "debug": "^4.1.0",
- "globals": "^11.1.0"
- }
- },
"@babel/types": {
"version": "7.18.13",
"requires": {
@@ -5215,29 +2256,6 @@
"@emotion/weak-memoize": {
"version": "0.3.0"
},
- "@jridgewell/gen-mapping": {
- "version": "0.1.1",
- "requires": {
- "@jridgewell/set-array": "^1.0.0",
- "@jridgewell/sourcemap-codec": "^1.4.10"
- }
- },
- "@jridgewell/resolve-uri": {
- "version": "3.1.0"
- },
- "@jridgewell/set-array": {
- "version": "1.1.2"
- },
- "@jridgewell/sourcemap-codec": {
- "version": "1.4.14"
- },
- "@jridgewell/trace-mapping": {
- "version": "0.3.15",
- "requires": {
- "@jridgewell/resolve-uri": "^3.0.3",
- "@jridgewell/sourcemap-codec": "^1.4.10"
- }
- },
"@mdi/js": {
"version": "6.9.96"
},
@@ -5247,88 +2265,9 @@
"prop-types": "^15.7.2"
}
},
- "@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "optional": true
- },
"@social-embed/lib": {
"version": "0.0.1-next.12"
},
- "@streetwriters/rebass": {
- "version": "5.0.0",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
- }
- },
- "@streetwriters/rebass-bundler": {
- "version": "4.0.6",
- "requires": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- }
- },
- "@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
- }
- },
- "@streetwriters/reflexbox": {
- "version": "5.0.0",
- "requires": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- },
- "dependencies": {
- "@emotion/hash": {
- "version": "0.9.0"
- },
- "@emotion/is-prop-valid": {
- "version": "1.2.0",
- "requires": {
- "@emotion/memoize": "^0.8.0"
- }
- },
- "@emotion/memoize": {
- "version": "0.8.0"
- },
- "@emotion/serialize": {
- "version": "1.1.0",
- "requires": {
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/unitless": "^0.8.0",
- "@emotion/utils": "^1.2.0",
- "csstype": "^3.0.2"
- }
- },
- "@emotion/styled": {
- "version": "11.10.0",
- "requires": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/utils": "^1.2.0"
- }
- },
- "@emotion/unitless": {
- "version": "0.8.0"
- },
- "csstype": {
- "version": "3.1.0"
- }
- }
- },
"@styled-system/background": {
"version": "5.1.2",
"requires": {
@@ -5413,6 +2352,44 @@
"@styled-system/css": "^5.1.5"
}
},
+ "@theme-ui/components": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/components/-/components-0.14.7.tgz",
+ "integrity": "sha512-iIzqBvRL8GNVkzuZinxInYNFW/38pvqqthuCgLsnOC0/A4Q4v13mn/fxlZa6pJjwouswsRLOrkd63bS7Svzkfw==",
+ "requires": {
+ "@styled-system/color": "^5.1.2",
+ "@styled-system/should-forward-prop": "^5.1.2",
+ "@styled-system/space": "^5.1.2",
+ "@theme-ui/css": "0.14.7",
+ "@types/styled-system": "^5.1.13"
+ }
+ },
+ "@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
+ "requires": {
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
+ }
+ },
+ "@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
+ "requires": {
+ "csstype": "^3.0.10"
+ }
+ },
+ "@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
+ "requires": {
+ "@theme-ui/css": "0.14.7"
+ }
+ },
"@tiptap/core": {
"version": "2.0.0-beta.182",
"requires": {
@@ -5647,6 +2624,14 @@
"@types/react": "*"
}
},
+ "@types/styled-system": {
+ "version": "5.1.15",
+ "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.15.tgz",
+ "integrity": "sha512-1uls4wipZn8FtYFZ7upRVFDoEeOXTQTs2zuyOZPn02T6rjIxtvj2P2lG5qsxXHhKuKsu3thveCZrtaeLE/ibLg==",
+ "requires": {
+ "csstype": "^3.0.2"
+ }
+ },
"@types/tinycolor2": {
"version": "1.4.3",
"dev": true
@@ -5660,20 +2645,6 @@
"color-convert": "^1.9.0"
}
},
- "anymatch": {
- "version": "3.1.2",
- "optional": true,
- "requires": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- }
- },
- "babel-plugin-dynamic-import-node": {
- "version": "2.3.3",
- "requires": {
- "object.assign": "^4.1.0"
- }
- },
"babel-plugin-macros": {
"version": "3.1.0",
"requires": {
@@ -5682,73 +2653,12 @@
"resolve": "^1.19.0"
}
},
- "babel-plugin-polyfill-corejs2": {
- "version": "0.3.2",
- "requires": {
- "@babel/compat-data": "^7.17.7",
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "semver": "^6.1.1"
- }
- },
- "babel-plugin-polyfill-corejs3": {
- "version": "0.5.3",
- "requires": {
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "core-js-compat": "^3.21.0"
- }
- },
- "babel-plugin-polyfill-regenerator": {
- "version": "0.4.0",
- "requires": {
- "@babel/helper-define-polyfill-provider": "^0.3.2"
- }
- },
- "balanced-match": {
- "version": "1.0.2"
- },
- "binary-extensions": {
- "version": "2.2.0",
- "optional": true
- },
- "brace-expansion": {
- "version": "1.1.11",
- "requires": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "braces": {
- "version": "3.0.2",
- "optional": true,
- "requires": {
- "fill-range": "^7.0.1"
- }
- },
- "browserslist": {
- "version": "4.21.3",
- "requires": {
- "caniuse-lite": "^1.0.30001370",
- "electron-to-chromium": "^1.4.202",
- "node-releases": "^2.0.6",
- "update-browserslist-db": "^1.0.5"
- }
- },
"buffer-from": {
"version": "1.1.2"
},
- "call-bind": {
- "version": "1.0.2",
- "requires": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- }
- },
"callsites": {
"version": "3.1.0"
},
- "caniuse-lite": {
- "version": "1.0.30001384"
- },
"chalk": {
"version": "2.4.2",
"requires": {
@@ -5766,20 +2676,6 @@
"character-reference-invalid": {
"version": "2.0.1"
},
- "chokidar": {
- "version": "3.5.3",
- "optional": true,
- "requires": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "fsevents": "~2.3.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- }
- },
"color-convert": {
"version": "1.9.3",
"requires": {
@@ -5792,30 +2688,12 @@
"comma-separated-tokens": {
"version": "2.0.2"
},
- "commander": {
- "version": "4.1.1"
- },
- "concat-map": {
- "version": "0.0.1"
- },
"convert-source-map": {
"version": "1.8.0",
"requires": {
"safe-buffer": "~5.1.1"
}
},
- "core-js-compat": {
- "version": "3.25.0",
- "requires": {
- "browserslist": "^4.21.3",
- "semver": "7.0.0"
- },
- "dependencies": {
- "semver": {
- "version": "7.0.0"
- }
- }
- },
"cosmiconfig": {
"version": "7.0.1",
"requires": {
@@ -5829,56 +2707,32 @@
"csstype": {
"version": "3.1.0"
},
- "debug": {
- "version": "4.3.4",
- "requires": {
- "ms": "2.1.2"
- }
- },
"decode-named-character-reference": {
"version": "1.0.1",
"requires": {
"character-entities": "^2.0.0"
}
},
- "define-properties": {
- "version": "1.1.4",
- "requires": {
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- }
+ "deepmerge": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg=="
},
"detect-indent": {
"version": "7.0.0"
},
- "electron-to-chromium": {
- "version": "1.4.233"
- },
"error-ex": {
"version": "1.3.2",
"requires": {
"is-arrayish": "^0.2.1"
}
},
- "escalade": {
- "version": "3.1.1"
- },
"escape-string-regexp": {
"version": "1.0.5"
},
- "esutils": {
- "version": "2.0.3"
- },
"exenv": {
"version": "1.2.2"
},
- "fill-range": {
- "version": "7.0.1",
- "optional": true,
- "requires": {
- "to-regex-range": "^5.0.1"
- }
- },
"find-root": {
"version": "1.1.0"
},
@@ -5901,47 +2755,9 @@
"tslib": "^2.1.0"
}
},
- "fs-readdir-recursive": {
- "version": "1.1.0"
- },
- "fs.realpath": {
- "version": "1.0.0"
- },
"function-bind": {
"version": "1.1.1"
},
- "gensync": {
- "version": "1.0.0-beta.2"
- },
- "get-intrinsic": {
- "version": "1.1.2",
- "requires": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- }
- },
- "glob": {
- "version": "7.2.3",
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "glob-parent": {
- "version": "5.1.2",
- "optional": true,
- "requires": {
- "is-glob": "^4.0.1"
- }
- },
- "globals": {
- "version": "11.12.0"
- },
"has": {
"version": "1.0.3",
"requires": {
@@ -5951,15 +2767,6 @@
"has-flag": {
"version": "3.0.0"
},
- "has-property-descriptors": {
- "version": "1.0.0",
- "requires": {
- "get-intrinsic": "^1.1.1"
- }
- },
- "has-symbols": {
- "version": "1.0.3"
- },
"hast-util-parse-selector": {
"version": "3.1.0",
"requires": {
@@ -6002,13 +2809,6 @@
"resolve-from": "^4.0.0"
}
},
- "inflight": {
- "version": "1.0.6",
- "requires": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
"inherits": {
"version": "2.0.4"
},
@@ -6025,13 +2825,6 @@
"is-arrayish": {
"version": "0.2.1"
},
- "is-binary-path": {
- "version": "2.1.0",
- "optional": true,
- "requires": {
- "binary-extensions": "^2.0.0"
- }
- },
"is-core-module": {
"version": "2.9.0",
"requires": {
@@ -6041,24 +2834,9 @@
"is-decimal": {
"version": "2.0.1"
},
- "is-extglob": {
- "version": "2.1.1",
- "optional": true
- },
- "is-glob": {
- "version": "4.0.3",
- "optional": true,
- "requires": {
- "is-extglob": "^2.1.1"
- }
- },
"is-hexadecimal": {
"version": "2.0.1"
},
- "is-number": {
- "version": "7.0.0",
- "optional": true
- },
"isomorphic-fetch": {
"version": "3.0.0",
"dev": true,
@@ -6070,15 +2848,9 @@
"js-tokens": {
"version": "4.0.0"
},
- "jsesc": {
- "version": "2.5.2"
- },
"json-parse-even-better-errors": {
"version": "2.3.1"
},
- "json5": {
- "version": "2.2.1"
- },
"katex": {
"version": "0.16.0",
"requires": {
@@ -6096,36 +2868,15 @@
"linkifyjs": {
"version": "3.0.5"
},
- "lodash.debounce": {
- "version": "4.0.8"
- },
"loose-envify": {
"version": "1.4.0",
"requires": {
"js-tokens": "^3.0.0 || ^4.0.0"
}
},
- "make-dir": {
- "version": "2.1.0",
- "requires": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1"
- }
- }
- },
"min-indent": {
"version": "1.0.1"
},
- "minimatch": {
- "version": "3.1.2",
- "requires": {
- "brace-expansion": "^1.1.7"
- }
- },
"ms": {
"version": "2.1.2"
},
@@ -6135,34 +2886,9 @@
"whatwg-url": "^5.0.0"
}
},
- "node-releases": {
- "version": "2.0.6"
- },
- "normalize-path": {
- "version": "3.0.0",
- "optional": true
- },
"object-assign": {
"version": "4.1.1"
},
- "object-keys": {
- "version": "1.1.1"
- },
- "object.assign": {
- "version": "4.1.4",
- "requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "has-symbols": "^1.0.3",
- "object-keys": "^1.1.1"
- }
- },
- "once": {
- "version": "1.4.0",
- "requires": {
- "wrappy": "1"
- }
- },
"orderedmap": {
"version": "2.0.0"
},
@@ -6194,25 +2920,12 @@
"lines-and-columns": "^1.1.6"
}
},
- "path-is-absolute": {
- "version": "1.0.1"
- },
"path-parse": {
"version": "1.0.7"
},
"path-type": {
"version": "4.0.0"
},
- "picocolors": {
- "version": "1.0.0"
- },
- "picomatch": {
- "version": "2.3.1",
- "optional": true
- },
- "pify": {
- "version": "4.0.1"
- },
"popmotion": {
"version": "9.3.6",
"dev": true,
@@ -6342,13 +3055,6 @@
"warning": "^4.0.3"
}
},
- "readdirp": {
- "version": "3.6.0",
- "optional": true,
- "requires": {
- "picomatch": "^2.2.1"
- }
- },
"redent": {
"version": "4.0.0",
"requires": {
@@ -6370,49 +3076,9 @@
"parse-entities": "^4.0.0"
}
},
- "regenerate": {
- "version": "1.4.2"
- },
- "regenerate-unicode-properties": {
- "version": "10.0.1",
- "requires": {
- "regenerate": "^1.4.2"
- }
- },
"regenerator-runtime": {
"version": "0.13.9"
},
- "regenerator-transform": {
- "version": "0.15.0",
- "requires": {
- "@babel/runtime": "^7.8.4"
- }
- },
- "regexpu-core": {
- "version": "5.1.0",
- "requires": {
- "regenerate": "^1.4.2",
- "regenerate-unicode-properties": "^10.0.1",
- "regjsgen": "^0.6.0",
- "regjsparser": "^0.8.2",
- "unicode-match-property-ecmascript": "^2.0.0",
- "unicode-match-property-value-ecmascript": "^2.0.0"
- }
- },
- "regjsgen": {
- "version": "0.6.0"
- },
- "regjsparser": {
- "version": "0.8.4",
- "requires": {
- "jsesc": "~0.5.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "0.5.0"
- }
- }
- },
"resolve": {
"version": "1.22.0",
"requires": {
@@ -6433,12 +3099,6 @@
"safer-buffer": {
"version": "2.1.2"
},
- "semver": {
- "version": "6.3.0"
- },
- "slash": {
- "version": "2.0.0"
- },
"source-map": {
"version": "0.5.7"
},
@@ -6518,13 +3178,6 @@
"to-fast-properties": {
"version": "2.0.0"
},
- "to-regex-range": {
- "version": "5.0.1",
- "optional": true,
- "requires": {
- "is-number": "^7.0.0"
- }
- },
"tr46": {
"version": "0.0.3"
},
@@ -6608,29 +3261,6 @@
}
}
},
- "unicode-canonical-property-names-ecmascript": {
- "version": "2.0.0"
- },
- "unicode-match-property-ecmascript": {
- "version": "2.0.0",
- "requires": {
- "unicode-canonical-property-names-ecmascript": "^2.0.0",
- "unicode-property-aliases-ecmascript": "^2.0.0"
- }
- },
- "unicode-match-property-value-ecmascript": {
- "version": "2.0.0"
- },
- "unicode-property-aliases-ecmascript": {
- "version": "2.0.0"
- },
- "update-browserslist-db": {
- "version": "1.0.5",
- "requires": {
- "escalade": "^3.1.1",
- "picocolors": "^1.0.0"
- }
- },
"util-deprecate": {
"version": "1.0.2"
},
@@ -6663,9 +3293,6 @@
}
}
},
- "wrappy": {
- "version": "1.0.2"
- },
"yaml": {
"version": "1.10.2"
},
diff --git a/packages/editor/package.json b/packages/editor/package.json
index e8f7bce1e..bce52dad9 100644
--- a/packages/editor/package.json
+++ b/packages/editor/package.json
@@ -14,8 +14,8 @@
"@mdi/react": "^1.6.0",
"@notesnook/theme": "*",
"@social-embed/lib": "^0.0.1-next.12",
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/components": "^0.14.7",
+ "@theme-ui/core": "^0.14.7",
"@tiptap/core": "^2.0.0-beta.181",
"@tiptap/extension-character-count": "^2.0.0-beta.31",
"@tiptap/extension-color": "^2.0.0-beta.12",
@@ -56,8 +56,8 @@
"devDependencies": {
"@types/katex": "^0.14.0",
"@types/prismjs": "^1.26.0",
- "@types/react-color": "^3.0.6",
"@types/react": "17.0.2",
+ "@types/react-color": "^3.0.6",
"@types/react-dom": "17.0.2",
"@types/react-modal": "^3.13.1",
"@types/tinycolor2": "^1.4.3",
diff --git a/packages/editor/scripts/langen.js b/packages/editor/scripts/langen.js
index 5f41071a6..7b35a2ef3 100644
--- a/packages/editor/scripts/langen.js
+++ b/packages/editor/scripts/langen.js
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/**
* Quick & dirty script to download & transform all language details from
diff --git a/packages/editor/src/components/action-sheet/index.tsx b/packages/editor/src/components/action-sheet/index.tsx
index 05791708f..c0f228fb9 100644
--- a/packages/editor/src/components/action-sheet/index.tsx
+++ b/packages/editor/src/components/action-sheet/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, {
PropsWithChildren,
@@ -24,7 +25,7 @@ import React, {
useEffect
} from "react";
import { MenuItem } from "../menu/types";
-import { Box, Button, Flex, Text, FlexProps } from "@streetwriters/rebass";
+import { Box, Button, Flex, Text, FlexProps } from "@theme-ui/components";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
import { MenuButton } from "../menu/menu-button";
diff --git a/packages/editor/src/components/button.tsx b/packages/editor/src/components/button.tsx
index f63b74b8b..30d01e252 100644
--- a/packages/editor/src/components/button.tsx
+++ b/packages/editor/src/components/button.tsx
@@ -1,24 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { forwardRef, useRef, ForwardedRef } from "react";
import { useEffect } from "react";
-import { Button as RebassButton, ButtonProps } from "@streetwriters/rebass";
+import { Button as RebassButton, ButtonProps } from "@theme-ui/components";
+import { ThemeUICSSObject } from "@theme-ui/core";
const _Button = (
props: ButtonProps,
@@ -27,8 +29,9 @@ const _Button = (
const { sx, ...buttonProps } = props;
const hoverBg =
- (sx as unknown as Record<string, never>)?.[":hover"]?.["bg"] || "hover";
- const bg = (sx as unknown as Record<string, never>)?.["bg"] || "unset";
+ (((sx as ThemeUICSSObject)?.[":hover"] as ThemeUICSSObject)
+ ?.bg as string) || "hover";
+ const bg = ((sx as ThemeUICSSObject)?.bg as string) || "unset";
const buttonRef = useRef<HTMLButtonElement>();
@@ -60,7 +63,7 @@ const _Button = (
":active": { bg: hoverBg }
}}
ref={(ref) => {
- buttonRef.current = ref;
+ buttonRef.current = ref || undefined;
if (typeof forwardedRef === "function") forwardedRef(ref);
else if (forwardedRef) forwardedRef.current = ref;
}}
diff --git a/packages/editor/src/components/inline-input/index.tsx b/packages/editor/src/components/inline-input/index.tsx
index 2ed073099..7914a9ca5 100644
--- a/packages/editor/src/components/inline-input/index.tsx
+++ b/packages/editor/src/components/inline-input/index.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Input, InputProps } from "@streetwriters/rebass-forms";
-import { Flex, FlexProps, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Input, InputProps } from "@theme-ui/components";
+import { Flex, FlexProps, Text } from "@theme-ui/components";
type LabelInputProps = InputProps & {
label: string;
diff --git a/packages/editor/src/components/menu/index.tsx b/packages/editor/src/components/menu/index.tsx
index 9e0927948..94a1f414c 100644
--- a/packages/editor/src/components/menu/index.tsx
+++ b/packages/editor/src/components/menu/index.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useRef, useEffect, PropsWithChildren } from "react";
-import { Box, Flex, FlexProps, Text } from "@streetwriters/rebass";
+import { Box, Flex, FlexProps, Text } from "@theme-ui/components";
import { getPosition } from "../../utils/position";
import {
MenuButton as MenuButtonType,
diff --git a/packages/editor/src/components/menu/menu-button.tsx b/packages/editor/src/components/menu/menu-button.tsx
index 8e46f4421..c06e08bf1 100644
--- a/packages/editor/src/components/menu/menu-button.tsx
+++ b/packages/editor/src/components/menu/menu-button.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
import { useToolbarLocation } from "../../toolbar/stores/toolbar-store";
diff --git a/packages/editor/src/components/menu/menu-separator.tsx b/packages/editor/src/components/menu/menu-separator.tsx
index b347269ac..ca9312396 100644
--- a/packages/editor/src/components/menu/menu-separator.tsx
+++ b/packages/editor/src/components/menu/menu-separator.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box } from "@theme-ui/components";
export function MenuSeparator() {
return (
diff --git a/packages/editor/src/components/menu/types.ts b/packages/editor/src/components/menu/types.ts
index dd4e32e36..2502b3ad7 100644
--- a/packages/editor/src/components/menu/types.ts
+++ b/packages/editor/src/components/menu/types.ts
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { SxStyleProp } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { ThemeUIStyleObject } from "@theme-ui/core";
import { IconNames } from "../../toolbar/icons";
export type MenuItemComponentProps = {
@@ -45,7 +46,7 @@ export type MenuButton = BaseMenuItem<"button"> & {
isChecked?: boolean;
modifier?: string;
menu?: { title: string; items: MenuItem[] };
- styles?: SxStyleProp;
+ styles?: ThemeUIStyleObject;
};
export type MenuItem = MenuButton | MenuSeperator | MenuPopup;
diff --git a/packages/editor/src/components/menu/use-focus.ts b/packages/editor/src/components/menu/use-focus.ts
index 52629d008..9b46794bb 100644
--- a/packages/editor/src/components/menu/use-focus.ts
+++ b/packages/editor/src/components/menu/use-focus.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useEffect, useState } from "react";
import { MenuButton, MenuItem } from "./types";
diff --git a/packages/editor/src/components/popup-presenter/index.tsx b/packages/editor/src/components/popup-presenter/index.tsx
index 124a758e8..6fb7d61f8 100644
--- a/packages/editor/src/components/popup-presenter/index.tsx
+++ b/packages/editor/src/components/popup-presenter/index.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useCallback, useRef, useEffect, PropsWithChildren } from "react";
-import { Box } from "@streetwriters/rebass";
+import { Box } from "@theme-ui/components";
import { getPosition, PositionOptions } from "../../utils/position";
import Modal from "react-modal";
import ReactDOM from "react-dom";
diff --git a/packages/editor/src/components/popup-presenter/popuprenderer.tsx b/packages/editor/src/components/popup-presenter/popuprenderer.tsx
index ec9d16ad1..081cf1591 100644
--- a/packages/editor/src/components/popup-presenter/popuprenderer.tsx
+++ b/packages/editor/src/components/popup-presenter/popuprenderer.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { PropsWithChildren, useContext } from "react";
import { Editor } from "@tiptap/core";
diff --git a/packages/editor/src/components/resizer/index.tsx b/packages/editor/src/components/resizer/index.tsx
index 07f16c077..c4d88815d 100644
--- a/packages/editor/src/components/resizer/index.tsx
+++ b/packages/editor/src/components/resizer/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { SchemeColors } from "@notesnook/theme/dist/theme/colorscheme";
import { Resizable } from "re-resizable";
diff --git a/packages/editor/src/components/responsive/index.tsx b/packages/editor/src/components/responsive/index.tsx
index d3ce05763..213e9f4da 100644
--- a/packages/editor/src/components/responsive/index.tsx
+++ b/packages/editor/src/components/responsive/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { PropsWithChildren } from "react";
import { useIsMobile } from "../../toolbar/stores/toolbar-store";
diff --git a/packages/editor/src/components/tabs/index.tsx b/packages/editor/src/components/tabs/index.tsx
index 59ad53d14..9d591ef3f 100644
--- a/packages/editor/src/components/tabs/index.tsx
+++ b/packages/editor/src/components/tabs/index.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { Children, PropsWithChildren, useMemo, useState } from "react";
-import { Button, Flex, FlexProps } from "@streetwriters/rebass";
+import { Button, Flex, FlexProps } from "@theme-ui/components";
export type TabProps = { title: string | React.ReactElement };
export function Tab(props: PropsWithChildren<TabProps>) {
diff --git a/packages/editor/src/components/theme-provider/index.tsx b/packages/editor/src/components/theme-provider/index.tsx
index e40d8502b..8e9d0632e 100644
--- a/packages/editor/src/components/theme-provider/index.tsx
+++ b/packages/editor/src/components/theme-provider/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ThemeProvider as EmotionThemeProvider } from "@emotion/react";
import { PropsWithChildren } from "react";
diff --git a/packages/editor/src/extensions.ts b/packages/editor/src/extensions.ts
index 10f92f3a7..44a0da302 100644
--- a/packages/editor/src/extensions.ts
+++ b/packages/editor/src/extensions.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "@tiptap/extension-character-count";
import "@tiptap/extension-placeholder";
diff --git a/packages/editor/src/extensions/attachment/attachment.ts b/packages/editor/src/extensions/attachment/attachment.ts
index a0e9aba9a..ce795ff70 100644
--- a/packages/editor/src/extensions/attachment/attachment.ts
+++ b/packages/editor/src/extensions/attachment/attachment.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes, findChildren, Editor } from "@tiptap/core";
import { Attribute } from "@tiptap/core";
diff --git a/packages/editor/src/extensions/attachment/component.tsx b/packages/editor/src/extensions/attachment/component.tsx
index 913a94eb1..3fb3cbef4 100644
--- a/packages/editor/src/extensions/attachment/component.tsx
+++ b/packages/editor/src/extensions/attachment/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Text } from "@theme-ui/components";
import { AttachmentWithProgress } from "./attachment";
import { useRef } from "react";
import { Icon } from "../../toolbar/components/icon";
diff --git a/packages/editor/src/extensions/attachment/index.ts b/packages/editor/src/extensions/attachment/index.ts
index 9b3b17803..93331ccbb 100644
--- a/packages/editor/src/extensions/attachment/index.ts
+++ b/packages/editor/src/extensions/attachment/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./attachment";
diff --git a/packages/editor/src/extensions/bullet-list/bullet-list.ts b/packages/editor/src/extensions/bullet-list/bullet-list.ts
index 9127c3953..ead563c18 100644
--- a/packages/editor/src/extensions/bullet-list/bullet-list.ts
+++ b/packages/editor/src/extensions/bullet-list/bullet-list.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import TiptapBulletList from "@tiptap/extension-bullet-list";
diff --git a/packages/editor/src/extensions/bullet-list/index.ts b/packages/editor/src/extensions/bullet-list/index.ts
index 811d1bfac..4aff024e6 100644
--- a/packages/editor/src/extensions/bullet-list/index.ts
+++ b/packages/editor/src/extensions/bullet-list/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { BulletList } from "./bullet-list";
diff --git a/packages/editor/src/extensions/clipboard-text-serializer/index.ts b/packages/editor/src/extensions/clipboard-text-serializer/index.ts
index 8c0f94e32..1f92fe588 100644
--- a/packages/editor/src/extensions/clipboard-text-serializer/index.ts
+++ b/packages/editor/src/extensions/clipboard-text-serializer/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Extension, TextSerializer } from "@tiptap/core";
import { Plugin, PluginKey } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/code-block/code-block.ts b/packages/editor/src/extensions/code-block/code-block.ts
index cb90a8e5b..9a96847b0 100644
--- a/packages/editor/src/extensions/code-block/code-block.ts
+++ b/packages/editor/src/extensions/code-block/code-block.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor, findParentNodeClosestToPos } from "@tiptap/core";
import { Node, textblockTypeInputRule, mergeAttributes } from "@tiptap/core";
diff --git a/packages/editor/src/extensions/code-block/component.tsx b/packages/editor/src/extensions/code-block/component.tsx
index bbb617d3b..818944fdf 100644
--- a/packages/editor/src/extensions/code-block/component.tsx
+++ b/packages/editor/src/extensions/code-block/component.tsx
@@ -1,27 +1,28 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef, useState } from "react";
import { isLanguageLoaded, loadLanguage } from "./loader";
import { refractor } from "refractor/lib/core";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import Languages from "./languages.json";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
import { CodeBlockAttributes } from "./code-block";
@@ -78,12 +79,13 @@ export function CodeblockComponent(
as="pre"
autoCorrect="off"
autoCapitalize="none"
+ css={{}}
sx={{
"div, span.token, span.line-number-widget, span.line-number::before":
{
fontFamily: "monospace",
fontSize: "code",
- whiteSpace: "pre !important",
+ whiteSpace: "pre", // TODO !important
tabSize: 1
},
position: "relative",
diff --git a/packages/editor/src/extensions/code-block/highlighter.ts b/packages/editor/src/extensions/code-block/highlighter.ts
index 2ffca7aad..079ccc182 100644
--- a/packages/editor/src/extensions/code-block/highlighter.ts
+++ b/packages/editor/src/extensions/code-block/highlighter.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Plugin, PluginKey } from "prosemirror-state";
import { Decoration, DecorationSet } from "prosemirror-view";
diff --git a/packages/editor/src/extensions/code-block/index.ts b/packages/editor/src/extensions/code-block/index.ts
index 3b0ab8572..4e4e15d60 100644
--- a/packages/editor/src/extensions/code-block/index.ts
+++ b/packages/editor/src/extensions/code-block/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./code-block";
diff --git a/packages/editor/src/extensions/code-block/loader.ts b/packages/editor/src/extensions/code-block/loader.ts
index 96d629e8e..8313e4fec 100644
--- a/packages/editor/src/extensions/code-block/loader.ts
+++ b/packages/editor/src/extensions/code-block/loader.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Syntax } from "refractor";
diff --git a/packages/editor/src/extensions/code-mark/code-mark.ts b/packages/editor/src/extensions/code-mark/code-mark.ts
index 9706dfdfb..fb7142aaf 100644
--- a/packages/editor/src/extensions/code-mark/code-mark.ts
+++ b/packages/editor/src/extensions/code-mark/code-mark.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Extension } from "@tiptap/core";
import codemark from "prosemirror-codemark";
diff --git a/packages/editor/src/extensions/code-mark/index.ts b/packages/editor/src/extensions/code-mark/index.ts
index 8ebbc9086..0b816c5d9 100644
--- a/packages/editor/src/extensions/code-mark/index.ts
+++ b/packages/editor/src/extensions/code-mark/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./code-mark";
export { Codemark as default } from "./code-mark";
diff --git a/packages/editor/src/extensions/date-time/date-time.ts b/packages/editor/src/extensions/date-time/date-time.ts
index 177733a34..ad63c255b 100644
--- a/packages/editor/src/extensions/date-time/date-time.ts
+++ b/packages/editor/src/extensions/date-time/date-time.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Extension,
diff --git a/packages/editor/src/extensions/date-time/index.ts b/packages/editor/src/extensions/date-time/index.ts
index ed28fb663..f7507772c 100644
--- a/packages/editor/src/extensions/date-time/index.ts
+++ b/packages/editor/src/extensions/date-time/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./date-time";
export { DateTime as default } from "./date-time";
diff --git a/packages/editor/src/extensions/embed/component.tsx b/packages/editor/src/extensions/embed/component.tsx
index b156bf6f7..0941a6ba8 100644
--- a/packages/editor/src/extensions/embed/component.tsx
+++ b/packages/editor/src/extensions/embed/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Flex } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Embed } from "@theme-ui/components";
import { useRef, useState } from "react";
import { EmbedAlignmentOptions, EmbedAttributes } from "./embed";
import { SelectionBasedReactNodeViewProps } from "../react";
@@ -32,7 +33,7 @@ export function EmbedComponent(
) {
const { editor, updateAttributes, selected, node } = props;
const [isLoading, setIsLoading] = useState(true);
- const embedRef = useRef<HTMLIFrameElement>();
+ const embedRef = useRef<HTMLIFrameElement>(null);
const { src, width, height, align } = node.attrs;
return (
@@ -63,8 +64,8 @@ export function EmbedComponent(
}}
>
<Box
- width={"100%"}
sx={{
+ width: "100%",
display: editor.isEditable ? "flex" : "none",
position: "absolute",
top: -24,
@@ -111,8 +112,7 @@ export function EmbedComponent(
)}
</DesktopOnly>
</Box>
- <Box
- as="iframe"
+ <Embed
ref={embedRef}
src={src}
width={"100%"}
diff --git a/packages/editor/src/extensions/embed/embed.ts b/packages/editor/src/extensions/embed/embed.ts
index 8b8bfb09c..337698c50 100644
--- a/packages/editor/src/extensions/embed/embed.ts
+++ b/packages/editor/src/extensions/embed/embed.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes } from "@tiptap/core";
import { createSelectionBasedNodeView } from "../react";
diff --git a/packages/editor/src/extensions/embed/index.ts b/packages/editor/src/extensions/embed/index.ts
index a04f91ad6..01d2afb13 100644
--- a/packages/editor/src/extensions/embed/index.ts
+++ b/packages/editor/src/extensions/embed/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./embed";
diff --git a/packages/editor/src/extensions/font-size/font-size.ts b/packages/editor/src/extensions/font-size/font-size.ts
index 9d694d49a..f0fbeb8e2 100644
--- a/packages/editor/src/extensions/font-size/font-size.ts
+++ b/packages/editor/src/extensions/font-size/font-size.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Extension } from "@tiptap/core";
import "@tiptap/extension-text-style";
diff --git a/packages/editor/src/extensions/font-size/index.ts b/packages/editor/src/extensions/font-size/index.ts
index d107c61d8..446cc3ed6 100644
--- a/packages/editor/src/extensions/font-size/index.ts
+++ b/packages/editor/src/extensions/font-size/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { FontSize } from "./font-size";
diff --git a/packages/editor/src/extensions/highlight/highlight.ts b/packages/editor/src/extensions/highlight/highlight.ts
index 8660264ed..264318635 100644
--- a/packages/editor/src/extensions/highlight/highlight.ts
+++ b/packages/editor/src/extensions/highlight/highlight.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "@tiptap/extension-text-style";
import { Extension } from "@tiptap/core";
diff --git a/packages/editor/src/extensions/highlight/index.ts b/packages/editor/src/extensions/highlight/index.ts
index 03e2ade2e..c753ec9de 100644
--- a/packages/editor/src/extensions/highlight/index.ts
+++ b/packages/editor/src/extensions/highlight/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./highlight";
diff --git a/packages/editor/src/extensions/image/component.tsx b/packages/editor/src/extensions/image/component.tsx
index de38ed68f..47fffab2e 100644
--- a/packages/editor/src/extensions/image/component.tsx
+++ b/packages/editor/src/extensions/image/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Button, Flex, Image, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Button, Flex, Image, Text } from "@theme-ui/components";
import { ImageAlignmentOptions, ImageAttributes } from "./image";
import { useEffect, useRef, useState } from "react";
import { SelectionBasedReactNodeViewProps } from "../react";
@@ -43,7 +44,7 @@ export function ImageComponent(
const { src, alt, title, width, height, align } = node.attrs;
const float = isMobile ? false : node.attrs.float;
- const imageRef = useRef<HTMLImageElement>();
+ const imageRef = useRef<HTMLImageElement>(null);
const [error, setError] = useState<string>();
const [source, setSource] = useState<string>();
@@ -94,10 +95,10 @@ export function ImageComponent(
>
{!source || error ? (
<Flex
- width={width}
- maxWidth="100%"
- minWidth={135}
sx={{
+ width,
+ maxWidth: "100%",
+ minWidth: 135,
bg: "bgSecondary",
border: selected
? "2px solid var(--primary)"
diff --git a/packages/editor/src/extensions/image/image.ts b/packages/editor/src/extensions/image/image.ts
index ffb5ff9a7..e35c6cc21 100644
--- a/packages/editor/src/extensions/image/image.ts
+++ b/packages/editor/src/extensions/image/image.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Node,
@@ -117,7 +118,7 @@ export const ImageNode = Node.create<ImageOptions>({
parseHTML() {
return [
{
- tag: this.options.allowBase64 ? "img" : "img:not([src^=\"data:\"])"
+ tag: this.options.allowBase64 ? "img" : 'img:not([src^="data:"])'
}
];
},
diff --git a/packages/editor/src/extensions/image/index.ts b/packages/editor/src/extensions/image/index.ts
index fa6a7bbbf..1ec1bbf3d 100644
--- a/packages/editor/src/extensions/image/index.ts
+++ b/packages/editor/src/extensions/image/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./image";
diff --git a/packages/editor/src/extensions/keep-in-view/index.ts b/packages/editor/src/extensions/keep-in-view/index.ts
index 676deedbc..6364a2f53 100644
--- a/packages/editor/src/extensions/keep-in-view/index.ts
+++ b/packages/editor/src/extensions/keep-in-view/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./keep-in-view";
diff --git a/packages/editor/src/extensions/keep-in-view/keep-in-view.ts b/packages/editor/src/extensions/keep-in-view/keep-in-view.ts
index 10ef90a3f..fc805bbc0 100644
--- a/packages/editor/src/extensions/keep-in-view/keep-in-view.ts
+++ b/packages/editor/src/extensions/keep-in-view/keep-in-view.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor, Extension, posToDOMRect } from "@tiptap/core";
diff --git a/packages/editor/src/extensions/list-item/commands.ts b/packages/editor/src/extensions/list-item/commands.ts
index ad2556a86..f73088457 100644
--- a/packages/editor/src/extensions/list-item/commands.ts
+++ b/packages/editor/src/extensions/list-item/commands.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EditorState } from "prosemirror-state";
import { NodeType } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/list-item/index.ts b/packages/editor/src/extensions/list-item/index.ts
index e5208c485..5a3e16c1f 100644
--- a/packages/editor/src/extensions/list-item/index.ts
+++ b/packages/editor/src/extensions/list-item/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./list-item";
diff --git a/packages/editor/src/extensions/list-item/list-item.ts b/packages/editor/src/extensions/list-item/list-item.ts
index a6bec8488..abea0a426 100644
--- a/packages/editor/src/extensions/list-item/list-item.ts
+++ b/packages/editor/src/extensions/list-item/list-item.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ListItem as TiptapListItem } from "@tiptap/extension-list-item";
import { onBackspacePressed } from "./commands";
diff --git a/packages/editor/src/extensions/math/index.ts b/packages/editor/src/extensions/math/index.ts
index f7b006fb9..b89ffbe32 100644
--- a/packages/editor/src/extensions/math/index.ts
+++ b/packages/editor/src/extensions/math/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export { MathInline } from "./math-inline";
export { MathBlock } from "./math-block";
diff --git a/packages/editor/src/extensions/math/math-block.ts b/packages/editor/src/extensions/math/math-block.ts
index 22546bde3..e132d9c92 100644
--- a/packages/editor/src/extensions/math/math-block.ts
+++ b/packages/editor/src/extensions/math/math-block.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes } from "@tiptap/core";
import { insertMathNode } from "./plugin";
diff --git a/packages/editor/src/extensions/math/math-inline.ts b/packages/editor/src/extensions/math/math-inline.ts
index 782af57d0..5a0fa1986 100644
--- a/packages/editor/src/extensions/math/math-inline.ts
+++ b/packages/editor/src/extensions/math/math-inline.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes } from "@tiptap/core";
import { mathPlugin } from "./plugin";
diff --git a/packages/editor/src/extensions/math/plugin/commands/collapse-math-node.ts b/packages/editor/src/extensions/math/plugin/commands/collapse-math-node.ts
index 0899d84a2..b3129eb86 100644
--- a/packages/editor/src/extensions/math/plugin/commands/collapse-math-node.ts
+++ b/packages/editor/src/extensions/math/plugin/commands/collapse-math-node.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Command } from "prosemirror-state";
import { EditorState, TextSelection, Transaction } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/math/plugin/commands/insert-math-node.ts b/packages/editor/src/extensions/math/plugin/commands/insert-math-node.ts
index 4b00754e8..f3d433805 100644
--- a/packages/editor/src/extensions/math/plugin/commands/insert-math-node.ts
+++ b/packages/editor/src/extensions/math/plugin/commands/insert-math-node.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Command } from "prosemirror-state";
import { NodeType } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/math/plugin/commands/move-cursor-cmd.ts b/packages/editor/src/extensions/math/plugin/commands/move-cursor-cmd.ts
index 0c79307d0..678fc816c 100644
--- a/packages/editor/src/extensions/math/plugin/commands/move-cursor-cmd.ts
+++ b/packages/editor/src/extensions/math/plugin/commands/move-cursor-cmd.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Command } from "prosemirror-state";
import { EditorState, TextSelection, Transaction } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/math/plugin/index.ts b/packages/editor/src/extensions/math/plugin/index.ts
index 33b51179c..1613d4e9b 100644
--- a/packages/editor/src/extensions/math/plugin/index.ts
+++ b/packages/editor/src/extensions/math/plugin/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*---------------------------------------------------------
* Author: Benjamin R. Bray
diff --git a/packages/editor/src/extensions/math/plugin/math-node-view.ts b/packages/editor/src/extensions/math/plugin/math-node-view.ts
index 76f117d7f..ee58e2a07 100644
--- a/packages/editor/src/extensions/math/plugin/math-node-view.ts
+++ b/packages/editor/src/extensions/math/plugin/math-node-view.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*---------------------------------------------------------
* Author: Benjamin R. Bray
diff --git a/packages/editor/src/extensions/math/plugin/math-plugin.ts b/packages/editor/src/extensions/math/plugin/math-plugin.ts
index 47b8c6a3e..43b119a12 100644
--- a/packages/editor/src/extensions/math/plugin/math-plugin.ts
+++ b/packages/editor/src/extensions/math/plugin/math-plugin.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*---------------------------------------------------------
* Author: Benjamin R. Bray
diff --git a/packages/editor/src/extensions/math/plugin/plugins/math-backspace.ts b/packages/editor/src/extensions/math/plugin/plugins/math-backspace.ts
index aec7b2ee2..aad636b8b 100644
--- a/packages/editor/src/extensions/math/plugin/plugins/math-backspace.ts
+++ b/packages/editor/src/extensions/math/plugin/plugins/math-backspace.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { NodeSelection } from "prosemirror-state";
import { Command as ProseCommand } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/math/plugin/plugins/math-paste-rules.ts b/packages/editor/src/extensions/math/plugin/plugins/math-paste-rules.ts
index 45780d064..0d65a52d1 100644
--- a/packages/editor/src/extensions/math/plugin/plugins/math-paste-rules.ts
+++ b/packages/editor/src/extensions/math/plugin/plugins/math-paste-rules.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/**
* Note that for some of the `ParseRule`s defined below,
diff --git a/packages/editor/src/extensions/math/plugin/plugins/math-select.ts b/packages/editor/src/extensions/math/plugin/plugins/math-select.ts
index a960bfc5b..3cc36f0ef 100644
--- a/packages/editor/src/extensions/math/plugin/plugins/math-select.ts
+++ b/packages/editor/src/extensions/math/plugin/plugins/math-select.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
/*---------------------------------------------------------
* Author: Benjamin R. Bray
diff --git a/packages/editor/src/extensions/math/plugin/renderers/katex.ts b/packages/editor/src/extensions/math/plugin/renderers/katex.ts
index dd91c9854..187f0947b 100644
--- a/packages/editor/src/extensions/math/plugin/renderers/katex.ts
+++ b/packages/editor/src/extensions/math/plugin/renderers/katex.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { MathRenderer } from "./types";
diff --git a/packages/editor/src/extensions/math/plugin/renderers/types.ts b/packages/editor/src/extensions/math/plugin/renderers/types.ts
index f513e5a08..a15d408de 100644
--- a/packages/editor/src/extensions/math/plugin/renderers/types.ts
+++ b/packages/editor/src/extensions/math/plugin/renderers/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export type MathRenderFn = (text: string, element: HTMLElement) => void;
export type MathRenderer = {
diff --git a/packages/editor/src/extensions/math/plugin/utils/text-serializer.ts b/packages/editor/src/extensions/math/plugin/utils/text-serializer.ts
index b15d85add..60aaa6243 100644
--- a/packages/editor/src/extensions/math/plugin/utils/text-serializer.ts
+++ b/packages/editor/src/extensions/math/plugin/utils/text-serializer.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
Node as ProseNode,
diff --git a/packages/editor/src/extensions/math/plugin/utils/types.ts b/packages/editor/src/extensions/math/plugin/utils/types.ts
index 6e8158949..184ca55a3 100644
--- a/packages/editor/src/extensions/math/plugin/utils/types.ts
+++ b/packages/editor/src/extensions/math/plugin/utils/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Schema, SchemaSpec } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/ordered-list/index.ts b/packages/editor/src/extensions/ordered-list/index.ts
index 914261cf2..0793a9afc 100644
--- a/packages/editor/src/extensions/ordered-list/index.ts
+++ b/packages/editor/src/extensions/ordered-list/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { OrderedList } from "./ordered-list";
diff --git a/packages/editor/src/extensions/ordered-list/ordered-list.ts b/packages/editor/src/extensions/ordered-list/ordered-list.ts
index 419b6d3f9..dfc41c743 100644
--- a/packages/editor/src/extensions/ordered-list/ordered-list.ts
+++ b/packages/editor/src/extensions/ordered-list/ordered-list.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import TiptapOrderedList from "@tiptap/extension-ordered-list";
diff --git a/packages/editor/src/extensions/outline-list-item/component.tsx b/packages/editor/src/extensions/outline-list-item/component.tsx
index e8099a39c..801ab290a 100644
--- a/packages/editor/src/extensions/outline-list-item/component.tsx
+++ b/packages/editor/src/extensions/outline-list-item/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
import { ReactNodeViewProps } from "../react";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
diff --git a/packages/editor/src/extensions/outline-list-item/index.ts b/packages/editor/src/extensions/outline-list-item/index.ts
index 364d03cc9..b9544bbd2 100644
--- a/packages/editor/src/extensions/outline-list-item/index.ts
+++ b/packages/editor/src/extensions/outline-list-item/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./outline-list-item";
diff --git a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts b/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
index 3b8c021e2..002a5ef5e 100644
--- a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
+++ b/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes, findChildren, Editor } from "@tiptap/core";
import { NodeType } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/outline-list/component.tsx b/packages/editor/src/extensions/outline-list/component.tsx
index 4bd3e90aa..c254e6bc2 100644
--- a/packages/editor/src/extensions/outline-list/component.tsx
+++ b/packages/editor/src/extensions/outline-list/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Text } from "@theme-ui/components";
import { ReactNodeViewProps } from "../react";
import { useMemo } from "react";
import { OutlineListAttributes } from "./outline-list";
diff --git a/packages/editor/src/extensions/outline-list/index.ts b/packages/editor/src/extensions/outline-list/index.ts
index ed8ecd8b8..c122b78ff 100644
--- a/packages/editor/src/extensions/outline-list/index.ts
+++ b/packages/editor/src/extensions/outline-list/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./outline-list";
diff --git a/packages/editor/src/extensions/outline-list/outline-list.ts b/packages/editor/src/extensions/outline-list/outline-list.ts
index b09d2626f..dcf82924c 100644
--- a/packages/editor/src/extensions/outline-list/outline-list.ts
+++ b/packages/editor/src/extensions/outline-list/outline-list.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Node, mergeAttributes, wrappingInputRule } from "@tiptap/core";
import { createNodeView } from "../react";
diff --git a/packages/editor/src/extensions/paragraph/index.ts b/packages/editor/src/extensions/paragraph/index.ts
index 73d9bc2eb..c19e2d993 100644
--- a/packages/editor/src/extensions/paragraph/index.ts
+++ b/packages/editor/src/extensions/paragraph/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./paragraph";
diff --git a/packages/editor/src/extensions/paragraph/paragraph.ts b/packages/editor/src/extensions/paragraph/paragraph.ts
index 3b6c449f5..a9638acef 100644
--- a/packages/editor/src/extensions/paragraph/paragraph.ts
+++ b/packages/editor/src/extensions/paragraph/paragraph.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor, mergeAttributes, Node } from "@tiptap/core";
import { NodeType } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/react/event-dispatcher.ts b/packages/editor/src/extensions/react/event-dispatcher.ts
index f06320487..11fce21f0 100644
--- a/packages/editor/src/extensions/react/event-dispatcher.ts
+++ b/packages/editor/src/extensions/react/event-dispatcher.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { PluginKey } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/react/index.ts b/packages/editor/src/extensions/react/index.ts
index 696acaa90..da41db2e2 100644
--- a/packages/editor/src/extensions/react/index.ts
+++ b/packages/editor/src/extensions/react/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./react-node-view";
export * from "./types";
diff --git a/packages/editor/src/extensions/react/plugin.ts b/packages/editor/src/extensions/react/plugin.ts
index 4722a8774..2eaedb258 100644
--- a/packages/editor/src/extensions/react/plugin.ts
+++ b/packages/editor/src/extensions/react/plugin.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Plugin, PluginKey } from "prosemirror-state";
import { EditorView } from "prosemirror-view";
diff --git a/packages/editor/src/extensions/react/react-node-view.tsx b/packages/editor/src/extensions/react/react-node-view.tsx
index ec075a169..3749233a7 100644
--- a/packages/editor/src/extensions/react/react-node-view.tsx
+++ b/packages/editor/src/extensions/react/react-node-view.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { SyntheticEvent } from "react";
import { NodeView, Decoration, DecorationSource } from "prosemirror-view";
diff --git a/packages/editor/src/extensions/react/react-portal-provider.tsx b/packages/editor/src/extensions/react/react-portal-provider.tsx
index 156e0f6c5..911c517b5 100644
--- a/packages/editor/src/extensions/react/react-portal-provider.tsx
+++ b/packages/editor/src/extensions/react/react-portal-provider.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React, { PropsWithChildren, useContext } from "react";
import {
diff --git a/packages/editor/src/extensions/react/selection-based-react-node-view.tsx b/packages/editor/src/extensions/react/selection-based-react-node-view.tsx
index 7ca629a9a..625d29386 100644
--- a/packages/editor/src/extensions/react/selection-based-react-node-view.tsx
+++ b/packages/editor/src/extensions/react/selection-based-react-node-view.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { DecorationSet } from "prosemirror-view";
diff --git a/packages/editor/src/extensions/react/types.ts b/packages/editor/src/extensions/react/types.ts
index 7a9e3aa7d..4a2c11faa 100644
--- a/packages/editor/src/extensions/react/types.ts
+++ b/packages/editor/src/extensions/react/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "../../types";
import { Node as PMNode, Attrs } from "prosemirror-model";
diff --git a/packages/editor/src/extensions/search-replace/index.ts b/packages/editor/src/extensions/search-replace/index.ts
index d29e8126f..8c1610b29 100644
--- a/packages/editor/src/extensions/search-replace/index.ts
+++ b/packages/editor/src/extensions/search-replace/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./search-replace";
diff --git a/packages/editor/src/extensions/search-replace/search-replace.ts b/packages/editor/src/extensions/search-replace/search-replace.ts
index c3f6689ed..359d032f5 100644
--- a/packages/editor/src/extensions/search-replace/search-replace.ts
+++ b/packages/editor/src/extensions/search-replace/search-replace.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor, Extension } from "@tiptap/core";
import { Decoration, DecorationSet } from "prosemirror-view";
diff --git a/packages/editor/src/extensions/selection-persist/index.ts b/packages/editor/src/extensions/selection-persist/index.ts
index a31aa1e05..cd6905d4e 100644
--- a/packages/editor/src/extensions/selection-persist/index.ts
+++ b/packages/editor/src/extensions/selection-persist/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./selection-persist";
diff --git a/packages/editor/src/extensions/selection-persist/selection-persist.ts b/packages/editor/src/extensions/selection-persist/selection-persist.ts
index 9e7ef5345..afb8e1028 100644
--- a/packages/editor/src/extensions/selection-persist/selection-persist.ts
+++ b/packages/editor/src/extensions/selection-persist/selection-persist.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Extension } from "@tiptap/core";
import { Plugin, PluginKey } from "prosemirror-state";
diff --git a/packages/editor/src/extensions/table-cell/index.ts b/packages/editor/src/extensions/table-cell/index.ts
index 0c082d7dd..ea3f1700c 100644
--- a/packages/editor/src/extensions/table-cell/index.ts
+++ b/packages/editor/src/extensions/table-cell/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { TableCell } from "./table-cell";
diff --git a/packages/editor/src/extensions/table-cell/table-cell.ts b/packages/editor/src/extensions/table-cell/table-cell.ts
index 4de434bc5..4ce0ac4db 100644
--- a/packages/editor/src/extensions/table-cell/table-cell.ts
+++ b/packages/editor/src/extensions/table-cell/table-cell.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import TiptapTableCell from "@tiptap/extension-table-cell";
import { Attribute } from "@tiptap/core";
diff --git a/packages/editor/src/extensions/table/actions.ts b/packages/editor/src/extensions/table/actions.ts
index 01778c721..3164a9545 100644
--- a/packages/editor/src/extensions/table/actions.ts
+++ b/packages/editor/src/extensions/table/actions.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "@tiptap/core";
import { selectedRect, TableRect } from "@_ueberdosis/prosemirror-tables";
diff --git a/packages/editor/src/extensions/table/component.tsx b/packages/editor/src/extensions/table/component.tsx
index 3ef5a9fbf..267c23062 100644
--- a/packages/editor/src/extensions/table/component.tsx
+++ b/packages/editor/src/extensions/table/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Flex } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex } from "@theme-ui/components";
import {
SelectionBasedNodeView,
SelectionBasedReactNodeViewProps
diff --git a/packages/editor/src/extensions/table/index.ts b/packages/editor/src/extensions/table/index.ts
index 3afed81d4..d22707441 100644
--- a/packages/editor/src/extensions/table/index.ts
+++ b/packages/editor/src/extensions/table/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./table";
diff --git a/packages/editor/src/extensions/table/table.ts b/packages/editor/src/extensions/table/table.ts
index 8152d94fc..027b9050b 100644
--- a/packages/editor/src/extensions/table/table.ts
+++ b/packages/editor/src/extensions/table/table.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Table as TiptapTable, TableOptions } from "@tiptap/extension-table";
import { columnResizing, tableEditing } from "@_ueberdosis/prosemirror-tables";
diff --git a/packages/editor/src/extensions/task-item/component.tsx b/packages/editor/src/extensions/task-item/component.tsx
index b17335722..11129cfb3 100644
--- a/packages/editor/src/extensions/task-item/component.tsx
+++ b/packages/editor/src/extensions/task-item/component.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import { ReactNodeViewProps } from "../react";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
diff --git a/packages/editor/src/extensions/task-item/index.ts b/packages/editor/src/extensions/task-item/index.ts
index 300432439..335f55d44 100644
--- a/packages/editor/src/extensions/task-item/index.ts
+++ b/packages/editor/src/extensions/task-item/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./task-item";
diff --git a/packages/editor/src/extensions/task-item/task-item.ts b/packages/editor/src/extensions/task-item/task-item.ts
index e91979cd4..b8063b44c 100644
--- a/packages/editor/src/extensions/task-item/task-item.ts
+++ b/packages/editor/src/extensions/task-item/task-item.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { mergeAttributes } from "@tiptap/core";
import { onBackspacePressed } from "../list-item/commands";
diff --git a/packages/editor/src/extensions/task-list/component.tsx b/packages/editor/src/extensions/task-list/component.tsx
index f0ee9fee3..47b9129b8 100644
--- a/packages/editor/src/extensions/task-list/component.tsx
+++ b/packages/editor/src/extensions/task-list/component.tsx
@@ -1,29 +1,30 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Box, Flex, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
import { ReactNodeViewProps } from "../react";
import { Node } from "prosemirror-model";
import { findChildren, getNodeType } from "@tiptap/core";
import { Icon } from "../../toolbar/components/icon";
import { Icons } from "../../toolbar/icons";
import { useCallback, useEffect, useMemo, useState } from "react";
-import { Input } from "@streetwriters/rebass-forms";
+import { Input } from "@theme-ui/components";
import { TaskItemNode } from "../task-item";
import { TaskListAttributes } from "./task-list";
import { findParentNodeOfTypeClosestToPos } from "prosemirror-utils";
diff --git a/packages/editor/src/extensions/task-list/index.ts b/packages/editor/src/extensions/task-list/index.ts
index 4eb625f3b..8f35e36b9 100644
--- a/packages/editor/src/extensions/task-list/index.ts
+++ b/packages/editor/src/extensions/task-list/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./task-list";
diff --git a/packages/editor/src/extensions/task-list/task-list.ts b/packages/editor/src/extensions/task-list/task-list.ts
index c1b6c0ba8..a9deb42b4 100644
--- a/packages/editor/src/extensions/task-list/task-list.ts
+++ b/packages/editor/src/extensions/task-list/task-list.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { mergeAttributes } from "@tiptap/core";
import { TaskList } from "@tiptap/extension-task-list";
diff --git a/packages/editor/src/extensions/text-direction/index.ts b/packages/editor/src/extensions/text-direction/index.ts
index 83f4688d4..0ec57627e 100644
--- a/packages/editor/src/extensions/text-direction/index.ts
+++ b/packages/editor/src/extensions/text-direction/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { TextDirection } from "./text-direction";
diff --git a/packages/editor/src/extensions/text-direction/text-direction.ts b/packages/editor/src/extensions/text-direction/text-direction.ts
index 087edbcf6..8a8b3191a 100644
--- a/packages/editor/src/extensions/text-direction/text-direction.ts
+++ b/packages/editor/src/extensions/text-direction/text-direction.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Extension } from "@tiptap/core";
import "@tiptap/extension-text-style";
diff --git a/packages/editor/src/hooks/use-editor.ts b/packages/editor/src/hooks/use-editor.ts
index 473523328..cc6324f9b 100644
--- a/packages/editor/src/hooks/use-editor.ts
+++ b/packages/editor/src/hooks/use-editor.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { EditorOptions } from "@tiptap/core";
import { DependencyList, useEffect, useRef, useState } from "react";
diff --git a/packages/editor/src/hooks/use-permission-handler.ts b/packages/editor/src/hooks/use-permission-handler.ts
index a10238df4..ac455cb94 100644
--- a/packages/editor/src/hooks/use-permission-handler.ts
+++ b/packages/editor/src/hooks/use-permission-handler.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { UnionCommands } from "@tiptap/core";
import { useEffect } from "react";
diff --git a/packages/editor/src/hooks/use-ref-value.ts b/packages/editor/src/hooks/use-ref-value.ts
index 9a5f70246..1b6c1709e 100644
--- a/packages/editor/src/hooks/use-ref-value.ts
+++ b/packages/editor/src/hooks/use-ref-value.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef } from "react";
diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.ts
index 6c748ab8d..1889b7b2b 100644
--- a/packages/editor/src/index.ts
+++ b/packages/editor/src/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import "./extensions";
import CharacterCount from "@tiptap/extension-character-count";
diff --git a/packages/editor/src/toolbar/components/counter.tsx b/packages/editor/src/toolbar/components/counter.tsx
index 1183910e8..bde273b9e 100644
--- a/packages/editor/src/toolbar/components/counter.tsx
+++ b/packages/editor/src/toolbar/components/counter.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import { Button } from "../../components/button";
import { ToolButton } from "./tool-button";
diff --git a/packages/editor/src/toolbar/components/dropdown.tsx b/packages/editor/src/toolbar/components/dropdown.tsx
index 7e7f42a85..41022e1d4 100644
--- a/packages/editor/src/toolbar/components/dropdown.tsx
+++ b/packages/editor/src/toolbar/components/dropdown.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef, useState } from "react";
-import { Text } from "@streetwriters/rebass";
+import { Text } from "@theme-ui/components";
import { Icon } from "./icon";
import { Icons } from "../icons";
// import { MenuPresenter, MenuPresenterProps } from "../../components/menu/menu";
diff --git a/packages/editor/src/toolbar/components/icon.tsx b/packages/editor/src/toolbar/components/icon.tsx
index a0ba05e6c..8beb0bc46 100644
--- a/packages/editor/src/toolbar/components/icon.tsx
+++ b/packages/editor/src/toolbar/components/icon.tsx
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import MDIIcon from "@mdi/react";
import { Theme } from "@notesnook/theme";
import { SchemeColors } from "@notesnook/theme/dist/theme/colorscheme";
-import { Flex, FlexProps } from "@streetwriters/rebass";
+import { Flex, FlexProps } from "@theme-ui/components";
import { useTheme } from "@emotion/react";
type IconProps = {
diff --git a/packages/editor/src/toolbar/components/more-tools.tsx b/packages/editor/src/toolbar/components/more-tools.tsx
index ab8ce0764..5c729b38d 100644
--- a/packages/editor/src/toolbar/components/more-tools.tsx
+++ b/packages/editor/src/toolbar/components/more-tools.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useRef, useState } from "react";
import { PopupWrapper } from "../../components/popup-presenter";
@@ -34,7 +35,7 @@ export function MoreTools(props: MoreToolsProps) {
const { popupId, editor, tools, autoCloseOnUnmount } = props;
const toolbarLocation = useToolbarLocation();
const isBottom = toolbarLocation === "bottom";
- const buttonRef = useRef<HTMLButtonElement | null>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
const [isOpen, setIsOpen] = useState(false);
return (
diff --git a/packages/editor/src/toolbar/components/popup.tsx b/packages/editor/src/toolbar/components/popup.tsx
index 96f42ae8b..1b9a17655 100644
--- a/packages/editor/src/toolbar/components/popup.tsx
+++ b/packages/editor/src/toolbar/components/popup.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Button, Flex, Text } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Button, Flex, Text } from "@theme-ui/components";
import { Icon } from "./icon";
import { Icons } from "../icons";
import { PropsWithChildren } from "react";
diff --git a/packages/editor/src/toolbar/components/split-button.tsx b/packages/editor/src/toolbar/components/split-button.tsx
index a5f459b61..72d2b0c54 100644
--- a/packages/editor/src/toolbar/components/split-button.tsx
+++ b/packages/editor/src/toolbar/components/split-button.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { PropsWithChildren, useRef } from "react";
-import { Flex } from "@streetwriters/rebass";
+import { Flex } from "@theme-ui/components";
import { Icons } from "../icons";
import { Icon } from "./icon";
import { ToolButton, ToolButtonProps } from "./tool-button";
diff --git a/packages/editor/src/toolbar/components/tool-button.tsx b/packages/editor/src/toolbar/components/tool-button.tsx
index f08287b40..704f9fb02 100644
--- a/packages/editor/src/toolbar/components/tool-button.tsx
+++ b/packages/editor/src/toolbar/components/tool-button.tsx
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Theme } from "@notesnook/theme";
import { SchemeColors } from "@notesnook/theme/dist/theme/colorscheme";
import React from "react";
-import { ButtonProps } from "@streetwriters/rebass";
+import { ButtonProps } from "@theme-ui/components";
import { IconNames, Icons } from "../icons";
import { ToolButtonVariant } from "../types";
import { Button } from "../../components/button";
@@ -30,7 +31,7 @@ export type ToolButtonProps = ButtonProps & {
iconColor?: keyof SchemeColors;
iconSize?: keyof Theme["iconSizes"] | number;
toggled: boolean;
- buttonRef?: React.MutableRefObject<HTMLButtonElement | null | undefined>;
+ buttonRef?: React.RefObject<HTMLButtonElement>;
variant?: ToolButtonVariant;
};
export const ToolButton = React.memo(
diff --git a/packages/editor/src/toolbar/components/toolbar-group.tsx b/packages/editor/src/toolbar/components/toolbar-group.tsx
index 877cf0c17..705543dc1 100644
--- a/packages/editor/src/toolbar/components/toolbar-group.tsx
+++ b/packages/editor/src/toolbar/components/toolbar-group.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolbarGroupDefinition, ToolButtonVariant } from "../types";
import { findTool } from "../tools";
-import { Flex, FlexProps } from "@streetwriters/rebass";
+import { Flex, FlexProps } from "@theme-ui/components";
import { Editor } from "../../types";
import { MoreTools } from "./more-tools";
import { getToolDefinition } from "../tool-definitions";
diff --git a/packages/editor/src/toolbar/floating-menus/hover-popup/index.tsx b/packages/editor/src/toolbar/floating-menus/hover-popup/index.tsx
index 5298cf7ef..b29ef9d6e 100644
--- a/packages/editor/src/toolbar/floating-menus/hover-popup/index.tsx
+++ b/packages/editor/src/toolbar/floating-menus/hover-popup/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useEffect, useRef } from "react";
import { showPopup } from "../../../components/popup-presenter";
diff --git a/packages/editor/src/toolbar/floating-menus/hover-popup/link.tsx b/packages/editor/src/toolbar/floating-menus/hover-popup/link.tsx
index cd7186c6c..75cfb7fd1 100644
--- a/packages/editor/src/toolbar/floating-menus/hover-popup/link.tsx
+++ b/packages/editor/src/toolbar/floating-menus/hover-popup/link.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolbarGroup } from "../../components/toolbar-group";
import { HoverPopupProps } from ".";
diff --git a/packages/editor/src/toolbar/floating-menus/index.tsx b/packages/editor/src/toolbar/floating-menus/index.tsx
index ee2bcd40e..6560f9e1d 100644
--- a/packages/editor/src/toolbar/floating-menus/index.tsx
+++ b/packages/editor/src/toolbar/floating-menus/index.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { DesktopOnly } from "../../components/responsive";
import { HoverPopupHandler } from "./hover-popup";
diff --git a/packages/editor/src/toolbar/floating-menus/search-replace.tsx b/packages/editor/src/toolbar/floating-menus/search-replace.tsx
index 176a13e33..1857f8873 100644
--- a/packages/editor/src/toolbar/floating-menus/search-replace.tsx
+++ b/packages/editor/src/toolbar/floating-menus/search-replace.tsx
@@ -1,27 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { SearchStorage } from "../../extensions/search-replace";
import { FloatingMenuProps } from "./types";
import { SearchReplacePopup } from "../popups/search-replace";
-import {
- ResponsivePresenter
-} from "../../components/responsive";
+import { ResponsivePresenter } from "../../components/responsive";
import { getToolbarElement } from "../utils/dom";
export function SearchReplaceFloatingMenu(props: FloatingMenuProps) {
diff --git a/packages/editor/src/toolbar/floating-menus/types.ts b/packages/editor/src/toolbar/floating-menus/types.ts
index 6215d0e32..c99a69042 100644
--- a/packages/editor/src/toolbar/floating-menus/types.ts
+++ b/packages/editor/src/toolbar/floating-menus/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "../../types";
export type FloatingMenuProps = { editor: Editor };
diff --git a/packages/editor/src/toolbar/icons.ts b/packages/editor/src/toolbar/icons.ts
index dfd201bcf..4d4c40c55 100644
--- a/packages/editor/src/toolbar/icons.ts
+++ b/packages/editor/src/toolbar/icons.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import {
mdiAttachment,
@@ -113,7 +114,8 @@ export const Icons = {
underline: mdiFormatUnderline,
strikethrough: mdiFormatStrikethrough,
code: mdiCodeTags,
- codeRemove: "M3.62109375 1.83837892 2.26318358 3.13037107 6.46289063 7.536621 1.9995117 12l6.0000003 6 1.40039025-1.400391L4.80029295 12l3.0292968-3.0292965 7.0283205 7.371093-.2578125.2578125L16.000488 18l.224121-.224121 4.3125 4.52490225 1.35791025-1.29492225-4.34326125-4.55712825L22.000488 12l-6-6-1.40039025 1.40039063L19.19970675 12l-3.016113 3.016113L9.156738 7.6435545l.24316425-.24316387L7.999512 6l-.2109375.2109375Z",
+ codeRemove:
+ "M3.62109375 1.83837892 2.26318358 3.13037107 6.46289063 7.536621 1.9995117 12l6.0000003 6 1.40039025-1.400391L4.80029295 12l3.0292968-3.0292965 7.0283205 7.371093-.2578125.2578125L16.000488 18l.224121-.224121 4.3125 4.52490225 1.35791025-1.29492225-4.34326125-4.55712825L22.000488 12l-6-6-1.40039025 1.40039063L19.19970675 12l-3.016113 3.016113L9.156738 7.6435545l.24316425-.24316387L7.999512 6l-.2109375.2109375Z",
alignCenter: mdiFormatAlignCenter,
alignLeft: mdiFormatAlignLeft,
alignRight: mdiFormatAlignRight,
diff --git a/packages/editor/src/toolbar/index.ts b/packages/editor/src/toolbar/index.ts
index 3c233d051..84542624c 100644
--- a/packages/editor/src/toolbar/index.ts
+++ b/packages/editor/src/toolbar/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Toolbar } from "./toolbar";
diff --git a/packages/editor/src/toolbar/popups/cell-properties.tsx b/packages/editor/src/toolbar/popups/cell-properties.tsx
index b76d62b42..154ec88f0 100644
--- a/packages/editor/src/toolbar/popups/cell-properties.tsx
+++ b/packages/editor/src/toolbar/popups/cell-properties.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "../../types";
-import { Box } from "@streetwriters/rebass";
+import { Box } from "@theme-ui/components";
import { Tab, Tabs } from "../../components/tabs";
import { Icon } from "../components/icon";
// import { MenuPresenter } from "../../components/menu/menu";
diff --git a/packages/editor/src/toolbar/popups/color-picker.tsx b/packages/editor/src/toolbar/popups/color-picker.tsx
index c91427b40..e222cead6 100644
--- a/packages/editor/src/toolbar/popups/color-picker.tsx
+++ b/packages/editor/src/toolbar/popups/color-picker.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Box, Flex, Text } from "@streetwriters/rebass";
-import { Input } from "@streetwriters/rebass-forms";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
+import { Input } from "@theme-ui/components";
import { Icon } from "../components/icon";
import { Icons } from "../icons";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -62,7 +63,7 @@ export function ColorPicker(props: ColorPickerProps) {
onClose,
expanded
} = props;
- const ref = useRef<HTMLDivElement>();
+ const ref = useRef<HTMLDivElement>(null);
const [isPickerOpen, setIsPickerOpen] = useState(expanded || false);
const [currentColor, setCurrentColor] = useState<string>(
tinycolor(color || colors[0]).toHexString()
diff --git a/packages/editor/src/toolbar/popups/embed-popup.tsx b/packages/editor/src/toolbar/popups/embed-popup.tsx
index dbdb3c35c..4960de319 100644
--- a/packages/editor/src/toolbar/popups/embed-popup.tsx
+++ b/packages/editor/src/toolbar/popups/embed-popup.tsx
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Flex, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex, Text } from "@theme-ui/components";
import { useCallback, useState } from "react";
import { Popup } from "../components/popup";
-import { Input, Textarea } from "@streetwriters/rebass-forms";
+import { Input, Textarea } from "@theme-ui/components";
import { Embed, EmbedSizeOptions } from "../../extensions/embed";
import { convertUrlToEmbedUrl } from "@social-embed/lib";
import { InlineInput } from "../../components/inline-input";
@@ -165,8 +166,11 @@ export function EmbedPopup(props: EmbedPopupProps) {
<Textarea
autoFocus
variant={"forms.input"}
- sx={{ fontSize: "subBody", fontFamily: "monospace" }}
- minHeight={[200, 100]}
+ sx={{
+ fontSize: "subBody",
+ fontFamily: "monospace",
+ minHeight: [200, 100]
+ }}
onChange={(e) => setSrc(e.target.value)}
placeholder="Paste embed code here. Only iframes are supported."
/>
diff --git a/packages/editor/src/toolbar/popups/image-properties.tsx b/packages/editor/src/toolbar/popups/image-properties.tsx
index 173253f9d..4c5bb66b1 100644
--- a/packages/editor/src/toolbar/popups/image-properties.tsx
+++ b/packages/editor/src/toolbar/popups/image-properties.tsx
@@ -1,25 +1,26 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Flex } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Flex } from "@theme-ui/components";
import { useCallback } from "react";
import { Popup } from "../components/popup";
-import { Checkbox, Label } from "@streetwriters/rebass-forms";
+import { Checkbox, Label } from "@theme-ui/components";
import {
ImageAlignmentOptions,
ImageSizeOptions
diff --git a/packages/editor/src/toolbar/popups/image-upload.tsx b/packages/editor/src/toolbar/popups/image-upload.tsx
index 6cf9c64fb..fa4fe25b5 100644
--- a/packages/editor/src/toolbar/popups/image-upload.tsx
+++ b/packages/editor/src/toolbar/popups/image-upload.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Input } from "@streetwriters/rebass-forms";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Input } from "@theme-ui/components";
import { useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { ImageAttributes } from "../../extensions/image";
import { Popup } from "../components/popup";
import { downloadImage, toDataURL } from "../../utils/downloader";
diff --git a/packages/editor/src/toolbar/popups/link-popup.tsx b/packages/editor/src/toolbar/popups/link-popup.tsx
index 3c0479391..993c5f4ac 100644
--- a/packages/editor/src/toolbar/popups/link-popup.tsx
+++ b/packages/editor/src/toolbar/popups/link-popup.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Input } from "@streetwriters/rebass-forms";
-import { Flex } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Input } from "@theme-ui/components";
+import { Flex } from "@theme-ui/components";
import { useRefValue } from "../../hooks/use-ref-value";
import { Popup } from "../components/popup";
import { LinkDefinition } from "../tools/link";
diff --git a/packages/editor/src/toolbar/popups/search-replace.tsx b/packages/editor/src/toolbar/popups/search-replace.tsx
index 16633be4c..88801fc88 100644
--- a/packages/editor/src/toolbar/popups/search-replace.tsx
+++ b/packages/editor/src/toolbar/popups/search-replace.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { Input } from "@streetwriters/rebass-forms";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Input } from "@theme-ui/components";
import { useCallback, useEffect, useRef, useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { SearchStorage } from "../../extensions/search-replace";
import { ToolButton } from "../components/tool-button";
import { Editor } from "../../types";
@@ -35,7 +36,7 @@ export function SearchReplacePopup(props: SearchReplacePopupProps) {
const [matchWholeWord, setMatchWholeWord] = useState(false);
const [enableRegex, setEnableRegex] = useState(false);
const replaceText = useRef("");
- const searchInputRef = useRef<HTMLInputElement>();
+ const searchInputRef = useRef<HTMLInputElement>(null);
const search = useCallback(
(term: string) => {
diff --git a/packages/editor/src/toolbar/popups/table-popup.tsx b/packages/editor/src/toolbar/popups/table-popup.tsx
index 271664192..6b29c7094 100644
--- a/packages/editor/src/toolbar/popups/table-popup.tsx
+++ b/packages/editor/src/toolbar/popups/table-popup.tsx
@@ -1,22 +1,23 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { Box, Flex, Text } from "@streetwriters/rebass";
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { Box, Flex, Text } from "@theme-ui/components";
import { useEffect, useState } from "react";
import { Popup } from "../components/popup";
import { useIsMobile } from "../stores/toolbar-store";
@@ -114,8 +115,8 @@ export function TablePopup(props: TablePopupProps) {
<Box
key={index}
data-index={index}
- height={cellSize || 15}
sx={{
+ height: cellSize || 15,
border: "1px solid var(--disabled)",
borderRadius: "small",
bg: isCellHighlighted(index, cellLocation, tableSize)
diff --git a/packages/editor/src/toolbar/stores/toolbar-store.ts b/packages/editor/src/toolbar/stores/toolbar-store.ts
index 37591e815..aec445694 100644
--- a/packages/editor/src/toolbar/stores/toolbar-store.ts
+++ b/packages/editor/src/toolbar/stores/toolbar-store.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Theme } from "@notesnook/theme";
import create from "zustand";
diff --git a/packages/editor/src/toolbar/tool-definitions.ts b/packages/editor/src/toolbar/tool-definitions.ts
index af9627672..2954af0eb 100644
--- a/packages/editor/src/toolbar/tool-definitions.ts
+++ b/packages/editor/src/toolbar/tool-definitions.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolbarDefinition, ToolDefinition } from "./types";
import { ToolId } from "./tools";
diff --git a/packages/editor/src/toolbar/toolbar.tsx b/packages/editor/src/toolbar/toolbar.tsx
index 7da4cc589..de1980175 100644
--- a/packages/editor/src/toolbar/toolbar.tsx
+++ b/packages/editor/src/toolbar/toolbar.tsx
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Theme } from "@notesnook/theme";
import { Editor } from "../types";
-import { Flex, FlexProps } from "@streetwriters/rebass";
+import { Flex, FlexProps } from "@theme-ui/components";
import { ThemeProvider } from "@emotion/react";
import { EditorFloatingMenus } from "./floating-menus";
import { getDefaultPresets, STATIC_TOOLBAR_GROUPS } from "./tool-definitions";
diff --git a/packages/editor/src/toolbar/tools/alignment.tsx b/packages/editor/src/toolbar/tools/alignment.tsx
index aed339086..cdd936a7e 100644
--- a/packages/editor/src/toolbar/tools/alignment.tsx
+++ b/packages/editor/src/toolbar/tools/alignment.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
diff --git a/packages/editor/src/toolbar/tools/attachment.tsx b/packages/editor/src/toolbar/tools/attachment.tsx
index f9bbcf655..325943c2d 100644
--- a/packages/editor/src/toolbar/tools/attachment.tsx
+++ b/packages/editor/src/toolbar/tools/attachment.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
diff --git a/packages/editor/src/toolbar/tools/block.tsx b/packages/editor/src/toolbar/tools/block.tsx
index 6059cbcb3..6ba8a8eaa 100644
--- a/packages/editor/src/toolbar/tools/block.tsx
+++ b/packages/editor/src/toolbar/tools/block.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { Editor } from "../../types";
diff --git a/packages/editor/src/toolbar/tools/colors.tsx b/packages/editor/src/toolbar/tools/colors.tsx
index 73393f4f8..254d89791 100644
--- a/packages/editor/src/toolbar/tools/colors.tsx
+++ b/packages/editor/src/toolbar/tools/colors.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { useState } from "react";
import tinycolor from "tinycolor2";
diff --git a/packages/editor/src/toolbar/tools/embed.tsx b/packages/editor/src/toolbar/tools/embed.tsx
index 49da8bf54..88b18df26 100644
--- a/packages/editor/src/toolbar/tools/embed.tsx
+++ b/packages/editor/src/toolbar/tools/embed.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
@@ -96,7 +97,7 @@ export function EmbedAlignCenter(props: ToolProps) {
export function EmbedProperties(props: ToolProps) {
const { editor } = props;
const [isOpen, setIsOpen] = useState(false);
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
// TODO: improve perf by deferring this until user opens the popup
const embedNode = useMemo(() => findSelectedNode(editor, "embed"), [editor]);
diff --git a/packages/editor/src/toolbar/tools/font.tsx b/packages/editor/src/toolbar/tools/font.tsx
index d5efde032..98244dab3 100644
--- a/packages/editor/src/toolbar/tools/font.tsx
+++ b/packages/editor/src/toolbar/tools/font.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { Editor } from "../../types";
diff --git a/packages/editor/src/toolbar/tools/headings.tsx b/packages/editor/src/toolbar/tools/headings.tsx
index 857be12e3..c7251aef7 100644
--- a/packages/editor/src/toolbar/tools/headings.tsx
+++ b/packages/editor/src/toolbar/tools/headings.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { Editor } from "../../types";
diff --git a/packages/editor/src/toolbar/tools/image.tsx b/packages/editor/src/toolbar/tools/image.tsx
index bbb0ee873..0c95dff83 100644
--- a/packages/editor/src/toolbar/tools/image.tsx
+++ b/packages/editor/src/toolbar/tools/image.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
@@ -108,7 +109,7 @@ export function ImageAlignCenter(props: ToolProps) {
export function ImageProperties(props: ToolProps) {
const { editor } = props;
const [isOpen, setIsOpen] = useState(false);
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
// TODO: defer until user opens the popup
const image = findSelectedNode(editor, "image");
diff --git a/packages/editor/src/toolbar/tools/index.ts b/packages/editor/src/toolbar/tools/index.ts
index 5ad5db5ba..b2966c461 100644
--- a/packages/editor/src/toolbar/tools/index.ts
+++ b/packages/editor/src/toolbar/tools/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import React from "react";
import { ToolProps } from "../types";
diff --git a/packages/editor/src/toolbar/tools/inline.tsx b/packages/editor/src/toolbar/tools/inline.tsx
index a6ac0db95..6a52af7e1 100644
--- a/packages/editor/src/toolbar/tools/inline.tsx
+++ b/packages/editor/src/toolbar/tools/inline.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
diff --git a/packages/editor/src/toolbar/tools/link.tsx b/packages/editor/src/toolbar/tools/link.tsx
index d6dd9696f..e62b72c0e 100644
--- a/packages/editor/src/toolbar/tools/link.tsx
+++ b/packages/editor/src/toolbar/tools/link.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
@@ -26,7 +27,7 @@ import { MoreTools } from "../components/more-tools";
import { useRefValue } from "../../hooks/use-ref-value";
import { findMark, selectionToOffset } from "../utils/prosemirror";
import { TextSelection } from "prosemirror-state";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Link } from "@theme-ui/components";
import { ImageNode } from "../../extensions/image";
export function LinkSettings(props: ToolProps) {
@@ -206,9 +207,9 @@ export function OpenLink(props: ToolProps) {
return (
<Flex sx={{ alignItems: "center" }}>
- <Text as="a" href={href} target="_blank" variant="body" sx={{ mr: 1 }}>
+ <Link href={href} target="_blank" variant="body" sx={{ mr: 1 }}>
{href}
- </Text>
+ </Link>
<ToolButton
{...props}
toggled={false}
diff --git a/packages/editor/src/toolbar/tools/lists.tsx b/packages/editor/src/toolbar/tools/lists.tsx
index c1fd14ee1..b96a5d50b 100644
--- a/packages/editor/src/toolbar/tools/lists.tsx
+++ b/packages/editor/src/toolbar/tools/lists.tsx
@@ -1,23 +1,24 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
-import { Box, Button, Flex } from "@streetwriters/rebass";
+import { Box, Button, Flex } from "@theme-ui/components";
import { IconNames } from "../icons";
import { useCallback, useRef, useState } from "react";
import { SplitButton } from "../components/split-button";
@@ -49,7 +50,7 @@ function _ListTool<TListStyleTypes extends string>(
const toolbarLocation = useToolbarLocation();
const isBottom = toolbarLocation === "bottom";
const [isOpen, setIsOpen] = useState(false);
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
return (
<SplitButton
diff --git a/packages/editor/src/toolbar/tools/table.tsx b/packages/editor/src/toolbar/tools/table.tsx
index 3767462f7..9d77ca4e5 100644
--- a/packages/editor/src/toolbar/tools/table.tsx
+++ b/packages/editor/src/toolbar/tools/table.tsx
@@ -1,26 +1,27 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { Editor } from "../../types";
import { ToolButton } from "../components/tool-button";
import { useCallback, useMemo, useRef, useState } from "react";
-import { Flex, Text } from "@streetwriters/rebass";
+import { Flex, Text } from "@theme-ui/components";
import { ResponsivePresenter } from "../../components/responsive";
import { MenuButton, MenuItem } from "../../components/menu/types";
import {
@@ -65,7 +66,7 @@ export function TableSettings(props: ToolProps) {
export function RowProperties(props: ToolProps) {
const { editor } = props;
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
const [isMenuOpen, setIsMenuOpen] = useState(false);
const items = useMemo(
() => [
@@ -107,7 +108,7 @@ export function RowProperties(props: ToolProps) {
export function ColumnProperties(props: ToolProps) {
const { editor } = props;
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
const [isMenuOpen, setIsMenuOpen] = useState(false);
const items = useMemo(
@@ -150,7 +151,7 @@ export function ColumnProperties(props: ToolProps) {
export function TableProperties(props: ToolProps) {
const { editor } = props;
- const buttonRef = useRef<HTMLButtonElement>();
+ const buttonRef = useRef<HTMLButtonElement>(null);
const [isMenuOpen, setIsMenuOpen] = useState(false);
const items = useMemo<MenuItem[]>(
diff --git a/packages/editor/src/toolbar/tools/text-direction.tsx b/packages/editor/src/toolbar/tools/text-direction.tsx
index 72eef064f..0d3315811 100644
--- a/packages/editor/src/toolbar/tools/text-direction.tsx
+++ b/packages/editor/src/toolbar/tools/text-direction.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ToolProps } from "../types";
import { ToolButton } from "../components/tool-button";
diff --git a/packages/editor/src/toolbar/tools/utils.tsx b/packages/editor/src/toolbar/tools/utils.tsx
index 415ef1dc4..137647ba1 100644
--- a/packages/editor/src/toolbar/tools/utils.tsx
+++ b/packages/editor/src/toolbar/tools/utils.tsx
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "../../types";
import { MenuButton } from "../../components/menu/types";
diff --git a/packages/editor/src/toolbar/types.ts b/packages/editor/src/toolbar/types.ts
index 50f829029..f1cc528c2 100644
--- a/packages/editor/src/toolbar/types.ts
+++ b/packages/editor/src/toolbar/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor } from "../types";
import { IconNames } from "./icons";
diff --git a/packages/editor/src/toolbar/utils/dom.ts b/packages/editor/src/toolbar/utils/dom.ts
index d6c70c442..f7e17dc02 100644
--- a/packages/editor/src/toolbar/utils/dom.ts
+++ b/packages/editor/src/toolbar/utils/dom.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function getToolbarElement() {
return (
diff --git a/packages/editor/src/toolbar/utils/prosemirror.ts b/packages/editor/src/toolbar/utils/prosemirror.ts
index d3f6966eb..77c709816 100644
--- a/packages/editor/src/toolbar/utils/prosemirror.ts
+++ b/packages/editor/src/toolbar/utils/prosemirror.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Editor, findParentNode } from "@tiptap/core";
import { Node as ProsemirrorNode, Mark } from "prosemirror-model";
diff --git a/packages/editor/src/types.ts b/packages/editor/src/types.ts
index 1b05f291c..f08bef1ee 100644
--- a/packages/editor/src/types.ts
+++ b/packages/editor/src/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { UnionCommands, Editor as TiptapEditor } from "@tiptap/core";
diff --git a/packages/editor/src/utils/config.ts b/packages/editor/src/utils/config.ts
index 93804dfa9..e957acef4 100644
--- a/packages/editor/src/utils/config.ts
+++ b/packages/editor/src/utils/config.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
function set<T>(key: string, value: T | null) {
if (!value) return window.localStorage.removeItem(key);
diff --git a/packages/editor/src/utils/debounce.ts b/packages/editor/src/utils/debounce.ts
index 064ad2b49..d85bcc29d 100644
--- a/packages/editor/src/utils/debounce.ts
+++ b/packages/editor/src/utils/debounce.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function debounce<F extends (...args: never[]) => void>(
func: F,
diff --git a/packages/editor/src/utils/downloader.ts b/packages/editor/src/utils/downloader.ts
index 14473eb92..8b5e62058 100644
--- a/packages/editor/src/utils/downloader.ts
+++ b/packages/editor/src/utils/downloader.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export async function downloadImage(url: string) {
const response = await fetch(url);
diff --git a/packages/editor/src/utils/platform.ts b/packages/editor/src/utils/platform.ts
index 6befc2d9f..274c15cc3 100644
--- a/packages/editor/src/utils/platform.ts
+++ b/packages/editor/src/utils/platform.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function isiOS(): boolean {
return (
diff --git a/packages/editor/src/utils/position.ts b/packages/editor/src/utils/position.ts
index 7533c7880..40117f66e 100644
--- a/packages/editor/src/utils/position.ts
+++ b/packages/editor/src/utils/position.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
type PositionData = {
x: number;
@@ -35,7 +36,7 @@ window.addEventListener("mousemove", (e) => {
});
export type PositionOptions = {
- target?: HTMLElement | "mouse";
+ target?: HTMLElement | "mouse" | null;
isTargetAbsolute?: boolean;
location?: "right" | "left" | "below" | "top";
align?: "center" | "start" | "end";
@@ -60,7 +61,7 @@ export function getPosition(
} = options || {};
const { x, y, width, height, actualX, actualY } =
- target === "mouse"
+ target === "mouse" || target === null
? mousePosition
: getElementPosition(target, isTargetAbsolute);
diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts
index d5aacac94..5476559ec 100644
--- a/packages/logger/src/index.ts
+++ b/packages/logger/src/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { consoleReporter } from "./reporters/console";
import { ILogReporter, LoggerConfig, LogLevel } from "./types";
diff --git a/packages/logger/src/reporters/console.ts b/packages/logger/src/reporters/console.ts
index bb20a9b72..cb57f5d13 100644
--- a/packages/logger/src/reporters/console.ts
+++ b/packages/logger/src/reporters/console.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ILogReporter, LogLevel, LogMessage } from "../types";
diff --git a/packages/logger/src/reporters/index.ts b/packages/logger/src/reporters/index.ts
index d4f78e214..4be8c1f7a 100644
--- a/packages/logger/src/reporters/index.ts
+++ b/packages/logger/src/reporters/index.ts
@@ -1,19 +1,20 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./console";
diff --git a/packages/logger/src/types.ts b/packages/logger/src/types.ts
index 4dd82bf7d..8a48bd869 100644
--- a/packages/logger/src/types.ts
+++ b/packages/logger/src/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export interface ILogReporter {
write(message: LogMessage): void;
diff --git a/packages/streamable-fs/index.ts b/packages/streamable-fs/index.ts
index 1492bd0ee..bf3cc4dc7 100644
--- a/packages/streamable-fs/index.ts
+++ b/packages/streamable-fs/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import localforage from "localforage";
import FileHandle from "./src/filehandle";
diff --git a/packages/streamable-fs/src/filehandle.ts b/packages/streamable-fs/src/filehandle.ts
index cb897ad4c..24ebf76e0 100644
--- a/packages/streamable-fs/src/filehandle.ts
+++ b/packages/streamable-fs/src/filehandle.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import FileStreamSource from "./filestreamsource";
import { File } from "./types";
diff --git a/packages/streamable-fs/src/filestreamsource.ts b/packages/streamable-fs/src/filestreamsource.ts
index 3f9ca3607..213bee82b 100644
--- a/packages/streamable-fs/src/filestreamsource.ts
+++ b/packages/streamable-fs/src/filestreamsource.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { File } from "./types";
import { Chunk } from "@notesnook/crypto/dist/src/types";
diff --git a/packages/streamable-fs/src/interfaces.ts b/packages/streamable-fs/src/interfaces.ts
index 8c69011a3..95471ce17 100644
--- a/packages/streamable-fs/src/interfaces.ts
+++ b/packages/streamable-fs/src/interfaces.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import FileHandle from "./filehandle";
diff --git a/packages/streamable-fs/src/types.ts b/packages/streamable-fs/src/types.ts
index a2c543b5d..4a538af80 100644
--- a/packages/streamable-fs/src/types.ts
+++ b/packages/streamable-fs/src/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export type File = {
filename: string;
diff --git a/packages/theme/package-lock.json b/packages/theme/package-lock.json
index 4276a3cfb..e118364ac 100644
--- a/packages/theme/package-lock.json
+++ b/packages/theme/package-lock.json
@@ -9,8 +9,7 @@
"version": "1.0.1",
"license": "GPL-3.0",
"dependencies": {
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/core": "^0.14.7",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
@@ -22,6 +21,7 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",
"integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==",
+ "peer": true,
"dependencies": {
"@jridgewell/gen-mapping": "^0.1.0",
"@jridgewell/trace-mapping": "^0.3.9"
@@ -30,38 +30,11 @@
"node": ">=6.0.0"
}
},
- "node_modules/@babel/cli": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz",
- "integrity": "sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw==",
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- },
- "bin": {
- "babel": "bin/babel.js",
- "babel-external-helpers": "bin/babel-external-helpers.js"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "optionalDependencies": {
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
"node_modules/@babel/code-frame": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
"integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "peer": true,
"dependencies": {
"@babel/highlight": "^7.18.6"
},
@@ -73,6 +46,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.13.tgz",
"integrity": "sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw==",
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -81,6 +55,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz",
"integrity": "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==",
+ "peer": true,
"dependencies": {
"@ampproject/remapping": "^2.1.0",
"@babel/code-frame": "^7.18.6",
@@ -110,6 +85,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz",
"integrity": "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==",
+ "peer": true,
"dependencies": {
"@babel/types": "^7.18.13",
"@jridgewell/gen-mapping": "^0.3.2",
@@ -123,6 +99,7 @@
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz",
"integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==",
+ "peer": true,
"dependencies": {
"@jridgewell/set-array": "^1.0.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
@@ -132,33 +109,11 @@
"node": ">=6.0.0"
}
},
- "node_modules/@babel/helper-annotate-as-pure": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz",
- "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==",
- "dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz",
- "integrity": "sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==",
- "dependencies": {
- "@babel/helper-explode-assignable-expression": "^7.18.6",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@babel/helper-compilation-targets": {
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz",
"integrity": "sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==",
+ "peer": true,
"dependencies": {
"@babel/compat-data": "^7.18.8",
"@babel/helper-validator-option": "^7.18.6",
@@ -172,72 +127,11 @@
"@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-create-class-features-plugin": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.13.tgz",
- "integrity": "sha512-hDvXp+QYxSRL+23mpAlSGxHMDyIGChm0/AwTfTAAK5Ufe40nCsyNdaYCGuK91phn/fVu9kqayImRDkvNAgdrsA==",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-create-regexp-features-plugin": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz",
- "integrity": "sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "regexpu-core": "^5.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.2.tgz",
- "integrity": "sha512-r9QJJ+uDWrd+94BSPcP6/de67ygLtvVy6cK4luE6MOuDsZIdoaPBnfSpbO/+LTifjPckbKXRuI9BB/Z2/y3iTg==",
- "dependencies": {
- "@babel/helper-compilation-targets": "^7.17.7",
- "@babel/helper-plugin-utils": "^7.16.7",
- "debug": "^4.1.1",
- "lodash.debounce": "^4.0.8",
- "resolve": "^1.14.2",
- "semver": "^6.1.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.4.0-0"
- }
- },
"node_modules/@babel/helper-environment-visitor": {
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
"integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-explode-assignable-expression": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz",
- "integrity": "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==",
- "dependencies": {
- "@babel/types": "^7.18.6"
- },
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -246,6 +140,7 @@
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz",
"integrity": "sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==",
+ "peer": true,
"dependencies": {
"@babel/template": "^7.18.6",
"@babel/types": "^7.18.9"
@@ -258,6 +153,7 @@
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz",
"integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==",
+ "peer": true,
"dependencies": {
"@babel/types": "^7.18.6"
},
@@ -265,21 +161,11 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-member-expression-to-functions": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz",
- "integrity": "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==",
- "dependencies": {
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@babel/helper-module-imports": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz",
"integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==",
+ "peer": true,
"dependencies": {
"@babel/types": "^7.18.6"
},
@@ -291,6 +177,7 @@
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz",
"integrity": "sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==",
+ "peer": true,
"dependencies": {
"@babel/helper-environment-visitor": "^7.18.9",
"@babel/helper-module-imports": "^7.18.6",
@@ -305,53 +192,11 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-optimise-call-expression": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz",
- "integrity": "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==",
- "dependencies": {
- "@babel/types": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@babel/helper-plugin-utils": {
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz",
"integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-remap-async-to-generator": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz",
- "integrity": "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-wrap-function": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-replace-supers": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.9.tgz",
- "integrity": "sha512-dNsWibVI4lNT6HiuOIBr1oyxo40HvIVmbwPUm3XZ7wMh4k2WxrxTqZwSqw/eEmXDS9np0ey5M2bz9tBmO9c+YQ==",
- "dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- },
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -360,6 +205,7 @@
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz",
"integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==",
+ "peer": true,
"dependencies": {
"@babel/types": "^7.18.6"
},
@@ -367,21 +213,11 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz",
- "integrity": "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==",
- "dependencies": {
- "@babel/types": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
"node_modules/@babel/helper-split-export-declaration": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz",
"integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==",
+ "peer": true,
"dependencies": {
"@babel/types": "^7.18.6"
},
@@ -393,6 +229,7 @@
"version": "7.18.10",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz",
"integrity": "sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==",
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -401,6 +238,7 @@
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz",
"integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==",
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -409,20 +247,7 @@
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz",
"integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-wrap-function": {
- "version": "7.18.11",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.11.tgz",
- "integrity": "sha512-oBUlbv+rjZLh2Ks9SKi4aL7eKaAXBWleHzU89mP0G6BMUlRxSckk9tSIkgDGydhgFxHuGSlBQZfnaD47oBEB7w==",
- "dependencies": {
- "@babel/helper-function-name": "^7.18.9",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.11",
- "@babel/types": "^7.18.10"
- },
+ "peer": true,
"engines": {
"node": ">=6.9.0"
}
@@ -431,6 +256,7 @@
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz",
"integrity": "sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==",
+ "peer": true,
"dependencies": {
"@babel/template": "^7.18.6",
"@babel/traverse": "^7.18.9",
@@ -444,6 +270,7 @@
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",
"integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
+ "peer": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.18.6",
"chalk": "^2.0.0",
@@ -457,6 +284,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz",
"integrity": "sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==",
+ "peer": true,
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -464,10 +292,11 @@
"node": ">=6.0.0"
}
},
- "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
+ "node_modules/@babel/plugin-syntax-jsx": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz",
- "integrity": "sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",
+ "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==",
+ "peer": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.18.6"
},
@@ -475,3717 +304,1097 @@
"node": ">=6.9.0"
},
"peerDependencies": {
- "@babel/core": "^7.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
+ "node_modules/@babel/runtime": {
"version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz",
- "integrity": "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",
+ "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9"
+ "regenerator-runtime": "^0.13.4"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.13.0"
}
},
- "node_modules/@babel/plugin-proposal-async-generator-functions": {
+ "node_modules/@babel/template": {
"version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz",
- "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz",
+ "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-remap-async-to-generator": "^7.18.9",
- "@babel/plugin-syntax-async-generators": "^7.8.4"
+ "@babel/code-frame": "^7.18.6",
+ "@babel/parser": "^7.18.10",
+ "@babel/types": "^7.18.10"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/plugin-proposal-class-properties": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz",
- "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==",
+ "node_modules/@babel/traverse": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz",
+ "integrity": "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/code-frame": "^7.18.6",
+ "@babel/generator": "^7.18.13",
+ "@babel/helper-environment-visitor": "^7.18.9",
+ "@babel/helper-function-name": "^7.18.9",
+ "@babel/helper-hoist-variables": "^7.18.6",
+ "@babel/helper-split-export-declaration": "^7.18.6",
+ "@babel/parser": "^7.18.13",
+ "@babel/types": "^7.18.13",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/plugin-proposal-class-static-block": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz",
- "integrity": "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==",
+ "node_modules/@babel/types": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz",
+ "integrity": "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-class-static-block": "^7.14.5"
+ "@babel/helper-string-parser": "^7.18.10",
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "to-fast-properties": "^2.0.0"
},
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.12.0"
}
},
- "node_modules/@babel/plugin-proposal-dynamic-import": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz",
- "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==",
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.10.2",
+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz",
+ "integrity": "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/plugin-syntax-jsx": "^7.17.12",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.0",
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/serialize": "^1.1.0",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.0.13"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/plugin-proposal-export-namespace-from": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz",
- "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==",
+ "node_modules/@emotion/cache": {
+ "version": "11.10.3",
+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",
+ "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/sheet": "^1.2.0",
+ "@emotion/utils": "^1.2.0",
+ "@emotion/weak-memoize": "^0.3.0",
+ "stylis": "4.0.13"
}
},
- "node_modules/@babel/plugin-proposal-json-strings": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz",
- "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/@emotion/hash": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",
+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==",
+ "peer": true
},
- "node_modules/@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz",
- "integrity": "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==",
+ "node_modules/@emotion/memoize": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz",
+ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==",
+ "peer": true
+ },
+ "node_modules/@emotion/react": {
+ "version": "11.10.4",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz",
+ "integrity": "sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
- },
- "engines": {
- "node": ">=6.9.0"
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.10.0",
+ "@emotion/cache": "^11.10.0",
+ "@emotion/serialize": "^1.1.0",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
+ "@emotion/utils": "^1.2.0",
+ "@emotion/weak-memoize": "^0.3.0",
+ "hoist-non-react-statics": "^3.3.1"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@babel/core": "^7.0.0",
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz",
- "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==",
+ "node_modules/@emotion/serialize": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",
+ "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@emotion/hash": "^0.9.0",
+ "@emotion/memoize": "^0.8.0",
+ "@emotion/unitless": "^0.8.0",
+ "@emotion/utils": "^1.2.0",
+ "csstype": "^3.0.2"
}
},
- "node_modules/@babel/plugin-proposal-numeric-separator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz",
- "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/@emotion/sheet": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",
+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w==",
+ "peer": true
},
- "node_modules/@babel/plugin-proposal-object-rest-spread": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz",
- "integrity": "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==",
- "dependencies": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.18.8"
- },
- "engines": {
- "node": ">=6.9.0"
- },
+ "node_modules/@emotion/unitless": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",
+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw==",
+ "peer": true
+ },
+ "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz",
+ "integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==",
+ "peer": true,
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "react": ">=16.8.0"
}
},
- "node_modules/@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz",
- "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==",
+ "node_modules/@emotion/utils": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",
+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw==",
+ "peer": true
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",
+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==",
+ "peer": true
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz",
+ "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
+ "@jridgewell/set-array": "^1.0.0",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6.0.0"
}
},
- "node_modules/@babel/plugin-proposal-optional-chaining": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz",
- "integrity": "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3"
- },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
+ "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6.0.0"
}
},
- "node_modules/@babel/plugin-proposal-private-methods": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz",
- "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==",
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6.0.0"
}
},
- "node_modules/@babel/plugin-proposal-private-property-in-object": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz",
- "integrity": "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==",
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.14",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==",
+ "peer": true
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz",
+ "integrity": "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==",
+ "peer": true,
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@jridgewell/resolve-uri": "^3.0.3",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
}
},
- "node_modules/@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz",
- "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==",
+ "node_modules/@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=4"
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@emotion/react": "^11",
+ "react": ">16"
}
},
- "node_modules/@babel/plugin-syntax-async-generators": {
- "version": "7.8.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
- "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
+ "node_modules/@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "csstype": "^3.0.10"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@emotion/react": "^11"
}
},
- "node_modules/@babel/plugin-syntax-class-properties": {
- "version": "7.12.13",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
- "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "node_modules/@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.12.13"
+ "@theme-ui/css": "0.14.7"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@emotion/react": "^11",
+ "react": ">16"
}
},
- "node_modules/@babel/plugin-syntax-class-static-block": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
- "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
+ "node_modules/@types/parse-json": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
+ "peer": true
+ },
+ "node_modules/@types/tinycolor2": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.3.tgz",
+ "integrity": "sha512-Kf1w9NE5HEgGxCRyIcRXR/ZYtDv0V8FVPtYHwLxl0O+maGX0erE77pQlD0gpP+/KByMZ87mOA79SjifhSB3PjQ==",
+ "dev": true
+ },
+ "node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
+ "color-convert": "^1.9.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-syntax-dynamic-import": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz",
- "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==",
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "engines": {
+ "node": ">=10",
+ "npm": ">=6"
}
},
- "node_modules/@babel/plugin-syntax-export-namespace-from": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz",
- "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==",
+ "node_modules/browserslist": {
+ "version": "4.21.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz",
+ "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ }
+ ],
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.3"
+ "caniuse-lite": "^1.0.30001370",
+ "electron-to-chromium": "^1.4.202",
+ "node-releases": "^2.0.6",
+ "update-browserslist-db": "^1.0.5"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
- "node_modules/@babel/plugin-syntax-import-assertions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz",
- "integrity": "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6"
}
},
- "node_modules/@babel/plugin-syntax-json-strings": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
- "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001385",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001385.tgz",
+ "integrity": "sha512-MpiCqJGhBkHgpyimE9GWmZTnyHyEEM35u115bD3QBrXpjvL/JgcP8cUhKJshfmg4OtEHFenifcK5sZayEw5tvQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ }
+ ],
+ "peer": true
+ },
+ "node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-syntax-jsx": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",
- "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
+ "node_modules/chalk/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.8.0"
}
},
- "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
- "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
+ "node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "color-name": "1.1.3"
}
},
- "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
- "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
+ "node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "peer": true
+ },
+ "node_modules/convert-source-map": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz",
+ "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "safe-buffer": "~5.1.1"
}
},
- "node_modules/@babel/plugin-syntax-numeric-separator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
- "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
+ "node_modules/cosmiconfig": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",
+ "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/@babel/plugin-syntax-object-rest-spread": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
- "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/csstype": {
+ "version": "3.0.11",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.11.tgz",
+ "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw=="
},
- "node_modules/@babel/plugin-syntax-optional-catch-binding": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
- "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "ms": "2.1.2"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-syntax-optional-chaining": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
- "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
+ "engines": {
+ "node": ">=6.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "node_modules/@babel/plugin-syntax-private-property-in-object": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
- "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
+ "node_modules/deepmerge": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==",
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@babel/plugin-syntax-top-level-await": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
- "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
+ "node_modules/electron-to-chromium": {
+ "version": "1.4.237",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.237.tgz",
+ "integrity": "sha512-vxVyGJcsgArNOVUJcXm+7iY3PJAfmSapEszQD1HbyPLl0qoCmNQ1o/EX3RI7Et5/88In9oLxX3SGF8J3orkUgA==",
+ "peer": true
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "is-arrayish": "^0.2.1"
}
},
- "node_modules/@babel/plugin-transform-arrow-functions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz",
- "integrity": "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
+ "node_modules/escalade": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6"
}
},
- "node_modules/@babel/plugin-transform-async-to-generator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz",
- "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==",
- "dependencies": {
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-remap-async-to-generator": "^7.18.6"
- },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
+ "node": ">=10"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@babel/plugin-transform-block-scoped-functions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz",
- "integrity": "sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
+ "peer": true
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
+ "peer": true
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "peer": true,
"engines": {
"node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/plugin-transform-block-scoping": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz",
- "integrity": "sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
+ "node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-classes": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz",
- "integrity": "sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g==",
+ "node_modules/has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "peer": true,
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "globals": "^11.1.0"
+ "function-bind": "^1.1.1"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">= 0.4.0"
}
},
- "node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz",
- "integrity": "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
+ "node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-destructuring": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz",
- "integrity": "sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow==",
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "react-is": "^16.7.0"
}
},
- "node_modules/@babel/plugin-transform-dotall-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz",
- "integrity": "sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==",
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "peer": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
},
"engines": {
- "node": ">=6.9.0"
+ "node": ">=6"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@babel/plugin-transform-duplicate-keys": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz",
- "integrity": "sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==",
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "peer": true
+ },
+ "node_modules/is-core-module": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
+ "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "has": "^1.0.3"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@babel/plugin-transform-exponentiation-operator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz",
- "integrity": "sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==",
- "dependencies": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "peer": true
+ },
+ "node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "peer": true,
+ "bin": {
+ "jsesc": "bin/jsesc"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-for-of": {
- "version": "7.18.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz",
- "integrity": "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "peer": true
+ },
+ "node_modules/json5": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
+ "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
+ "peer": true,
+ "bin": {
+ "json5": "lib/cli.js"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6"
}
},
- "node_modules/@babel/plugin-transform-function-name": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz",
- "integrity": "sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==",
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "peer": true
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "peer": true,
"dependencies": {
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
+ "js-tokens": "^3.0.0 || ^4.0.0"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "bin": {
+ "loose-envify": "cli.js"
}
},
- "node_modules/@babel/plugin-transform-literals": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz",
- "integrity": "sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==",
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "peer": true
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
+ "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==",
+ "peer": true
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "callsites": "^3.0.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=6"
}
},
- "node_modules/@babel/plugin-transform-member-expression-literals": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz",
- "integrity": "sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==",
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
},
"engines": {
- "node": ">=6.9.0"
+ "node": ">=8"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@babel/plugin-transform-modules-amd": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz",
- "integrity": "sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg==",
- "dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz",
- "integrity": "sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==",
- "dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-systemjs": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz",
- "integrity": "sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A==",
- "dependencies": {
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-identifier": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-umd": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz",
- "integrity": "sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==",
- "dependencies": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz",
- "integrity": "sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg==",
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/plugin-transform-new-target": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz",
- "integrity": "sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-object-super": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz",
- "integrity": "sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-parameters": {
- "version": "7.18.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz",
- "integrity": "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-property-literals": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz",
- "integrity": "sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-react-display-name": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz",
- "integrity": "sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-react-jsx": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.18.10.tgz",
- "integrity": "sha512-gCy7Iikrpu3IZjYZolFE4M1Sm+nrh1/6za2Ewj77Z+XirT4TsbJcvOFOyF+fRPwU6AKKK136CZxx6L8AbSFG6A==",
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-jsx": "^7.18.6",
- "@babel/types": "^7.18.10"
- },
+ "node_modules/path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=8"
}
},
- "node_modules/@babel/plugin-transform-react-jsx-development": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz",
- "integrity": "sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==",
- "dependencies": {
- "@babel/plugin-transform-react-jsx": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-react-pure-annotations": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.6.tgz",
- "integrity": "sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ==",
+ "node_modules/react": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
+ "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
+ "peer": true,
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "loose-envify": "^1.1.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz",
- "integrity": "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "regenerator-transform": "^0.15.0"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-reserved-words": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz",
- "integrity": "sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/regenerator-runtime": {
+ "version": "0.13.9",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
+ "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-shorthand-properties": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz",
- "integrity": "sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==",
+ "node_modules/resolve": {
+ "version": "1.22.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
+ "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
+ "peer": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "is-core-module": "^2.9.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "bin": {
+ "resolve": "bin/resolve"
},
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@babel/plugin-transform-spread": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz",
- "integrity": "sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9"
- },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=4"
}
},
- "node_modules/@babel/plugin-transform-sticky-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz",
- "integrity": "sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-template-literals": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz",
- "integrity": "sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node_modules/semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "peer": true,
+ "bin": {
+ "semver": "bin/semver.js"
}
},
- "node_modules/@babel/plugin-transform-typeof-symbol": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz",
- "integrity": "sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
+ "node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "peer": true,
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz",
- "integrity": "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
+ "node_modules/stylis": {
+ "version": "4.0.13",
+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",
+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==",
+ "peer": true
},
- "node_modules/@babel/plugin-transform-unicode-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz",
- "integrity": "sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==",
+ "node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "peer": true,
"dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "has-flag": "^3.0.0"
},
"engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/preset-env": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz",
- "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==",
- "dependencies": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.18.10",
- "@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
- "@babel/plugin-proposal-dynamic-import": "^7.18.6",
- "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
- "@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
- "@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
- "@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
- "@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
- "@babel/plugin-syntax-async-generators": "^7.8.4",
- "@babel/plugin-syntax-class-properties": "^7.12.13",
- "@babel/plugin-syntax-class-static-block": "^7.14.5",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
- "@babel/plugin-syntax-import-assertions": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
- "@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
- "@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.18.9",
- "@babel/plugin-transform-classes": "^7.18.9",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.18.9",
- "@babel/plugin-transform-dotall-regex": "^7.18.6",
- "@babel/plugin-transform-duplicate-keys": "^7.18.9",
- "@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
- "@babel/plugin-transform-function-name": "^7.18.9",
- "@babel/plugin-transform-literals": "^7.18.9",
- "@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.18.6",
- "@babel/plugin-transform-modules-commonjs": "^7.18.6",
- "@babel/plugin-transform-modules-systemjs": "^7.18.9",
- "@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6",
- "@babel/plugin-transform-new-target": "^7.18.6",
- "@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.18.8",
- "@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
- "@babel/plugin-transform-reserved-words": "^7.18.6",
- "@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.18.9",
- "@babel/plugin-transform-sticky-regex": "^7.18.6",
- "@babel/plugin-transform-template-literals": "^7.18.9",
- "@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
- "@babel/plugin-transform-unicode-regex": "^7.18.6",
- "@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.18.10",
- "babel-plugin-polyfill-corejs2": "^0.3.2",
- "babel-plugin-polyfill-corejs3": "^0.5.3",
- "babel-plugin-polyfill-regenerator": "^0.4.0",
- "core-js-compat": "^3.22.1",
- "semver": "^6.3.0"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/preset-modules": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz",
- "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
- "@babel/plugin-transform-dotall-regex": "^7.4.4",
- "@babel/types": "^7.4.4",
- "esutils": "^2.0.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/preset-react": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.18.6.tgz",
- "integrity": "sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-transform-react-display-name": "^7.18.6",
- "@babel/plugin-transform-react-jsx": "^7.18.6",
- "@babel/plugin-transform-react-jsx-development": "^7.18.6",
- "@babel/plugin-transform-react-pure-annotations": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/runtime": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",
- "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
- "dependencies": {
- "regenerator-runtime": "^0.13.4"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/template": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz",
- "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==",
- "dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/parser": "^7.18.10",
- "@babel/types": "^7.18.10"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/traverse": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz",
- "integrity": "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==",
- "dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.18.13",
- "@babel/types": "^7.18.13",
- "debug": "^4.1.0",
- "globals": "^11.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/types": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz",
- "integrity": "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==",
- "dependencies": {
- "@babel/helper-string-parser": "^7.18.10",
- "@babel/helper-validator-identifier": "^7.18.6",
- "to-fast-properties": "^2.0.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@emotion/babel-plugin": {
- "version": "11.10.2",
- "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz",
- "integrity": "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==",
- "dependencies": {
- "@babel/helper-module-imports": "^7.16.7",
- "@babel/plugin-syntax-jsx": "^7.17.12",
- "@babel/runtime": "^7.18.3",
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/serialize": "^1.1.0",
- "babel-plugin-macros": "^3.1.0",
- "convert-source-map": "^1.5.0",
- "escape-string-regexp": "^4.0.0",
- "find-root": "^1.1.0",
- "source-map": "^0.5.7",
- "stylis": "4.0.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@emotion/cache": {
- "version": "11.10.3",
- "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",
- "integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",
- "dependencies": {
- "@emotion/memoize": "^0.8.0",
- "@emotion/sheet": "^1.2.0",
- "@emotion/utils": "^1.2.0",
- "@emotion/weak-memoize": "^0.3.0",
- "stylis": "4.0.13"
- }
- },
- "node_modules/@emotion/hash": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",
- "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="
- },
- "node_modules/@emotion/is-prop-valid": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz",
- "integrity": "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==",
- "dependencies": {
- "@emotion/memoize": "^0.8.0"
- }
- },
- "node_modules/@emotion/memoize": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz",
- "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA=="
- },
- "node_modules/@emotion/react": {
- "version": "11.10.4",
- "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz",
- "integrity": "sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/cache": "^11.10.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
- "@emotion/utils": "^1.2.0",
- "@emotion/weak-memoize": "^0.3.0",
- "hoist-non-react-statics": "^3.3.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0",
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/serialize": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",
- "integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",
- "dependencies": {
- "@emotion/hash": "^0.9.0",
- "@emotion/memoize": "^0.8.0",
- "@emotion/unitless": "^0.8.0",
- "@emotion/utils": "^1.2.0",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@emotion/sheet": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",
- "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="
- },
- "node_modules/@emotion/styled": {
- "version": "11.10.4",
- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz",
- "integrity": "sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
- "@emotion/utils": "^1.2.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0",
- "@emotion/react": "^11.0.0-rc.0",
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/unitless": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",
- "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="
- },
- "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz",
- "integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==",
- "peerDependencies": {
- "react": ">=16.8.0"
- }
- },
- "node_modules/@emotion/utils": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",
- "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="
- },
- "node_modules/@emotion/weak-memoize": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",
- "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="
- },
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz",
- "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==",
- "dependencies": {
- "@jridgewell/set-array": "^1.0.0",
- "@jridgewell/sourcemap-codec": "^1.4.10"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
- "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/set-array": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
- "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.14",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
- "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.15",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz",
- "integrity": "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.0.3",
- "@jridgewell/sourcemap-codec": "^1.4.10"
- }
- },
- "node_modules/@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz",
- "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
- "optional": true
- },
- "node_modules/@streetwriters/rebass": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass/5.0.0/92e87b0ef07df1835b8d7083e31f170704a9d9eb",
- "integrity": "sha512-ej9SimSLZjkx30z4m4E70HnTPS92TytUZg0r3ActmtiWIYxMiCfEB+GvJwNDKDsbfcf5dRPmf5kP6fWHEToTtw==",
- "license": "MIT",
- "dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
- }
- },
- "node_modules/@streetwriters/rebass-bundler": {
- "version": "4.0.6",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass-bundler/4.0.6/e09635b6503316a7e8c71f1962beda9421d14672",
- "integrity": "sha512-W30H2ebZvsFuz0lzPGmuJpgGWImmjua39yR0Uw4GZPUqjHm+bmzeNOeWDgxh+o2lC9nvEP9rnGeiSkM9nNP8Pw==",
- "license": "MIT",
- "dependencies": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- },
- "bin": {
- "rebass-bundler": "index.js"
- }
- },
- "node_modules/@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass-forms/5.0.0/76bce2572af95cce38c4af070f03a4bd2e9c2da4",
- "integrity": "sha512-PWUhMlzldgvi4hKSdyZR0IyzuFDU/j5uVDBCDbjSHwqQ07cTFStNvjwDOwRTFsU4KnVI9usUIflM9oIqtgM/dA==",
- "license": "MIT",
- "dependencies": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
- }
- },
- "node_modules/@streetwriters/reflexbox": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/reflexbox/5.0.0/ee022be13340cd2a497b1610e92654062462504a",
- "integrity": "sha512-NrNWazQJeGI6ha2Lyl21F4isuLUVaCJVwFLjsc45U0d0tDdicvlHZgZlnLX9iDka8qZz9TOeaCaeYPwkAJUY0w==",
- "license": "MIT",
- "dependencies": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- },
- "peerDependencies": {
- "react": ">=17.0.0"
- }
- },
- "node_modules/@styled-system/background": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/background/-/background-5.1.2.tgz",
- "integrity": "sha512-jtwH2C/U6ssuGSvwTN3ri/IyjdHb8W9X/g8Y0JLcrH02G+BW3OS8kZdHphF1/YyRklnrKrBT2ngwGUK6aqqV3A==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/border": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/border/-/border-5.1.5.tgz",
- "integrity": "sha512-JvddhNrnhGigtzWRCVuAHepniyVi6hBlimxWDVAdcTuk7aRn9BYJUwfHslURtwYFsF5FoEs8Zmr1oZq2M1AP0A==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/color": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/color/-/color-5.1.2.tgz",
- "integrity": "sha512-1kCkeKDZkt4GYkuFNKc7vJQMcOmTl3bJY3YBUs7fCNM6mMYJeT1pViQ2LwBSBJytj3AB0o4IdLBoepgSgGl5MA==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/core": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.1.2.tgz",
- "integrity": "sha512-XclBDdNIy7OPOsN4HBsawG2eiWfCcuFt6gxKn1x4QfMIgeO6TOlA2pZZ5GWZtIhCUqEPTgIBta6JXsGyCkLBYw==",
- "dependencies": {
- "object-assign": "^4.1.1"
- }
- },
- "node_modules/@styled-system/css": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/css/-/css-5.1.5.tgz",
- "integrity": "sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A=="
- },
- "node_modules/@styled-system/flexbox": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.1.2.tgz",
- "integrity": "sha512-6hHV52+eUk654Y1J2v77B8iLeBNtc+SA3R4necsu2VVinSD7+XY5PCCEzBFaWs42dtOEDIa2lMrgL0YBC01mDQ==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/grid": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/grid/-/grid-5.1.2.tgz",
- "integrity": "sha512-K3YiV1KyHHzgdNuNlaw8oW2ktMuGga99o1e/NAfTEi5Zsa7JXxzwEnVSDSBdJC+z6R8WYTCYRQC6bkVFcvdTeg==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/layout": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/layout/-/layout-5.1.2.tgz",
- "integrity": "sha512-wUhkMBqSeacPFhoE9S6UF3fsMEKFv91gF4AdDWp0Aym1yeMPpqz9l9qS/6vjSsDPF7zOb5cOKC3tcKKOMuDCPw==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/position": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/position/-/position-5.1.2.tgz",
- "integrity": "sha512-60IZfMXEOOZe3l1mCu6sj/2NAyUmES2kR9Kzp7s2D3P4qKsZWxD1Se1+wJvevb+1TP+ZMkGPEYYXRyU8M1aF5A==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/shadow": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.1.2.tgz",
- "integrity": "sha512-wqniqYb7XuZM7K7C0d1Euxc4eGtqEe/lvM0WjuAFsQVImiq6KGT7s7is+0bNI8O4Dwg27jyu4Lfqo/oIQXNzAg==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/should-forward-prop": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz",
- "integrity": "sha512-+rPRomgCGYnUIaFabDoOgpSDc4UUJ1KsmlnzcEp0tu5lFrBQKgZclSo18Z1URhaZm7a6agGtS5Xif7tuC2s52Q==",
- "dependencies": {
- "@emotion/is-prop-valid": "^0.8.1",
- "@emotion/memoize": "^0.7.1",
- "styled-system": "^5.1.5"
- }
- },
- "node_modules/@styled-system/should-forward-prop/node_modules/@emotion/is-prop-valid": {
- "version": "0.8.8",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz",
- "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==",
- "dependencies": {
- "@emotion/memoize": "0.7.4"
- }
- },
- "node_modules/@styled-system/should-forward-prop/node_modules/@emotion/is-prop-valid/node_modules/@emotion/memoize": {
- "version": "0.7.4",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz",
- "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw=="
- },
- "node_modules/@styled-system/should-forward-prop/node_modules/@emotion/memoize": {
- "version": "0.7.5",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.5.tgz",
- "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ=="
- },
- "node_modules/@styled-system/space": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/space/-/space-5.1.2.tgz",
- "integrity": "sha512-+zzYpR8uvfhcAbaPXhH8QgDAV//flxqxSjHiS9cDFQQUSznXMQmxJegbhcdEF7/eNnJgHeIXv1jmny78kipgBA==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/typography": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/typography/-/typography-5.1.2.tgz",
- "integrity": "sha512-BxbVUnN8N7hJ4aaPOd7wEsudeT7CxarR+2hns8XCX1zp0DFfbWw4xYa/olA0oQaqx7F1hzDg+eRaGzAJbF+jOg==",
- "dependencies": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "node_modules/@styled-system/variant": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/variant/-/variant-5.1.5.tgz",
- "integrity": "sha512-Yn8hXAFoWIro8+Q5J8YJd/mP85Teiut3fsGVR9CAxwgNfIAiqlYxsk5iHU7VHJks/0KjL4ATSjmbtCDC/4l1qw==",
- "dependencies": {
- "@styled-system/core": "^5.1.2",
- "@styled-system/css": "^5.1.5"
- }
- },
- "node_modules/@types/parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
- },
- "node_modules/@types/tinycolor2": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.3.tgz",
- "integrity": "sha512-Kf1w9NE5HEgGxCRyIcRXR/ZYtDv0V8FVPtYHwLxl0O+maGX0erE77pQlD0gpP+/KByMZ87mOA79SjifhSB3PjQ==",
- "dev": true
- },
- "node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/anymatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
- "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
- "optional": true,
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/babel-plugin-dynamic-import-node": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
- "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
- "dependencies": {
- "object.assign": "^4.1.0"
- }
- },
- "node_modules/babel-plugin-macros": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
- "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
- "dependencies": {
- "@babel/runtime": "^7.12.5",
- "cosmiconfig": "^7.0.0",
- "resolve": "^1.19.0"
- },
- "engines": {
- "node": ">=10",
- "npm": ">=6"
- }
- },
- "node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.2.tgz",
- "integrity": "sha512-LPnodUl3lS0/4wN3Rb+m+UK8s7lj2jcLRrjho4gLw+OJs+I4bvGXshINesY5xx/apM+biTnQ9reDI8yj+0M5+Q==",
- "dependencies": {
- "@babel/compat-data": "^7.17.7",
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "semver": "^6.1.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/babel-plugin-polyfill-corejs3": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz",
- "integrity": "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==",
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "core-js-compat": "^3.21.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.0.tgz",
- "integrity": "sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw==",
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.3.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
- },
- "node_modules/binary-extensions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
- "optional": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "optional": true,
- "dependencies": {
- "fill-range": "^7.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/browserslist": {
- "version": "4.21.3",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz",
- "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- }
- ],
- "dependencies": {
- "caniuse-lite": "^1.0.30001370",
- "electron-to-chromium": "^1.4.202",
- "node-releases": "^2.0.6",
- "update-browserslist-db": "^1.0.5"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
- "node_modules/call-bind": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001385",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001385.tgz",
- "integrity": "sha512-MpiCqJGhBkHgpyimE9GWmZTnyHyEEM35u115bD3QBrXpjvL/JgcP8cUhKJshfmg4OtEHFenifcK5sZayEw5tvQ==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- }
- ]
- },
- "node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/chalk/node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/chokidar": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
- "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
- "optional": true,
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dependencies": {
- "color-name": "1.1.3"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
- },
- "node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
- },
- "node_modules/convert-source-map": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz",
- "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==",
- "dependencies": {
- "safe-buffer": "~5.1.1"
- }
- },
- "node_modules/core-js-compat": {
- "version": "3.25.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.0.tgz",
- "integrity": "sha512-extKQM0g8/3GjFx9US12FAgx8KJawB7RCQ5y8ipYLbmfzEzmFRWdDjIlxDx82g7ygcNG85qMVUSRyABouELdow==",
- "dependencies": {
- "browserslist": "^4.21.3",
- "semver": "7.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
- "node_modules/core-js-compat/node_modules/semver": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
- "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/cosmiconfig": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",
- "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",
- "dependencies": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/csstype": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz",
- "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA=="
- },
- "node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dependencies": {
- "ms": "2.1.2"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/define-properties": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz",
- "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==",
- "dependencies": {
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/electron-to-chromium": {
- "version": "1.4.235",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.235.tgz",
- "integrity": "sha512-eNU2SmVZYTzYVA5aAWmhAJbdVil5/8H5nMq6kGD0Yxd4k2uKIuT8YmS46I0QXY7iOoPPcb6jjem9/2xyuH5+XQ=="
- },
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dependencies": {
- "is-arrayish": "^0.2.1"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "optional": true,
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/find-root": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
- },
- "node_modules/fs-readdir-recursive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
- "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA=="
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
- },
- "node_modules/fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
- },
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
- "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "optional": true,
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
- "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
- "dependencies": {
- "get-intrinsic": "^1.1.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
- "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
- "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
- "dependencies": {
- "react-is": "^16.7.0"
- }
- },
- "node_modules/import-fresh": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
- "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
- },
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
- },
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "optional": true,
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-core-module": {
- "version": "2.10.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
- "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
- "dependencies": {
- "has": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "optional": true,
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "optional": true,
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
- },
- "node_modules/jsesc": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/json-parse-even-better-errors": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
- },
- "node_modules/json5": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
- },
- "node_modules/lodash.debounce": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
- "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="
- },
- "node_modules/make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
- "dependencies": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/make-dir/node_modules/semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
- },
- "node_modules/node-releases": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
- "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg=="
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.assign": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",
- "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "has-symbols": "^1.0.3",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/parse-json": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
- "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
- "dependencies": {
- "@babel/code-frame": "^7.0.0",
- "error-ex": "^1.3.1",
- "json-parse-even-better-errors": "^2.3.0",
- "lines-and-columns": "^1.1.6"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
- },
- "node_modules/path-type": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
- },
- "node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "optional": true,
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "optional": true,
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/regenerate": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
- "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="
- },
- "node_modules/regenerate-unicode-properties": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz",
- "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==",
- "dependencies": {
- "regenerate": "^1.4.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/regenerator-runtime": {
- "version": "0.13.9",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
- "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
- },
- "node_modules/regenerator-transform": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz",
- "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==",
- "dependencies": {
- "@babel/runtime": "^7.8.4"
- }
- },
- "node_modules/regexpu-core": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz",
- "integrity": "sha512-bb6hk+xWd2PEOkj5It46A16zFMs2mv86Iwpdu94la4S3sJ7C973h2dHpYKwIBGaWSO7cIRJ+UX0IeMaWcO4qwA==",
- "dependencies": {
- "regenerate": "^1.4.2",
- "regenerate-unicode-properties": "^10.0.1",
- "regjsgen": "^0.6.0",
- "regjsparser": "^0.8.2",
- "unicode-match-property-ecmascript": "^2.0.0",
- "unicode-match-property-value-ecmascript": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/regjsgen": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz",
- "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA=="
- },
- "node_modules/regjsparser": {
- "version": "0.8.4",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz",
- "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==",
- "dependencies": {
- "jsesc": "~0.5.0"
- },
- "bin": {
- "regjsparser": "bin/parser"
- }
- },
- "node_modules/regjsparser/node_modules/jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==",
- "bin": {
- "jsesc": "bin/jsesc"
- }
- },
- "node_modules/resolve": {
- "version": "1.22.1",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
- "dependencies": {
- "is-core-module": "^2.9.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "node_modules/semver": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/slash": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/styled-system": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz",
- "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==",
- "dependencies": {
- "@styled-system/background": "^5.1.2",
- "@styled-system/border": "^5.1.5",
- "@styled-system/color": "^5.1.2",
- "@styled-system/core": "^5.1.2",
- "@styled-system/flexbox": "^5.1.2",
- "@styled-system/grid": "^5.1.2",
- "@styled-system/layout": "^5.1.2",
- "@styled-system/position": "^5.1.2",
- "@styled-system/shadow": "^5.1.2",
- "@styled-system/space": "^5.1.2",
- "@styled-system/typography": "^5.1.2",
- "@styled-system/variant": "^5.1.5",
- "object-assign": "^4.1.1"
- }
- },
- "node_modules/stylis": {
- "version": "4.0.13",
- "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",
- "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="
- },
- "node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/tinycolor2": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz",
- "integrity": "sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/to-fast-properties": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "optional": true,
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/typescript": {
- "version": "4.8.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
- "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==",
- "dev": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/unicode-canonical-property-names-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
- "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-match-property-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz",
- "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==",
- "dependencies": {
- "unicode-canonical-property-names-ecmascript": "^2.0.0",
- "unicode-property-aliases-ecmascript": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-match-property-value-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz",
- "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/unicode-property-aliases-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz",
- "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/update-browserslist-db": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
- "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- }
- ],
- "dependencies": {
- "escalade": "^3.1.1",
- "picocolors": "^1.0.0"
- },
- "bin": {
- "browserslist-lint": "cli.js"
- },
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
- },
- "node_modules/yaml": {
- "version": "1.10.2",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
- "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
- "engines": {
- "node": ">= 6"
- }
- }
- },
- "dependencies": {
- "@ampproject/remapping": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",
- "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==",
- "requires": {
- "@jridgewell/gen-mapping": "^0.1.0",
- "@jridgewell/trace-mapping": "^0.3.9"
- }
- },
- "@babel/cli": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz",
- "integrity": "sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw==",
- "requires": {
- "@jridgewell/trace-mapping": "^0.3.8",
- "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
- "chokidar": "^3.4.0",
- "commander": "^4.0.1",
- "convert-source-map": "^1.1.0",
- "fs-readdir-recursive": "^1.1.0",
- "glob": "^7.2.0",
- "make-dir": "^2.1.0",
- "slash": "^2.0.0"
- }
- },
- "@babel/code-frame": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
- "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
- "requires": {
- "@babel/highlight": "^7.18.6"
- }
- },
- "@babel/compat-data": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.13.tgz",
- "integrity": "sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw=="
- },
- "@babel/core": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz",
- "integrity": "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==",
- "requires": {
- "@ampproject/remapping": "^2.1.0",
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.18.13",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helpers": "^7.18.9",
- "@babel/parser": "^7.18.13",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.13",
- "@babel/types": "^7.18.13",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.2",
- "json5": "^2.2.1",
- "semver": "^6.3.0"
- }
- },
- "@babel/generator": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz",
- "integrity": "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==",
- "requires": {
- "@babel/types": "^7.18.13",
- "@jridgewell/gen-mapping": "^0.3.2",
- "jsesc": "^2.5.1"
- },
- "dependencies": {
- "@jridgewell/gen-mapping": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz",
- "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==",
- "requires": {
- "@jridgewell/set-array": "^1.0.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.9"
- }
- }
- }
- },
- "@babel/helper-annotate-as-pure": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz",
- "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-builder-binary-assignment-operator-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz",
- "integrity": "sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==",
- "requires": {
- "@babel/helper-explode-assignable-expression": "^7.18.6",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-compilation-targets": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz",
- "integrity": "sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==",
- "requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-validator-option": "^7.18.6",
- "browserslist": "^4.20.2",
- "semver": "^6.3.0"
- }
- },
- "@babel/helper-create-class-features-plugin": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.13.tgz",
- "integrity": "sha512-hDvXp+QYxSRL+23mpAlSGxHMDyIGChm0/AwTfTAAK5Ufe40nCsyNdaYCGuK91phn/fVu9kqayImRDkvNAgdrsA==",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6"
- }
- },
- "@babel/helper-create-regexp-features-plugin": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz",
- "integrity": "sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "regexpu-core": "^5.1.0"
- }
- },
- "@babel/helper-define-polyfill-provider": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.2.tgz",
- "integrity": "sha512-r9QJJ+uDWrd+94BSPcP6/de67ygLtvVy6cK4luE6MOuDsZIdoaPBnfSpbO/+LTifjPckbKXRuI9BB/Z2/y3iTg==",
- "requires": {
- "@babel/helper-compilation-targets": "^7.17.7",
- "@babel/helper-plugin-utils": "^7.16.7",
- "debug": "^4.1.1",
- "lodash.debounce": "^4.0.8",
- "resolve": "^1.14.2",
- "semver": "^6.1.2"
- }
- },
- "@babel/helper-environment-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
- "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg=="
- },
- "@babel/helper-explode-assignable-expression": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz",
- "integrity": "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-function-name": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz",
- "integrity": "sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==",
- "requires": {
- "@babel/template": "^7.18.6",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-hoist-variables": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz",
- "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-member-expression-to-functions": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz",
- "integrity": "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==",
- "requires": {
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-module-imports": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz",
- "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-module-transforms": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz",
- "integrity": "sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/helper-validator-identifier": "^7.18.6",
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-optimise-call-expression": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz",
- "integrity": "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-plugin-utils": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz",
- "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w=="
- },
- "@babel/helper-remap-async-to-generator": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz",
- "integrity": "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-wrap-function": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-replace-supers": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.9.tgz",
- "integrity": "sha512-dNsWibVI4lNT6HiuOIBr1oyxo40HvIVmbwPUm3XZ7wMh4k2WxrxTqZwSqw/eEmXDS9np0ey5M2bz9tBmO9c+YQ==",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-member-expression-to-functions": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-simple-access": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz",
- "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz",
- "integrity": "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==",
- "requires": {
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/helper-split-export-declaration": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz",
- "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==",
- "requires": {
- "@babel/types": "^7.18.6"
- }
- },
- "@babel/helper-string-parser": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz",
- "integrity": "sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw=="
- },
- "@babel/helper-validator-identifier": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz",
- "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g=="
- },
- "@babel/helper-validator-option": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz",
- "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw=="
- },
- "@babel/helper-wrap-function": {
- "version": "7.18.11",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.11.tgz",
- "integrity": "sha512-oBUlbv+rjZLh2Ks9SKi4aL7eKaAXBWleHzU89mP0G6BMUlRxSckk9tSIkgDGydhgFxHuGSlBQZfnaD47oBEB7w==",
- "requires": {
- "@babel/helper-function-name": "^7.18.9",
- "@babel/template": "^7.18.10",
- "@babel/traverse": "^7.18.11",
- "@babel/types": "^7.18.10"
- }
- },
- "@babel/helpers": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz",
- "integrity": "sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==",
- "requires": {
- "@babel/template": "^7.18.6",
- "@babel/traverse": "^7.18.9",
- "@babel/types": "^7.18.9"
- }
- },
- "@babel/highlight": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",
- "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
- "requires": {
- "@babel/helper-validator-identifier": "^7.18.6",
- "chalk": "^2.0.0",
- "js-tokens": "^4.0.0"
- }
- },
- "@babel/parser": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz",
- "integrity": "sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg=="
- },
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz",
- "integrity": "sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz",
- "integrity": "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9"
- }
- },
- "@babel/plugin-proposal-async-generator-functions": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz",
- "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==",
- "requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-remap-async-to-generator": "^7.18.9",
- "@babel/plugin-syntax-async-generators": "^7.8.4"
- }
- },
- "@babel/plugin-proposal-class-properties": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz",
- "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-proposal-class-static-block": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz",
- "integrity": "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-class-static-block": "^7.14.5"
- }
- },
- "@babel/plugin-proposal-dynamic-import": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz",
- "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-export-namespace-from": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz",
- "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-json-strings": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz",
- "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz",
- "integrity": "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
- }
- },
- "@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz",
- "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-numeric-separator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz",
- "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4"
- }
- },
- "@babel/plugin-proposal-object-rest-spread": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz",
- "integrity": "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==",
- "requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.18.8"
- }
- },
- "@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz",
- "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-optional-chaining": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz",
- "integrity": "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3"
- }
- },
- "@babel/plugin-proposal-private-methods": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz",
- "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==",
- "requires": {
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-proposal-private-property-in-object": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz",
- "integrity": "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-create-class-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
- }
- },
- "@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz",
- "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-async-generators": {
- "version": "7.8.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
- "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-class-properties": {
- "version": "7.12.13",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
- "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.12.13"
- }
- },
- "@babel/plugin-syntax-class-static-block": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
- "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-syntax-dynamic-import": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz",
- "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-export-namespace-from": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz",
- "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.3"
- }
- },
- "@babel/plugin-syntax-import-assertions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz",
- "integrity": "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-json-strings": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
- "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-jsx": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",
- "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-syntax-logical-assignment-operators": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
- "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.10.4"
- }
- },
- "@babel/plugin-syntax-nullish-coalescing-operator": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
- "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-numeric-separator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
- "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.10.4"
- }
- },
- "@babel/plugin-syntax-object-rest-spread": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
- "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-optional-catch-binding": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
- "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-optional-chaining": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
- "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.8.0"
- }
- },
- "@babel/plugin-syntax-private-property-in-object": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
- "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-syntax-top-level-await": {
- "version": "7.14.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
- "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.14.5"
- }
- },
- "@babel/plugin-transform-arrow-functions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz",
- "integrity": "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-async-to-generator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz",
- "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==",
- "requires": {
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-remap-async-to-generator": "^7.18.6"
- }
- },
- "@babel/plugin-transform-block-scoped-functions": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz",
- "integrity": "sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-block-scoping": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz",
- "integrity": "sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-classes": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz",
- "integrity": "sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g==",
- "requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-optimise-call-expression": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-replace-supers": "^7.18.9",
- "@babel/helper-split-export-declaration": "^7.18.6",
- "globals": "^11.1.0"
- }
- },
- "@babel/plugin-transform-computed-properties": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz",
- "integrity": "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-destructuring": {
- "version": "7.18.13",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz",
- "integrity": "sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-dotall-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz",
- "integrity": "sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node": ">=4"
}
},
- "@babel/plugin-transform-duplicate-keys": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz",
- "integrity": "sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "peer": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "@babel/plugin-transform-exponentiation-operator": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz",
- "integrity": "sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==",
- "requires": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/tinycolor2": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz",
+ "integrity": "sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==",
+ "engines": {
+ "node": "*"
}
},
- "@babel/plugin-transform-for-of": {
- "version": "7.18.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz",
- "integrity": "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "peer": true,
+ "engines": {
+ "node": ">=4"
}
},
- "@babel/plugin-transform-function-name": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz",
- "integrity": "sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==",
- "requires": {
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-function-name": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/typescript": {
+ "version": "4.8.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
+ "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==",
+ "dev": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=4.2.0"
}
},
- "@babel/plugin-transform-literals": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz",
- "integrity": "sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "node_modules/update-browserslist-db": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
+ "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ }
+ ],
+ "peer": true,
+ "dependencies": {
+ "escalade": "^3.1.1",
+ "picocolors": "^1.0.0"
+ },
+ "bin": {
+ "browserslist-lint": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
}
},
- "@babel/plugin-transform-member-expression-literals": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz",
- "integrity": "sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "node_modules/yaml": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
+ "peer": true,
+ "engines": {
+ "node": ">= 6"
}
- },
- "@babel/plugin-transform-modules-amd": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz",
- "integrity": "sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg==",
+ }
+ },
+ "dependencies": {
+ "@ampproject/remapping": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",
+ "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==",
+ "peer": true,
"requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "@jridgewell/gen-mapping": "^0.1.0",
+ "@jridgewell/trace-mapping": "^0.3.9"
}
},
- "@babel/plugin-transform-modules-commonjs": {
+ "@babel/code-frame": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz",
- "integrity": "sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
+ "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "peer": true,
"requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-simple-access": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
+ "@babel/highlight": "^7.18.6"
}
},
- "@babel/plugin-transform-modules-systemjs": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz",
- "integrity": "sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A==",
- "requires": {
- "@babel/helper-hoist-variables": "^7.18.6",
- "@babel/helper-module-transforms": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-identifier": "^7.18.6",
- "babel-plugin-dynamic-import-node": "^2.3.3"
- }
+ "@babel/compat-data": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.13.tgz",
+ "integrity": "sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw==",
+ "peer": true
},
- "@babel/plugin-transform-modules-umd": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz",
- "integrity": "sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==",
+ "@babel/core": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz",
+ "integrity": "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==",
+ "peer": true,
"requires": {
- "@babel/helper-module-transforms": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@ampproject/remapping": "^2.1.0",
+ "@babel/code-frame": "^7.18.6",
+ "@babel/generator": "^7.18.13",
+ "@babel/helper-compilation-targets": "^7.18.9",
+ "@babel/helper-module-transforms": "^7.18.9",
+ "@babel/helpers": "^7.18.9",
+ "@babel/parser": "^7.18.13",
+ "@babel/template": "^7.18.10",
+ "@babel/traverse": "^7.18.13",
+ "@babel/types": "^7.18.13",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.1",
+ "semver": "^6.3.0"
}
},
- "@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz",
- "integrity": "sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg==",
+ "@babel/generator": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz",
+ "integrity": "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==",
+ "peer": true,
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/types": "^7.18.13",
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "jsesc": "^2.5.1"
+ },
+ "dependencies": {
+ "@jridgewell/gen-mapping": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz",
+ "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==",
+ "peer": true,
+ "requires": {
+ "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ }
+ }
}
},
- "@babel/plugin-transform-new-target": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz",
- "integrity": "sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==",
+ "@babel/helper-compilation-targets": {
+ "version": "7.18.9",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz",
+ "integrity": "sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/compat-data": "^7.18.8",
+ "@babel/helper-validator-option": "^7.18.6",
+ "browserslist": "^4.20.2",
+ "semver": "^6.3.0"
}
},
- "@babel/plugin-transform-object-super": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz",
- "integrity": "sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-replace-supers": "^7.18.6"
- }
+ "@babel/helper-environment-visitor": {
+ "version": "7.18.9",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
+ "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
+ "peer": true
},
- "@babel/plugin-transform-parameters": {
- "version": "7.18.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz",
- "integrity": "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==",
+ "@babel/helper-function-name": {
+ "version": "7.18.9",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz",
+ "integrity": "sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/template": "^7.18.6",
+ "@babel/types": "^7.18.9"
}
},
- "@babel/plugin-transform-property-literals": {
+ "@babel/helper-hoist-variables": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz",
- "integrity": "sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz",
+ "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/types": "^7.18.6"
}
},
- "@babel/plugin-transform-react-display-name": {
+ "@babel/helper-module-imports": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz",
- "integrity": "sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz",
+ "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/types": "^7.18.6"
}
},
- "@babel/plugin-transform-react-jsx": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.18.10.tgz",
- "integrity": "sha512-gCy7Iikrpu3IZjYZolFE4M1Sm+nrh1/6za2Ewj77Z+XirT4TsbJcvOFOyF+fRPwU6AKKK136CZxx6L8AbSFG6A==",
+ "@babel/helper-module-transforms": {
+ "version": "7.18.9",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz",
+ "integrity": "sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==",
+ "peer": true,
"requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
+ "@babel/helper-environment-visitor": "^7.18.9",
"@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/plugin-syntax-jsx": "^7.18.6",
- "@babel/types": "^7.18.10"
+ "@babel/helper-simple-access": "^7.18.6",
+ "@babel/helper-split-export-declaration": "^7.18.6",
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "@babel/template": "^7.18.6",
+ "@babel/traverse": "^7.18.9",
+ "@babel/types": "^7.18.9"
}
},
- "@babel/plugin-transform-react-jsx-development": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz",
- "integrity": "sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==",
- "requires": {
- "@babel/plugin-transform-react-jsx": "^7.18.6"
- }
+ "@babel/helper-plugin-utils": {
+ "version": "7.18.9",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz",
+ "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==",
+ "peer": true
},
- "@babel/plugin-transform-react-pure-annotations": {
+ "@babel/helper-simple-access": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.6.tgz",
- "integrity": "sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ==",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz",
+ "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==",
+ "peer": true,
"requires": {
- "@babel/helper-annotate-as-pure": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
+ "@babel/types": "^7.18.6"
}
},
- "@babel/plugin-transform-regenerator": {
+ "@babel/helper-split-export-declaration": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz",
- "integrity": "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz",
+ "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "regenerator-transform": "^0.15.0"
+ "@babel/types": "^7.18.6"
}
},
- "@babel/plugin-transform-reserved-words": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz",
- "integrity": "sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
+ "@babel/helper-string-parser": {
+ "version": "7.18.10",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz",
+ "integrity": "sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==",
+ "peer": true
},
- "@babel/plugin-transform-shorthand-properties": {
+ "@babel/helper-validator-identifier": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz",
- "integrity": "sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-spread": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz",
- "integrity": "sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9"
- }
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz",
+ "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==",
+ "peer": true
},
- "@babel/plugin-transform-sticky-regex": {
+ "@babel/helper-validator-option": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz",
- "integrity": "sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/plugin-transform-template-literals": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz",
- "integrity": "sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz",
+ "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==",
+ "peer": true
},
- "@babel/plugin-transform-typeof-symbol": {
+ "@babel/helpers": {
"version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz",
- "integrity": "sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz",
- "integrity": "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
- }
- },
- "@babel/plugin-transform-unicode-regex": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz",
- "integrity": "sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==",
- "requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- }
- },
- "@babel/preset-env": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz",
- "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz",
+ "integrity": "sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==",
+ "peer": true,
"requires": {
- "@babel/compat-data": "^7.18.8",
- "@babel/helper-compilation-targets": "^7.18.9",
- "@babel/helper-plugin-utils": "^7.18.9",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.18.10",
- "@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
- "@babel/plugin-proposal-dynamic-import": "^7.18.6",
- "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
- "@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
- "@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
- "@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
- "@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
- "@babel/plugin-syntax-async-generators": "^7.8.4",
- "@babel/plugin-syntax-class-properties": "^7.12.13",
- "@babel/plugin-syntax-class-static-block": "^7.14.5",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
- "@babel/plugin-syntax-import-assertions": "^7.18.6",
- "@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
- "@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
- "@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.18.9",
- "@babel/plugin-transform-classes": "^7.18.9",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.18.9",
- "@babel/plugin-transform-dotall-regex": "^7.18.6",
- "@babel/plugin-transform-duplicate-keys": "^7.18.9",
- "@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
- "@babel/plugin-transform-function-name": "^7.18.9",
- "@babel/plugin-transform-literals": "^7.18.9",
- "@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.18.6",
- "@babel/plugin-transform-modules-commonjs": "^7.18.6",
- "@babel/plugin-transform-modules-systemjs": "^7.18.9",
- "@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6",
- "@babel/plugin-transform-new-target": "^7.18.6",
- "@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.18.8",
- "@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
- "@babel/plugin-transform-reserved-words": "^7.18.6",
- "@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.18.9",
- "@babel/plugin-transform-sticky-regex": "^7.18.6",
- "@babel/plugin-transform-template-literals": "^7.18.9",
- "@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
- "@babel/plugin-transform-unicode-regex": "^7.18.6",
- "@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.18.10",
- "babel-plugin-polyfill-corejs2": "^0.3.2",
- "babel-plugin-polyfill-corejs3": "^0.5.3",
- "babel-plugin-polyfill-regenerator": "^0.4.0",
- "core-js-compat": "^3.22.1",
- "semver": "^6.3.0"
+ "@babel/template": "^7.18.6",
+ "@babel/traverse": "^7.18.9",
+ "@babel/types": "^7.18.9"
}
},
- "@babel/preset-modules": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz",
- "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==",
+ "@babel/highlight": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",
+ "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
- "@babel/plugin-transform-dotall-regex": "^7.4.4",
- "@babel/types": "^7.4.4",
- "esutils": "^2.0.2"
+ "@babel/helper-validator-identifier": "^7.18.6",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
}
},
- "@babel/preset-react": {
+ "@babel/parser": {
+ "version": "7.18.13",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz",
+ "integrity": "sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==",
+ "peer": true
+ },
+ "@babel/plugin-syntax-jsx": {
"version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.18.6.tgz",
- "integrity": "sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz",
+ "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==",
+ "peer": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.6",
- "@babel/helper-validator-option": "^7.18.6",
- "@babel/plugin-transform-react-display-name": "^7.18.6",
- "@babel/plugin-transform-react-jsx": "^7.18.6",
- "@babel/plugin-transform-react-jsx-development": "^7.18.6",
- "@babel/plugin-transform-react-pure-annotations": "^7.18.6"
+ "@babel/helper-plugin-utils": "^7.18.6"
}
},
"@babel/runtime": {
"version": "7.18.9",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
+ "peer": true,
"requires": {
"regenerator-runtime": "^0.13.4"
}
@@ -4194,6 +1403,7 @@
"version": "7.18.10",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz",
"integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==",
+ "peer": true,
"requires": {
"@babel/code-frame": "^7.18.6",
"@babel/parser": "^7.18.10",
@@ -4204,6 +1414,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz",
"integrity": "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==",
+ "peer": true,
"requires": {
"@babel/code-frame": "^7.18.6",
"@babel/generator": "^7.18.13",
@@ -4221,6 +1432,7 @@
"version": "7.18.13",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz",
"integrity": "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==",
+ "peer": true,
"requires": {
"@babel/helper-string-parser": "^7.18.10",
"@babel/helper-validator-identifier": "^7.18.6",
@@ -4231,6 +1443,7 @@
"version": "11.10.2",
"resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz",
"integrity": "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==",
+ "peer": true,
"requires": {
"@babel/helper-module-imports": "^7.16.7",
"@babel/plugin-syntax-jsx": "^7.17.12",
@@ -4250,6 +1463,7 @@
"version": "11.10.3",
"resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz",
"integrity": "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==",
+ "peer": true,
"requires": {
"@emotion/memoize": "^0.8.0",
"@emotion/sheet": "^1.2.0",
@@ -4261,25 +1475,20 @@
"@emotion/hash": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz",
- "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ=="
- },
- "@emotion/is-prop-valid": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz",
- "integrity": "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==",
- "requires": {
- "@emotion/memoize": "^0.8.0"
- }
+ "integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==",
+ "peer": true
},
"@emotion/memoize": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz",
- "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA=="
+ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==",
+ "peer": true
},
"@emotion/react": {
"version": "11.10.4",
"resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz",
"integrity": "sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA==",
+ "peer": true,
"requires": {
"@babel/runtime": "^7.18.3",
"@emotion/babel-plugin": "^11.10.0",
@@ -4295,6 +1504,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz",
"integrity": "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==",
+ "peer": true,
"requires": {
"@emotion/hash": "^0.9.0",
"@emotion/memoize": "^0.8.0",
@@ -4306,45 +1516,39 @@
"@emotion/sheet": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz",
- "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w=="
- },
- "@emotion/styled": {
- "version": "11.10.4",
- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz",
- "integrity": "sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ==",
- "requires": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.10.0",
- "@emotion/is-prop-valid": "^1.2.0",
- "@emotion/serialize": "^1.1.0",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
- "@emotion/utils": "^1.2.0"
- }
+ "integrity": "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w==",
+ "peer": true
},
"@emotion/unitless": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz",
- "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw=="
+ "integrity": "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw==",
+ "peer": true
},
"@emotion/use-insertion-effect-with-fallbacks": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz",
- "integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A=="
+ "integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==",
+ "peer": true,
+ "requires": {}
},
"@emotion/utils": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz",
- "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw=="
+ "integrity": "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw==",
+ "peer": true
},
"@emotion/weak-memoize": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz",
- "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg=="
+ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==",
+ "peer": true
},
"@jridgewell/gen-mapping": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz",
"integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==",
+ "peer": true,
"requires": {
"@jridgewell/set-array": "^1.0.0",
"@jridgewell/sourcemap-codec": "^1.4.10"
@@ -4353,214 +1557,62 @@
"@jridgewell/resolve-uri": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
- "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w=="
+ "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
+ "peer": true
},
"@jridgewell/set-array": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
- "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw=="
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "peer": true
},
"@jridgewell/sourcemap-codec": {
"version": "1.4.14",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
- "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==",
+ "peer": true
},
"@jridgewell/trace-mapping": {
"version": "0.3.15",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz",
"integrity": "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==",
+ "peer": true,
"requires": {
"@jridgewell/resolve-uri": "^3.0.3",
"@jridgewell/sourcemap-codec": "^1.4.10"
}
},
- "@nicolo-ribaudo/chokidar-2": {
- "version": "2.1.8-no-fsevents.3",
- "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz",
- "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
- "optional": true
- },
- "@streetwriters/rebass": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass/5.0.0/92e87b0ef07df1835b8d7083e31f170704a9d9eb",
- "integrity": "sha512-ej9SimSLZjkx30z4m4E70HnTPS92TytUZg0r3ActmtiWIYxMiCfEB+GvJwNDKDsbfcf5dRPmf5kP6fWHEToTtw==",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0"
- }
- },
- "@streetwriters/rebass-bundler": {
- "version": "4.0.6",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass-bundler/4.0.6/e09635b6503316a7e8c71f1962beda9421d14672",
- "integrity": "sha512-W30H2ebZvsFuz0lzPGmuJpgGWImmjua39yR0Uw4GZPUqjHm+bmzeNOeWDgxh+o2lC9nvEP9rnGeiSkM9nNP8Pw==",
- "requires": {
- "@babel/cli": "^7.18.10",
- "@babel/core": "^7.18.13",
- "@babel/preset-env": "^7.18.10",
- "@babel/preset-react": "^7.18.6"
- }
- },
- "@streetwriters/rebass-forms": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/rebass-forms/5.0.0/76bce2572af95cce38c4af070f03a4bd2e9c2da4",
- "integrity": "sha512-PWUhMlzldgvi4hKSdyZR0IyzuFDU/j5uVDBCDbjSHwqQ07cTFStNvjwDOwRTFsU4KnVI9usUIflM9oIqtgM/dA==",
- "requires": {
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@streetwriters/reflexbox": "^5.0.0",
- "@styled-system/should-forward-prop": "^5.1.5"
- }
- },
- "@streetwriters/reflexbox": {
- "version": "5.0.0",
- "resolved": "https://npm.pkg.github.com/download/@streetwriters/reflexbox/5.0.0/ee022be13340cd2a497b1610e92654062462504a",
- "integrity": "sha512-NrNWazQJeGI6ha2Lyl21F4isuLUVaCJVwFLjsc45U0d0tDdicvlHZgZlnLX9iDka8qZz9TOeaCaeYPwkAJUY0w==",
- "requires": {
- "@emotion/react": "^11.10.0",
- "@emotion/styled": "^11.1.0",
- "@streetwriters/rebass-bundler": "^4.0.6",
- "@styled-system/css": "^5.1.5",
- "@styled-system/should-forward-prop": "^5.1.5",
- "styled-system": "^5.1.5"
- }
- },
- "@styled-system/background": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/background/-/background-5.1.2.tgz",
- "integrity": "sha512-jtwH2C/U6ssuGSvwTN3ri/IyjdHb8W9X/g8Y0JLcrH02G+BW3OS8kZdHphF1/YyRklnrKrBT2ngwGUK6aqqV3A==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/border": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/border/-/border-5.1.5.tgz",
- "integrity": "sha512-JvddhNrnhGigtzWRCVuAHepniyVi6hBlimxWDVAdcTuk7aRn9BYJUwfHslURtwYFsF5FoEs8Zmr1oZq2M1AP0A==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/color": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/color/-/color-5.1.2.tgz",
- "integrity": "sha512-1kCkeKDZkt4GYkuFNKc7vJQMcOmTl3bJY3YBUs7fCNM6mMYJeT1pViQ2LwBSBJytj3AB0o4IdLBoepgSgGl5MA==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/core": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/core/-/core-5.1.2.tgz",
- "integrity": "sha512-XclBDdNIy7OPOsN4HBsawG2eiWfCcuFt6gxKn1x4QfMIgeO6TOlA2pZZ5GWZtIhCUqEPTgIBta6JXsGyCkLBYw==",
- "requires": {
- "object-assign": "^4.1.1"
- }
- },
- "@styled-system/css": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/css/-/css-5.1.5.tgz",
- "integrity": "sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A=="
- },
- "@styled-system/flexbox": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.1.2.tgz",
- "integrity": "sha512-6hHV52+eUk654Y1J2v77B8iLeBNtc+SA3R4necsu2VVinSD7+XY5PCCEzBFaWs42dtOEDIa2lMrgL0YBC01mDQ==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/grid": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/grid/-/grid-5.1.2.tgz",
- "integrity": "sha512-K3YiV1KyHHzgdNuNlaw8oW2ktMuGga99o1e/NAfTEi5Zsa7JXxzwEnVSDSBdJC+z6R8WYTCYRQC6bkVFcvdTeg==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/layout": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/layout/-/layout-5.1.2.tgz",
- "integrity": "sha512-wUhkMBqSeacPFhoE9S6UF3fsMEKFv91gF4AdDWp0Aym1yeMPpqz9l9qS/6vjSsDPF7zOb5cOKC3tcKKOMuDCPw==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/position": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/position/-/position-5.1.2.tgz",
- "integrity": "sha512-60IZfMXEOOZe3l1mCu6sj/2NAyUmES2kR9Kzp7s2D3P4qKsZWxD1Se1+wJvevb+1TP+ZMkGPEYYXRyU8M1aF5A==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/shadow": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.1.2.tgz",
- "integrity": "sha512-wqniqYb7XuZM7K7C0d1Euxc4eGtqEe/lvM0WjuAFsQVImiq6KGT7s7is+0bNI8O4Dwg27jyu4Lfqo/oIQXNzAg==",
- "requires": {
- "@styled-system/core": "^5.1.2"
- }
- },
- "@styled-system/should-forward-prop": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz",
- "integrity": "sha512-+rPRomgCGYnUIaFabDoOgpSDc4UUJ1KsmlnzcEp0tu5lFrBQKgZclSo18Z1URhaZm7a6agGtS5Xif7tuC2s52Q==",
- "requires": {
- "@emotion/is-prop-valid": "^0.8.1",
- "@emotion/memoize": "^0.7.1",
- "styled-system": "^5.1.5"
- },
- "dependencies": {
- "@emotion/is-prop-valid": {
- "version": "0.8.8",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz",
- "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==",
- "requires": {
- "@emotion/memoize": "0.7.4"
- },
- "dependencies": {
- "@emotion/memoize": {
- "version": "0.7.4",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz",
- "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw=="
- }
- }
- },
- "@emotion/memoize": {
- "version": "0.7.5",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.5.tgz",
- "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ=="
- }
- }
- },
- "@styled-system/space": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/space/-/space-5.1.2.tgz",
- "integrity": "sha512-+zzYpR8uvfhcAbaPXhH8QgDAV//flxqxSjHiS9cDFQQUSznXMQmxJegbhcdEF7/eNnJgHeIXv1jmny78kipgBA==",
+ "@theme-ui/core": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/core/-/core-0.14.7.tgz",
+ "integrity": "sha512-u60cKOZYsGDG9sSoM4jYj743OpNXXU27f7vXGwrO/B1t/1sv1MAQA0R8HtVwoi9DyOIcOmWfMWYTiMg+4vV1MA==",
"requires": {
- "@styled-system/core": "^5.1.2"
+ "@theme-ui/css": "0.14.7",
+ "@theme-ui/parse-props": "0.14.7",
+ "deepmerge": "^4.2.2"
}
},
- "@styled-system/typography": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/@styled-system/typography/-/typography-5.1.2.tgz",
- "integrity": "sha512-BxbVUnN8N7hJ4aaPOd7wEsudeT7CxarR+2hns8XCX1zp0DFfbWw4xYa/olA0oQaqx7F1hzDg+eRaGzAJbF+jOg==",
+ "@theme-ui/css": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/css/-/css-0.14.7.tgz",
+ "integrity": "sha512-DbGw0T4MrTjiRs6lnyYgSD2TV/LvFErzDDpm0ICPL2KqDwqgHX4mFpDafj8/DkyCO9wx2KEiUuE+0NtOlR3i4w==",
"requires": {
- "@styled-system/core": "^5.1.2"
+ "csstype": "^3.0.10"
}
},
- "@styled-system/variant": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@styled-system/variant/-/variant-5.1.5.tgz",
- "integrity": "sha512-Yn8hXAFoWIro8+Q5J8YJd/mP85Teiut3fsGVR9CAxwgNfIAiqlYxsk5iHU7VHJks/0KjL4ATSjmbtCDC/4l1qw==",
+ "@theme-ui/parse-props": {
+ "version": "0.14.7",
+ "resolved": "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.14.7.tgz",
+ "integrity": "sha512-qF10mAYs3wcIkSU5ZSbmHUngwTkPS87D23qg1ArbeO+m+/e4uqOy0+6W0Lt/4JTP7lnWWsCYuScK3F3hOp2q0w==",
"requires": {
- "@styled-system/core": "^5.1.2",
- "@styled-system/css": "^5.1.5"
+ "@theme-ui/css": "0.14.7"
}
},
"@types/parse-json": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
+ "peer": true
},
"@types/tinycolor2": {
"version": "1.4.3",
@@ -4572,98 +1624,27 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "peer": true,
"requires": {
"color-convert": "^1.9.0"
}
},
- "anymatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
- "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
- "optional": true,
- "requires": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- }
- },
- "babel-plugin-dynamic-import-node": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
- "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
- "requires": {
- "object.assign": "^4.1.0"
- }
- },
"babel-plugin-macros": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
"integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "peer": true,
"requires": {
"@babel/runtime": "^7.12.5",
"cosmiconfig": "^7.0.0",
"resolve": "^1.19.0"
}
},
- "babel-plugin-polyfill-corejs2": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.2.tgz",
- "integrity": "sha512-LPnodUl3lS0/4wN3Rb+m+UK8s7lj2jcLRrjho4gLw+OJs+I4bvGXshINesY5xx/apM+biTnQ9reDI8yj+0M5+Q==",
- "requires": {
- "@babel/compat-data": "^7.17.7",
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "semver": "^6.1.1"
- }
- },
- "babel-plugin-polyfill-corejs3": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz",
- "integrity": "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==",
- "requires": {
- "@babel/helper-define-polyfill-provider": "^0.3.2",
- "core-js-compat": "^3.21.0"
- }
- },
- "babel-plugin-polyfill-regenerator": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.0.tgz",
- "integrity": "sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw==",
- "requires": {
- "@babel/helper-define-polyfill-provider": "^0.3.2"
- }
- },
- "balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
- },
- "binary-extensions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
- "optional": true
- },
- "brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "requires": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "optional": true,
- "requires": {
- "fill-range": "^7.0.1"
- }
- },
"browserslist": {
"version": "4.21.3",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz",
"integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==",
+ "peer": true,
"requires": {
"caniuse-lite": "^1.0.30001370",
"electron-to-chromium": "^1.4.202",
@@ -4671,29 +1652,23 @@
"update-browserslist-db": "^1.0.5"
}
},
- "call-bind": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
- "requires": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- }
- },
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "peer": true
},
"caniuse-lite": {
"version": "1.0.30001385",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001385.tgz",
- "integrity": "sha512-MpiCqJGhBkHgpyimE9GWmZTnyHyEEM35u115bD3QBrXpjvL/JgcP8cUhKJshfmg4OtEHFenifcK5sZayEw5tvQ=="
+ "integrity": "sha512-MpiCqJGhBkHgpyimE9GWmZTnyHyEEM35u115bD3QBrXpjvL/JgcP8cUhKJshfmg4OtEHFenifcK5sZayEw5tvQ==",
+ "peer": true
},
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "peer": true,
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -4703,30 +1678,16 @@
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg=="
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "peer": true
}
}
},
- "chokidar": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
- "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
- "optional": true,
- "requires": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "fsevents": "~2.3.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- }
- },
"color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "peer": true,
"requires": {
"color-name": "1.1.3"
}
@@ -4734,46 +1695,23 @@
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
- },
- "commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="
- },
- "concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "peer": true
},
"convert-source-map": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz",
"integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==",
+ "peer": true,
"requires": {
"safe-buffer": "~5.1.1"
}
},
- "core-js-compat": {
- "version": "3.25.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.0.tgz",
- "integrity": "sha512-extKQM0g8/3GjFx9US12FAgx8KJawB7RCQ5y8ipYLbmfzEzmFRWdDjIlxDx82g7ygcNG85qMVUSRyABouELdow==",
- "requires": {
- "browserslist": "^4.21.3",
- "semver": "7.0.0"
- },
- "dependencies": {
- "semver": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
- "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A=="
- }
- }
- },
"cosmiconfig": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz",
"integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==",
+ "peer": true,
"requires": {
"@types/parse-json": "^4.0.0",
"import-fresh": "^3.2.1",
@@ -4783,36 +1721,35 @@
}
},
"csstype": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz",
- "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA=="
+ "version": "3.0.11",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.11.tgz",
+ "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw=="
},
"debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "peer": true,
"requires": {
"ms": "2.1.2"
}
},
- "define-properties": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz",
- "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==",
- "requires": {
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- }
+ "deepmerge": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg=="
},
"electron-to-chromium": {
- "version": "1.4.235",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.235.tgz",
- "integrity": "sha512-eNU2SmVZYTzYVA5aAWmhAJbdVil5/8H5nMq6kGD0Yxd4k2uKIuT8YmS46I0QXY7iOoPPcb6jjem9/2xyuH5+XQ=="
+ "version": "1.4.237",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.237.tgz",
+ "integrity": "sha512-vxVyGJcsgArNOVUJcXm+7iY3PJAfmSapEszQD1HbyPLl0qoCmNQ1o/EX3RI7Et5/88In9oLxX3SGF8J3orkUgA==",
+ "peer": true
},
"error-ex": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "peer": true,
"requires": {
"is-arrayish": "^0.2.1"
}
@@ -4820,99 +1757,44 @@
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "peer": true
},
"escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
- },
- "esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
- },
- "fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "optional": true,
- "requires": {
- "to-regex-range": "^5.0.1"
- }
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "peer": true
},
"find-root": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
- },
- "fs-readdir-recursive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
- "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA=="
- },
- "fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
- },
- "fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "optional": true
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
+ "peer": true
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
+ "peer": true
},
"gensync": {
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
- },
- "get-intrinsic": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
- "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
- "requires": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- }
- },
- "glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
- "glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "optional": true,
- "requires": {
- "is-glob": "^4.0.1"
- }
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "peer": true
},
"globals": {
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "peer": true
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "peer": true,
"requires": {
"function-bind": "^1.1.1"
}
@@ -4920,25 +1802,14 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
- },
- "has-property-descriptors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
- "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
- "requires": {
- "get-intrinsic": "^1.1.1"
- }
- },
- "has-symbols": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
- "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "peer": true
},
"hoist-non-react-statics": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
"integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "peer": true,
"requires": {
"react-is": "^16.7.0"
}
@@ -4947,171 +1818,83 @@
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "peer": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
}
},
- "inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "requires": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
- },
"is-arrayish": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
- },
- "is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "optional": true,
- "requires": {
- "binary-extensions": "^2.0.0"
- }
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "peer": true
},
"is-core-module": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
"integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
+ "peer": true,
"requires": {
"has": "^1.0.3"
}
},
- "is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "optional": true
- },
- "is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "optional": true,
- "requires": {
- "is-extglob": "^2.1.1"
- }
- },
- "is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "optional": true
- },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "peer": true
},
"jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "peer": true
},
"json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "peer": true
},
"json5": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA=="
+ "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
+ "peer": true
},
"lines-and-columns": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
- },
- "lodash.debounce": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
- "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "peer": true
},
- "make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
- "requires": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
- }
- },
- "minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "peer": true,
"requires": {
- "brace-expansion": "^1.1.7"
+ "js-tokens": "^3.0.0 || ^4.0.0"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "peer": true
},
"node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
- "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg=="
- },
- "normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "optional": true
- },
- "object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="
- },
- "object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
- },
- "object.assign": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",
- "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",
- "requires": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "has-symbols": "^1.0.3",
- "object-keys": "^1.1.1"
- }
- },
- "once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "requires": {
- "wrappy": "1"
- }
+ "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==",
+ "peer": true
},
"parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "peer": true,
"requires": {
"callsites": "^3.0.0"
}
@@ -5120,6 +1903,7 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "peer": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
@@ -5127,114 +1911,50 @@
"lines-and-columns": "^1.1.6"
}
},
- "path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="
- },
"path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "peer": true
},
"path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "peer": true
},
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
- },
- "picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "optional": true
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
+ "peer": true
},
- "pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ "react": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
+ "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
+ "peer": true,
+ "requires": {
+ "loose-envify": "^1.1.0"
+ }
},
"react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "optional": true,
- "requires": {
- "picomatch": "^2.2.1"
- }
- },
- "regenerate": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
- "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="
- },
- "regenerate-unicode-properties": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz",
- "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==",
- "requires": {
- "regenerate": "^1.4.2"
- }
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "peer": true
},
"regenerator-runtime": {
"version": "0.13.9",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
- "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
- },
- "regenerator-transform": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz",
- "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==",
- "requires": {
- "@babel/runtime": "^7.8.4"
- }
- },
- "regexpu-core": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz",
- "integrity": "sha512-bb6hk+xWd2PEOkj5It46A16zFMs2mv86Iwpdu94la4S3sJ7C973h2dHpYKwIBGaWSO7cIRJ+UX0IeMaWcO4qwA==",
- "requires": {
- "regenerate": "^1.4.2",
- "regenerate-unicode-properties": "^10.0.1",
- "regjsgen": "^0.6.0",
- "regjsparser": "^0.8.2",
- "unicode-match-property-ecmascript": "^2.0.0",
- "unicode-match-property-value-ecmascript": "^2.0.0"
- }
- },
- "regjsgen": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz",
- "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA=="
- },
- "regjsparser": {
- "version": "0.8.4",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz",
- "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==",
- "requires": {
- "jsesc": "~0.5.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA=="
- }
- }
+ "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==",
+ "peer": true
},
"resolve": {
"version": "1.22.1",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
"integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
+ "peer": true,
"requires": {
"is-core-module": "^2.9.0",
"path-parse": "^1.0.7",
@@ -5244,57 +1964,38 @@
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "peer": true
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "peer": true
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
- },
- "slash": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A=="
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "peer": true
},
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ=="
- },
- "styled-system": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz",
- "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==",
- "requires": {
- "@styled-system/background": "^5.1.2",
- "@styled-system/border": "^5.1.5",
- "@styled-system/color": "^5.1.2",
- "@styled-system/core": "^5.1.2",
- "@styled-system/flexbox": "^5.1.2",
- "@styled-system/grid": "^5.1.2",
- "@styled-system/layout": "^5.1.2",
- "@styled-system/position": "^5.1.2",
- "@styled-system/shadow": "^5.1.2",
- "@styled-system/space": "^5.1.2",
- "@styled-system/typography": "^5.1.2",
- "@styled-system/variant": "^5.1.5",
- "object-assign": "^4.1.1"
- }
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "peer": true
},
"stylis": {
"version": "4.0.13",
"resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",
- "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag=="
+ "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==",
+ "peer": true
},
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "peer": true,
"requires": {
"has-flag": "^3.0.0"
}
@@ -5302,7 +2003,8 @@
"supports-preserve-symlinks-flag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "peer": true
},
"tinycolor2": {
"version": "1.4.2",
@@ -5312,16 +2014,8 @@
"to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog=="
- },
- "to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "optional": true,
- "requires": {
- "is-number": "^7.0.0"
- }
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "peer": true
},
"typescript": {
"version": "4.8.2",
@@ -5329,48 +2023,21 @@
"integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==",
"dev": true
},
- "unicode-canonical-property-names-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
- "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ=="
- },
- "unicode-match-property-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz",
- "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==",
- "requires": {
- "unicode-canonical-property-names-ecmascript": "^2.0.0",
- "unicode-property-aliases-ecmascript": "^2.0.0"
- }
- },
- "unicode-match-property-value-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz",
- "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw=="
- },
- "unicode-property-aliases-ecmascript": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz",
- "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ=="
- },
"update-browserslist-db": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz",
"integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==",
+ "peer": true,
"requires": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
}
},
- "wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
- },
"yaml": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
- "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg=="
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
+ "peer": true
}
}
}
diff --git a/packages/theme/package.json b/packages/theme/package.json
index e60af4527..390e96ce7 100644
--- a/packages/theme/package.json
+++ b/packages/theme/package.json
@@ -8,8 +8,7 @@
"url": "git://github.com/streetwriters/themeprovider.git"
},
"dependencies": {
- "@streetwriters/rebass": "^5.0.0",
- "@streetwriters/rebass-forms": "^5.0.0",
+ "@theme-ui/core": "^0.14.7",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
diff --git a/packages/theme/src/css.ts b/packages/theme/src/css.ts
index 3d61b1c02..895169e3f 100644
--- a/packages/theme/src/css.ts
+++ b/packages/theme/src/css.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function removeCss(id: string) {
const link = document.getElementById(id);
diff --git a/packages/theme/src/index.ts b/packages/theme/src/index.ts
index 4b9df5c8e..fa909b228 100644
--- a/packages/theme/src/index.ts
+++ b/packages/theme/src/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export * from "./theme/accents";
export * from "./themeprovider";
diff --git a/packages/theme/src/theme/accents.ts b/packages/theme/src/theme/accents.ts
index c699dedfa..18ade962f 100644
--- a/packages/theme/src/theme/accents.ts
+++ b/packages/theme/src/theme/accents.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
const accents = {
orange: "#FF5722",
@@ -28,7 +29,7 @@ const accents = {
indigo: "#880E4F",
purple: "#9C27B0",
pink: "#FF1744",
- red: "#B71C1C",
+ red: "#B71C1C"
} as const;
export function getDefaultAccentColor() {
diff --git a/packages/theme/src/theme/colorscheme/dark.ts b/packages/theme/src/theme/colorscheme/dark.ts
index 5ede05b44..fda6c6065 100644
--- a/packages/theme/src/theme/colorscheme/dark.ts
+++ b/packages/theme/src/theme/colorscheme/dark.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import tinycolor from "tinycolor2";
import { SchemeColors } from ".";
@@ -49,6 +50,6 @@ export function getDarkScheme(accent: string): SchemeColors {
green: "#4CAF50",
blue: "#2196F3",
purple: "#9568ED",
- gray: "#9E9E9E",
+ gray: "#9E9E9E"
};
}
diff --git a/packages/theme/src/theme/colorscheme/index.ts b/packages/theme/src/theme/colorscheme/index.ts
index 0b8556f31..cdc9db6f5 100644
--- a/packages/theme/src/theme/colorscheme/index.ts
+++ b/packages/theme/src/theme/colorscheme/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { getDarkScheme } from "./dark";
import { getLightScheme } from "./light";
@@ -22,7 +23,7 @@ import { StaticColors } from "./static";
const colorSchemes = {
dark: getDarkScheme,
- light: getLightScheme,
+ light: getLightScheme
};
export type ColorSchemes = keyof typeof colorSchemes;
diff --git a/packages/theme/src/theme/colorscheme/light.ts b/packages/theme/src/theme/colorscheme/light.ts
index 3afb07f83..3cca96290 100644
--- a/packages/theme/src/theme/colorscheme/light.ts
+++ b/packages/theme/src/theme/colorscheme/light.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import tinycolor from "tinycolor2";
import { SchemeColors } from ".";
@@ -48,6 +49,6 @@ export function getLightScheme(accent: string): SchemeColors {
green: "#4CAF50",
blue: "#2196F3",
purple: "#9568ED",
- gray: "#9E9E9E",
+ gray: "#9E9E9E"
};
}
diff --git a/packages/theme/src/theme/colorscheme/static.ts b/packages/theme/src/theme/colorscheme/static.ts
index a41cd0540..977707f3c 100644
--- a/packages/theme/src/theme/colorscheme/static.ts
+++ b/packages/theme/src/theme/colorscheme/static.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import tinycolor from "tinycolor2";
@@ -60,6 +61,6 @@ export function getStaticColors(accent: string): StaticColors {
codeSelectionFg: "#f8f8f2",
codeSelectionBg: "#44475a",
codeBorder: "#6c7393",
- codeSelection: "#9580ff1a",
+ codeSelection: "#9580ff1a"
};
}
diff --git a/packages/theme/src/theme/font/fontsize.ts b/packages/theme/src/theme/font/fontsize.ts
index 7ecd3e0f8..dddd05908 100644
--- a/packages/theme/src/theme/font/fontsize.ts
+++ b/packages/theme/src/theme/font/fontsize.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
export function getFontSizes(): FontSizes {
return {
diff --git a/packages/theme/src/theme/font/index.ts b/packages/theme/src/theme/font/index.ts
index 28fb40713..62d30916d 100644
--- a/packages/theme/src/theme/font/index.ts
+++ b/packages/theme/src/theme/font/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { FontSizes, getFontSizes } from "./fontsize";
diff --git a/packages/theme/src/theme/index.ts b/packages/theme/src/theme/index.ts
index 25fb86b08..4f0ba511d 100644
--- a/packages/theme/src/theme/index.ts
+++ b/packages/theme/src/theme/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { getColors, SchemeColors } from "./colorscheme";
import { variants } from "./variants";
diff --git a/packages/theme/src/theme/transformer/css.ts b/packages/theme/src/theme/transformer/css.ts
index 6ad62c323..d09c07ef9 100644
--- a/packages/theme/src/theme/transformer/css.ts
+++ b/packages/theme/src/theme/transformer/css.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Theme } from "..";
import { SchemeColors } from "../colorscheme";
diff --git a/packages/theme/src/theme/transformer/index.ts b/packages/theme/src/theme/transformer/index.ts
index 8b921ffde..0a7304a51 100644
--- a/packages/theme/src/theme/transformer/index.ts
+++ b/packages/theme/src/theme/transformer/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { Theme } from "..";
import css from "./css";
diff --git a/packages/theme/src/theme/types.ts b/packages/theme/src/theme/types.ts
index cc5ad3c4d..80cda00cc 100644
--- a/packages/theme/src/theme/types.ts
+++ b/packages/theme/src/theme/types.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { ColorSchemes } from "./colorscheme";
diff --git a/packages/theme/src/theme/variants/button.ts b/packages/theme/src/theme/variants/button.ts
index 28def3ce4..4bc21fc48 100644
--- a/packages/theme/src/theme/variants/button.ts
+++ b/packages/theme/src/theme/variants/button.ts
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import { SxStyleProp } from "@streetwriters/rebass";
-
-const defaultVariant: SxStyleProp = {
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { ThemeUIStyleObject } from "@theme-ui/core";
+
+const defaultVariant: ThemeUIStyleObject = {
bg: "transparent",
fontFamily: "body",
fontWeight: "body",
@@ -45,13 +46,13 @@ const defaultVariant: SxStyleProp = {
}
};
-const primary: SxStyleProp = {
+const primary: ThemeUIStyleObject = {
variant: "buttons.default",
color: "static",
bg: "primary"
};
-const dialog: SxStyleProp = {
+const dialog: ThemeUIStyleObject = {
variant: "buttons.primary",
color: "primary",
fontWeight: "bold",
@@ -68,13 +69,13 @@ const dialog: SxStyleProp = {
}
};
-const secondary: SxStyleProp = {
+const secondary: ThemeUIStyleObject = {
variant: "buttons.default",
color: "text",
bg: "border"
};
-const tertiary: SxStyleProp = {
+const tertiary: ThemeUIStyleObject = {
variant: "buttons.default",
color: "text",
bg: "transparent",
@@ -85,7 +86,7 @@ const tertiary: SxStyleProp = {
}
};
-const list: SxStyleProp = {
+const list: ThemeUIStyleObject = {
variant: "buttons.tertiary",
border: "0px solid",
borderBottom: "1px solid",
@@ -100,7 +101,7 @@ const list: SxStyleProp = {
}
};
-const anchor: SxStyleProp = {
+const anchor: ThemeUIStyleObject = {
variant: "buttons.default",
color: "primary",
fontSize: "subBody",
@@ -113,7 +114,7 @@ const anchor: SxStyleProp = {
}
};
-const icon: SxStyleProp = {
+const icon: ThemeUIStyleObject = {
variant: "buttons.default",
color: "text",
borderRadius: "none",
@@ -123,7 +124,7 @@ const icon: SxStyleProp = {
}
};
-const tool: SxStyleProp = {
+const tool: ThemeUIStyleObject = {
variant: "buttons.default",
color: "text",
backgroundColor: "bgSecondary",
@@ -133,14 +134,14 @@ const tool: SxStyleProp = {
}
};
-const statusItem: SxStyleProp = {
+const statusItem: ThemeUIStyleObject = {
variant: "buttons.icon",
p: 0,
py: 1,
px: 1
};
-const menuItem: SxStyleProp = {
+const menuItem: ThemeUIStyleObject = {
variant: "buttons.default",
// bg: "transparent",
py: "8px",
diff --git a/packages/theme/src/theme/variants/flex.ts b/packages/theme/src/theme/variants/flex.ts
index c9c16a722..ff8285a34 100644
--- a/packages/theme/src/theme/variants/flex.ts
+++ b/packages/theme/src/theme/variants/flex.ts
@@ -1,34 +1,35 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { SxStyleProp } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { ThemeUIStyleObject } from "@theme-ui/core";
type FlexDirection = "row" | "column";
export type FlexVariants<T extends FlexDirection> = T extends "row"
? {
- rowCenter: SxStyleProp;
- rowFill: SxStyleProp;
- rowCenterFill: SxStyleProp;
+ rowCenter: ThemeUIStyleObject;
+ rowFill: ThemeUIStyleObject;
+ rowCenterFill: ThemeUIStyleObject;
}
: {
- columnCenter: SxStyleProp;
- columnFill: SxStyleProp;
- columnCenterFill: SxStyleProp;
+ columnCenter: ThemeUIStyleObject;
+ columnFill: ThemeUIStyleObject;
+ columnCenterFill: ThemeUIStyleObject;
};
export function createFlexVariants<T extends FlexDirection>(
@@ -46,7 +47,7 @@ export function createFlexVariants<T extends FlexDirection>(
) as FlexVariants<T>;
}
-function createCenterVariant(direction: FlexDirection): SxStyleProp {
+function createCenterVariant(direction: FlexDirection): ThemeUIStyleObject {
return {
justifyContent: "center",
alignItems: "center",
@@ -54,14 +55,14 @@ function createCenterVariant(direction: FlexDirection): SxStyleProp {
};
}
-function createFillVariant(direction: FlexDirection): SxStyleProp {
+function createFillVariant(direction: FlexDirection): ThemeUIStyleObject {
return {
flex: "1 1 auto",
flexDirection: direction
};
}
-function createCenterFillVariant(direction: FlexDirection): SxStyleProp {
+function createCenterFillVariant(direction: FlexDirection): ThemeUIStyleObject {
return {
variant: `variants.${direction}Center`,
flex: "1 1 auto",
diff --git a/packages/theme/src/theme/variants/index.ts b/packages/theme/src/theme/variants/index.ts
index b2ada5ddc..d80f73417 100644
--- a/packages/theme/src/theme/variants/index.ts
+++ b/packages/theme/src/theme/variants/index.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import { buttonVariants } from "./button";
import { inputVariants } from "./input";
@@ -27,6 +28,6 @@ export const variants = {
text: textVariants,
variants: {
...createFlexVariants("row"),
- ...createFlexVariants("column"),
- },
+ ...createFlexVariants("column")
+ }
};
diff --git a/packages/theme/src/theme/variants/input.ts b/packages/theme/src/theme/variants/input.ts
index ae0ab4f2d..ca64955f1 100644
--- a/packages/theme/src/theme/variants/input.ts
+++ b/packages/theme/src/theme/variants/input.ts
@@ -1,24 +1,25 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { SxStyleProp } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
-const defaultVariant: SxStyleProp = {
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { ThemeUIStyleObject } from "@theme-ui/core";
+
+const defaultVariant: ThemeUIStyleObject = {
borderRadius: "default",
border: "none",
// borderColor: "border",
@@ -29,39 +30,39 @@ const defaultVariant: SxStyleProp = {
color: "text",
outline: "none",
":focus": {
- boxShadow: "0px 0px 0px 1.5px var(--primary) inset",
+ boxShadow: "0px 0px 0px 1.5px var(--primary) inset"
},
":hover:not(:focus)": {
- boxShadow: "0px 0px 0px 1px var(--dimPrimary) inset",
- },
+ boxShadow: "0px 0px 0px 1px var(--dimPrimary) inset"
+ }
};
-const clean: SxStyleProp = {
+const clean: ThemeUIStyleObject = {
variant: "forms.input",
outline: "none",
boxShadow: "none",
":focus": {
- boxShadow: "none",
+ boxShadow: "none"
},
":hover:not(:focus)": {
- boxShadow: "none",
- },
+ boxShadow: "none"
+ }
};
-const error: SxStyleProp = {
+const error: ThemeUIStyleObject = {
variant: "forms.input",
boxShadow: "0px 0px 0px 1px var(--error) inset",
outline: "none",
":focus": {
- boxShadow: "0px 0px 0px 1.5px var(--error) inset",
+ boxShadow: "0px 0px 0px 1.5px var(--error) inset"
},
":hover:not(:focus)": {
- boxShadow: "0px 0px 0px 1px var(--error) inset",
- },
+ boxShadow: "0px 0px 0px 1px var(--error) inset"
+ }
};
export const inputVariants = {
input: defaultVariant,
error,
- clean,
+ clean
};
diff --git a/packages/theme/src/theme/variants/text.ts b/packages/theme/src/theme/variants/text.ts
index b87750598..921b5df09 100644
--- a/packages/theme/src/theme/variants/text.ts
+++ b/packages/theme/src/theme/variants/text.ts
@@ -1,56 +1,57 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
-import { SxStyleProp } from "@streetwriters/rebass";
+Copyright (C) 2022 Streetwriters (Private) Limited
-const defaultVariant: SxStyleProp = {
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+import { ThemeUIStyleObject } from "@theme-ui/core";
+
+const defaultVariant: ThemeUIStyleObject = {
color: "text",
fontFamily: "body"
};
-const heading: SxStyleProp = {
+const heading: ThemeUIStyleObject = {
variant: "text.default",
fontFamily: "heading",
fontWeight: "bold",
fontSize: "heading"
};
-const title: SxStyleProp = {
+const title: ThemeUIStyleObject = {
variant: "text.heading",
fontSize: "title",
fontWeight: "bold"
};
-const subtitle: SxStyleProp = {
+const subtitle: ThemeUIStyleObject = {
variant: "text.heading",
fontSize: "subtitle",
fontWeight: "bold"
};
-const body: SxStyleProp = { variant: "text.default", fontSize: "body" };
+const body: ThemeUIStyleObject = { variant: "text.default", fontSize: "body" };
-const subBody: SxStyleProp = {
+const subBody: ThemeUIStyleObject = {
variant: "text.default",
fontSize: "subBody",
color: "fontTertiary"
};
-const error: SxStyleProp = {
+const error: ThemeUIStyleObject = {
variant: "text.default",
fontSize: "subBody",
color: "error"
diff --git a/packages/theme/src/themeprovider.ts b/packages/theme/src/themeprovider.ts
index bca53d930..3c68ac88b 100644
--- a/packages/theme/src/themeprovider.ts
+++ b/packages/theme/src/themeprovider.ts
@@ -1,20 +1,21 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2022 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import ThemeFactory from "./theme";
import { ThemeConfig } from "./theme/types";
@@ -23,12 +24,11 @@ import { injectCss } from "./css";
const factory = new ThemeFactory();
export function useTheme(config: ThemeConfig, inject = true) {
- const { theme, accent, scale = 1 } = config;
+ const { theme, accent } = config;
const themeProperties = factory.construct({
theme,
- accent,
- scale
+ accent
});
if (inject) injectCss(factory.transform("css", themeProperties));
diff --git a/resources/license-header.js b/resources/license-header.js
deleted file mode 100644
index 053987d76..000000000
--- a/resources/license-header.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/* This file is part of the Notesnook project (https://notesnook.com/)
- *
- * Copyright (C) 2022 Streetwriters (Private) Limited
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */