From d81f5dba6579b8324f1cfb61babb539576930bc4 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 31 Aug 2022 06:33:37 +0500 Subject: [PATCH] refactor: migrate to theme-ui from rebass --- .eslintrc.js | 25 +- apps/mobile/app/app.js | 35 +- apps/mobile/app/assets/images/assets.js | 37 +- apps/mobile/app/common/analytics/index.js | 35 +- apps/mobile/app/common/database/encryption.js | 35 +- apps/mobile/app/common/database/index.js | 35 +- apps/mobile/app/common/database/mmkv.js | 35 +- apps/mobile/app/common/database/storage.js | 35 +- apps/mobile/app/common/filesystem/download.js | 35 +- apps/mobile/app/common/filesystem/index.js | 35 +- apps/mobile/app/common/filesystem/io.js | 35 +- apps/mobile/app/common/filesystem/upload.js | 35 +- apps/mobile/app/common/filesystem/utils.js | 35 +- apps/mobile/app/common/logger/index.ts | 35 +- .../components/announcements/announcement.js | 35 +- .../app/components/announcements/body.js | 35 +- .../app/components/announcements/cta.js | 35 +- .../components/announcements/description.js | 35 +- .../app/components/announcements/functions.js | 35 +- .../app/components/announcements/index.js | 35 +- .../app/components/announcements/list.js | 35 +- .../app/components/announcements/photo.js | 35 +- .../components/announcements/subheading.js | 35 +- .../app/components/announcements/title.js | 35 +- .../app/components/attachments/actions.js | 35 +- .../components/attachments/attachment-item.js | 35 +- .../app/components/attachments/index.js | 35 +- apps/mobile/app/components/auth/auth-modal.js | 35 +- apps/mobile/app/components/auth/background.js | 35 +- .../app/components/auth/change-password.js | 35 +- apps/mobile/app/components/auth/common.js | 35 +- .../app/components/auth/forgot-password.js | 35 +- apps/mobile/app/components/auth/index.js | 35 +- apps/mobile/app/components/auth/login.js | 35 +- .../app/components/auth/session-expired.js | 35 +- apps/mobile/app/components/auth/signup.js | 35 +- apps/mobile/app/components/auth/two-factor.js | 35 +- .../components/container/container-header.js | 35 +- .../components/container/floating-button.js | 35 +- apps/mobile/app/components/container/index.js | 35 +- .../delay-layout/default-placeholder.tsx | 35 +- .../app/components/delay-layout/index.tsx | 35 +- .../delay-layout/settings-placeholder.tsx | 35 +- .../app/components/dialog-provider/index.js | 35 +- .../components/dialog-provider/recievers.js | 35 +- .../app/components/dialog/base-dialog.js | 35 +- .../app/components/dialog/dialog-buttons.js | 35 +- .../app/components/dialog/dialog-container.js | 35 +- .../app/components/dialog/dialog-header.tsx | 35 +- .../mobile/app/components/dialog/functions.ts | 35 +- apps/mobile/app/components/dialog/index.js | 35 +- .../app/components/dialogs/add-topic/index.js | 35 +- .../dialogs/jump-to-section/index.js | 35 +- .../app/components/dialogs/result/index.js | 35 +- .../components/dialogs/result/pro-features.js | 35 +- .../app/components/dialogs/vault/index.js | 35 +- .../components/exception-handler/index.tsx | 35 +- apps/mobile/app/components/header/index.js | 35 +- .../app/components/header/left-menus.js | 35 +- .../app/components/header/right-menus.js | 35 +- apps/mobile/app/components/header/title.js | 35 +- .../app/components/image-preview/index.js | 35 +- apps/mobile/app/components/intro/index.js | 35 +- apps/mobile/app/components/intro/welcome.js | 35 +- apps/mobile/app/components/launcher/index.js | 35 +- .../app/components/list-items/footer/index.js | 35 +- .../components/list-items/headers/header.js | 35 +- .../list-items/headers/notebook-header.js | 35 +- .../list-items/headers/section-header.js | 35 +- .../app/components/list-items/note/index.js | 35 +- .../app/components/list-items/note/wrapper.js | 35 +- .../components/list-items/notebook/index.js | 35 +- .../components/list-items/notebook/wrapper.js | 35 +- .../selection-wrapper/action-strip.js | 35 +- .../list-items/selection-wrapper/back-fill.js | 35 +- .../list-items/selection-wrapper/index.js | 35 +- .../list-items/selection-wrapper/selection.js | 35 +- .../app/components/list-items/tag/index.js | 35 +- apps/mobile/app/components/list/card.js | 35 +- apps/mobile/app/components/list/empty.js | 35 +- apps/mobile/app/components/list/index.js | 35 +- .../app/components/merge-conflicts/index.js | 35 +- .../app/components/note-history/index.js | 35 +- .../app/components/note-history/preview.js | 35 +- .../components/premium/compact-features.js | 35 +- .../app/components/premium/component.js | 35 +- .../mobile/app/components/premium/expiring.js | 35 +- apps/mobile/app/components/premium/feature.js | 35 +- .../mobile/app/components/premium/features.js | 35 +- apps/mobile/app/components/premium/group.js | 35 +- apps/mobile/app/components/premium/index.js | 35 +- apps/mobile/app/components/premium/offer.js | 35 +- .../app/components/premium/premium-toast.js | 35 +- .../app/components/premium/pricing-item.js | 35 +- .../app/components/premium/pricing-plans.js | 35 +- apps/mobile/app/components/premium/pro-tag.js | 35 +- .../app/components/properties/color-tags.js | 35 +- .../app/components/properties/date-meta.js | 35 +- .../app/components/properties/dev-mode.js | 35 +- .../mobile/app/components/properties/index.js | 35 +- .../mobile/app/components/properties/items.js | 35 +- .../app/components/properties/notebooks.js | 35 +- .../app/components/properties/synced.js | 35 +- apps/mobile/app/components/properties/tags.js | 35 +- .../app/components/properties/topics.js | 35 +- .../app/components/selection-header/index.js | 35 +- .../app/components/sheet-provider/index.js | 35 +- .../components/sheets/add-notebook/index.js | 35 +- .../app/components/sheets/add-to/index.js | 35 +- .../components/sheets/export-notes/index.js | 35 +- .../components/sheets/export-notes/share.js | 35 +- .../app/components/sheets/github/issue.js | 35 +- .../components/sheets/manage-tags/index.js | 35 +- .../app/components/sheets/migrate/index.tsx | 35 +- .../components/sheets/move-notes/movenote.tsx | 35 +- .../components/sheets/new-feature/index.tsx | 35 +- .../app/components/sheets/progress/index.tsx | 35 +- .../components/sheets/publish-note/index.js | 35 +- .../app/components/sheets/rate-app/index.js | 35 +- .../components/sheets/recovery-key/index.js | 35 +- .../components/sheets/restore-data/index.js | 35 +- .../app/components/sheets/sort/index.js | 35 +- .../app/components/sheets/update/index.js | 35 +- .../app/components/side-menu/color-section.js | 35 +- apps/mobile/app/components/side-menu/index.js | 35 +- .../app/components/side-menu/menu-item.js | 35 +- .../components/side-menu/pinned-section.js | 35 +- .../app/components/side-menu/user-status.js | 35 +- apps/mobile/app/components/tabs/index.tsx | 35 +- apps/mobile/app/components/tip/index.tsx | 35 +- apps/mobile/app/components/toast/index.js | 35 +- .../ui/animated-button.tsx/index.tsx | 35 +- .../mobile/app/components/ui/button/index.tsx | 35 +- .../app/components/ui/icon-button/index.tsx | 35 +- apps/mobile/app/components/ui/input/index.tsx | 35 +- .../mobile/app/components/ui/notice/index.tsx | 35 +- .../app/components/ui/pressable/index.tsx | 35 +- .../app/components/ui/seperator/index.tsx | 35 +- apps/mobile/app/components/ui/sheet/index.js | 35 +- apps/mobile/app/components/ui/svg/index.tsx | 35 +- apps/mobile/app/components/ui/svg/lazy.js | 35 +- .../app/components/ui/svg/module-svg.js | 35 +- .../app/components/ui/time-since/index.tsx | 35 +- .../ui/transitions/bouncing-view.js | 35 +- .../app/components/ui/typography/heading.tsx | 35 +- .../components/ui/typography/paragraph.tsx | 35 +- .../app/components/walkthroughs/index.tsx | 35 +- .../components/walkthroughs/walkthroughs.tsx | 35 +- apps/mobile/app/features.ts | 35 +- apps/mobile/app/hooks/use-actions.js | 35 +- apps/mobile/app/hooks/use-app-events.js | 35 +- apps/mobile/app/hooks/use-app-state.ts | 35 +- .../app/hooks/use-attachment-progress.js | 35 +- apps/mobile/app/hooks/use-delay-layout.ts | 35 +- apps/mobile/app/hooks/use-editor-tags.ts | 35 +- apps/mobile/app/hooks/use-immediate.ts | 35 +- .../app/hooks/use-is-floating-keyboard.ts | 35 +- apps/mobile/app/hooks/use-keyboard.ts | 35 +- apps/mobile/app/hooks/use-navigation-focus.ts | 35 +- apps/mobile/app/hooks/use-pricing.ts | 35 +- apps/mobile/app/hooks/use-rotator.ts | 35 +- apps/mobile/app/hooks/use-sync-progress.ts | 35 +- apps/mobile/app/hooks/use-timer.ts | 35 +- apps/mobile/app/hooks/use-tooltip.ts | 35 +- apps/mobile/app/hooks/use-vault-status.js | 35 +- apps/mobile/app/hooks/use-vault-status.ts | 35 +- apps/mobile/app/navigation/index.js | 35 +- .../mobile/app/navigation/navigation-stack.js | 35 +- apps/mobile/app/navigation/tabs-holder.js | 35 +- apps/mobile/app/screens/editor/index.tsx | 35 +- apps/mobile/app/screens/editor/loading.js | 35 +- apps/mobile/app/screens/editor/progress.js | 35 +- apps/mobile/app/screens/editor/source.ts | 35 +- .../app/screens/editor/tiptap/commands.ts | 35 +- .../app/screens/editor/tiptap/picker.js | 35 +- .../mobile/app/screens/editor/tiptap/types.ts | 35 +- .../editor/tiptap/use-editor-events.ts | 35 +- .../app/screens/editor/tiptap/use-editor.ts | 35 +- .../mobile/app/screens/editor/tiptap/utils.ts | 35 +- apps/mobile/app/screens/editor/wrapper.js | 35 +- apps/mobile/app/screens/favorites/index.tsx | 35 +- apps/mobile/app/screens/home/index.tsx | 35 +- apps/mobile/app/screens/notebook/index.tsx | 35 +- apps/mobile/app/screens/notebooks/index.tsx | 35 +- apps/mobile/app/screens/notes/colored.tsx | 35 +- apps/mobile/app/screens/notes/common.ts | 35 +- apps/mobile/app/screens/notes/index.tsx | 35 +- apps/mobile/app/screens/notes/monographs.tsx | 35 +- apps/mobile/app/screens/notes/tagged.tsx | 35 +- apps/mobile/app/screens/notes/topic-notes.tsx | 35 +- apps/mobile/app/screens/search/index.js | 35 +- apps/mobile/app/screens/search/search-bar.js | 35 +- apps/mobile/app/screens/settings/2fa.tsx | 35 +- apps/mobile/app/screens/settings/app-lock.js | 35 +- .../mobile/app/screens/settings/appearance.js | 35 +- .../app/screens/settings/backup-restore.js | 35 +- .../app/screens/settings/components.tsx | 35 +- apps/mobile/app/screens/settings/debug.tsx | 35 +- .../app/screens/settings/editor/common.tsx | 35 +- .../settings/editor/configure-toolbar.tsx | 35 +- .../app/screens/settings/editor/group.tsx | 35 +- .../app/screens/settings/editor/state.ts | 35 +- .../screens/settings/editor/tool-sheet.tsx | 35 +- .../app/screens/settings/editor/tool.tsx | 35 +- .../settings/editor/toolbar-definition.ts | 35 +- apps/mobile/app/screens/settings/functions.js | 35 +- apps/mobile/app/screens/settings/group.tsx | 35 +- apps/mobile/app/screens/settings/home.tsx | 35 +- apps/mobile/app/screens/settings/index.tsx | 35 +- .../app/screens/settings/section-group.tsx | 35 +- .../app/screens/settings/section-item.tsx | 35 +- .../app/screens/settings/settings-data.tsx | 35 +- .../app/screens/settings/subscription.js | 35 +- apps/mobile/app/screens/settings/types.ts | 35 +- .../app/screens/settings/user-section.js | 35 +- apps/mobile/app/screens/tags/index.tsx | 35 +- apps/mobile/app/screens/trash/index.tsx | 35 +- apps/mobile/app/services/backup.js | 37 +- apps/mobile/app/services/biometrics.ts | 35 +- apps/mobile/app/services/device-detection.js | 35 +- apps/mobile/app/services/event-manager.ts | 35 +- apps/mobile/app/services/exporter.js | 35 +- apps/mobile/app/services/message.js | 35 +- apps/mobile/app/services/navigation.ts | 35 +- apps/mobile/app/services/notifications.ts | 35 +- apps/mobile/app/services/premium.js | 35 +- apps/mobile/app/services/search.js | 35 +- apps/mobile/app/services/settings.ts | 35 +- apps/mobile/app/services/sync.js | 35 +- apps/mobile/app/services/tip-manager.ts | 35 +- apps/mobile/app/services/validation.js | 35 +- apps/mobile/app/stores/index.ts | 35 +- .../mobile/app/stores/use-attachment-store.ts | 35 +- apps/mobile/app/stores/use-editor-store.ts | 35 +- apps/mobile/app/stores/use-favorite-store.ts | 35 +- apps/mobile/app/stores/use-menu-store.ts | 35 +- apps/mobile/app/stores/use-message-store.ts | 35 +- .../mobile/app/stores/use-navigation-store.ts | 35 +- apps/mobile/app/stores/use-notebook-store.ts | 35 +- apps/mobile/app/stores/use-notes-store.ts | 35 +- apps/mobile/app/stores/use-search-store.ts | 35 +- apps/mobile/app/stores/use-selection-store.ts | 35 +- apps/mobile/app/stores/use-setting-store.ts | 35 +- apps/mobile/app/stores/use-tag-store.ts | 35 +- apps/mobile/app/stores/use-theme-store.ts | 35 +- apps/mobile/app/stores/use-trash-store.ts | 35 +- apps/mobile/app/stores/use-user-store.ts | 35 +- apps/mobile/app/utils/color-scheme/index.js | 35 +- apps/mobile/app/utils/color-scheme/utils.js | 35 +- apps/mobile/app/utils/constants.js | 35 +- apps/mobile/app/utils/events.js | 35 +- apps/mobile/app/utils/functions.js | 35 +- apps/mobile/app/utils/global-refs.ts | 35 +- apps/mobile/app/utils/index.js | 35 +- apps/mobile/app/utils/layout-manager.js | 35 +- apps/mobile/app/utils/sanitizer/index.js | 35 +- apps/mobile/app/utils/size/index.js | 35 +- apps/mobile/app/utils/sse/even-source-ios.js | 35 +- apps/mobile/app/utils/sse/event-source.js | 35 +- apps/mobile/app/utils/time/index.ts | 35 +- apps/mobile/app/utils/types.ts | 35 +- apps/mobile/app/version.js | 35 +- apps/mobile/e2e/environment.js | 35 +- apps/mobile/e2e/setup.ts | 35 +- apps/mobile/e2e/test.ids.js | 35 +- apps/mobile/e2e/tests/auth.e2e.js | 35 +- apps/mobile/e2e/tests/index.e2e.js | 35 +- apps/mobile/e2e/tests/note.e2e.js | 35 +- apps/mobile/e2e/tests/notebook.e2e.js | 35 +- apps/mobile/e2e/tests/search.e2e.js | 35 +- apps/mobile/e2e/tests/sort.e2e.js | 35 +- apps/mobile/e2e/tests/tag.e2e.js | 35 +- apps/mobile/e2e/tests/utils.js | 35 +- apps/mobile/e2e/tests/vault.e2e.js | 35 +- apps/mobile/share/index.js | 35 +- apps/mobile/share/quick-note.js | 35 +- apps/mobile/share/search.js | 35 +- apps/mobile/share/share.js | 35 +- apps/mobile/share/store.js | 35 +- apps/web/__e2e__/checkout.test.js | 35 +- apps/web/__e2e__/colors.issues.test.js | 35 +- apps/web/__e2e__/editor.test.js | 35 +- apps/web/__e2e__/importer.test.js | 35 +- apps/web/__e2e__/navigation.test.js | 36 +- apps/web/__e2e__/notebooks.issues.test.js | 35 +- apps/web/__e2e__/notebooks.test.js | 35 +- apps/web/__e2e__/notehistory.test.js | 35 +- apps/web/__e2e__/notes.issues.test.js | 35 +- apps/web/__e2e__/notes.test.js | 36 +- apps/web/__e2e__/tags.test.js | 35 +- apps/web/__e2e__/user.test.js | 35 +- apps/web/__e2e__/utils/actions.js | 35 +- apps/web/__e2e__/utils/conditions.js | 36 +- apps/web/__e2e__/utils/index.js | 46 +- apps/web/__e2e__/utils/listitemidbuilder.js | 35 +- apps/web/__e2e__/utils/menuitemidbuilder.js | 35 +- apps/web/desktop/autoupdate.js | 35 +- apps/web/desktop/changelog.js | 35 +- apps/web/desktop/config/theme.js | 35 +- apps/web/desktop/config/windowstate.js | 35 +- apps/web/desktop/config/zoomfactor.js | 35 +- apps/web/desktop/electron.js | 35 +- apps/web/desktop/events.js | 35 +- .../web/desktop/ipc/actions/changeAppTheme.js | 35 +- .../web/desktop/ipc/actions/checkForUpdate.js | 35 +- .../web/desktop/ipc/actions/downloadUpdate.js | 35 +- apps/web/desktop/ipc/actions/index.js | 35 +- apps/web/desktop/ipc/actions/installUpdate.js | 35 +- apps/web/desktop/ipc/actions/open.js | 35 +- apps/web/desktop/ipc/actions/saveFile.js | 35 +- apps/web/desktop/ipc/actions/setZoomFactor.js | 35 +- apps/web/desktop/ipc/calls/getZoomFactor.js | 35 +- apps/web/desktop/ipc/calls/index.js | 35 +- apps/web/desktop/ipc/calls/selectDirectory.js | 35 +- apps/web/desktop/ipc/index.js | 35 +- apps/web/desktop/ipc/utils.js | 35 +- apps/web/desktop/jsonstorage/index.js | 35 +- apps/web/desktop/logger.js | 35 +- apps/web/desktop/menu.js | 35 +- apps/web/desktop/paths.js | 35 +- apps/web/desktop/preload.js | 35 +- apps/web/desktop/protocol.js | 35 +- apps/web/desktop/scripts/removeLocales.js | 35 +- apps/web/desktop/utils.js | 35 +- apps/web/package-lock.json | 441 +- apps/web/package.json | 4 +- apps/web/playwright.config.js | 35 +- apps/web/public/index.html | 1 - apps/web/scripts/analyze.js | 35 +- apps/web/src/app-effects.js | 35 +- apps/web/src/app-effects.mobile.js | 35 +- apps/web/src/app.js | 67 +- apps/web/src/commands/change-app-theme.js | 35 +- apps/web/src/commands/check-for-update.js | 35 +- apps/web/src/commands/download-update.js | 35 +- apps/web/src/commands/index.js | 35 +- apps/web/src/commands/install-update.js | 35 +- apps/web/src/commands/open.js | 35 +- apps/web/src/commands/save-file.js | 35 +- apps/web/src/commands/set-zoom-factor.js | 35 +- apps/web/src/common/app-events.js | 35 +- apps/web/src/common/attachments.js | 35 +- apps/web/src/common/constants.ts | 35 +- apps/web/src/common/db.js | 35 +- apps/web/src/common/dialog-controller.tsx | 54 +- apps/web/src/common/export.ts | 35 +- apps/web/src/common/height-calculator.js | 35 +- apps/web/src/common/index.js | 35 +- apps/web/src/common/key-map.js | 35 +- apps/web/src/common/list-profiles.js | 35 +- apps/web/src/common/multi-select.ts | 35 +- apps/web/src/common/reminders.js | 35 +- apps/web/src/common/store.js | 35 +- apps/web/src/common/task-manager.ts | 35 +- apps/web/src/common/toasts.js | 35 +- apps/web/src/common/toolbar-config.ts | 35 +- apps/web/src/common/vault.js | 35 +- apps/web/src/components/accent-item/index.js | 37 +- apps/web/src/components/accordion/index.js | 37 +- apps/web/src/components/animated/index.js | 39 +- apps/web/src/components/announcements/body.js | 61 +- .../web/src/components/announcements/index.js | 44 +- apps/web/src/components/attachment/index.js | 49 +- .../src/components/auth-container/index.js | 89 +- .../web/src/components/cached-router/index.js | 35 +- .../components/dialogs/add-notebook-dialog.js | 73 +- .../components/dialogs/announcement-dialog.js | 49 +- .../components/dialogs/attachments-dialog.js | 39 +- .../dialogs/buy-dialog/buy-dialog.tsx | 100 +- .../dialogs/buy-dialog/features.tsx | 86 +- .../components/dialogs/buy-dialog/helpers.ts | 35 +- .../components/dialogs/buy-dialog/index.ts | 35 +- .../components/dialogs/buy-dialog/paddle.tsx | 42 +- .../dialogs/buy-dialog/plan-list.tsx | 76 +- .../components/dialogs/buy-dialog/plans.ts | 35 +- .../components/dialogs/buy-dialog/store.ts | 35 +- .../components/dialogs/buy-dialog/types.ts | 35 +- apps/web/src/components/dialogs/confirm.js | 37 +- .../src/components/dialogs/dialog-loader.tsx | 37 +- apps/web/src/components/dialogs/dialog.js | 67 +- .../dialogs/email-verification-dialog.js | 44 +- .../src/components/dialogs/feature-dialog.tsx | 56 +- .../src/components/dialogs/import-dialog.js | 51 +- apps/web/src/components/dialogs/index.ts | 35 +- .../src/components/dialogs/issue-dialog.tsx | 51 +- .../web/src/components/dialogs/item-dialog.js | 37 +- .../src/components/dialogs/loading-dialog.js | 37 +- .../dialogs/mfa/multi-factor-dialog.tsx | 37 +- .../dialogs/mfa/recovery-code-dialog.tsx | 37 +- apps/web/src/components/dialogs/mfa/steps.tsx | 134 +- apps/web/src/components/dialogs/mfa/types.ts | 39 +- .../components/dialogs/migration-dialog.tsx | 37 +- .../components/dialogs/move-note-dialog.js | 55 +- .../components/dialogs/onboarding-dialog.js | 99 +- .../src/components/dialogs/password-dialog.js | 45 +- .../src/components/dialogs/progress-dialog.js | 39 +- apps/web/src/components/dialogs/prompt.tsx | 37 +- .../components/dialogs/recovery-key-dialog.js | 73 +- .../src/components/dialogs/reminder-dialog.js | 62 +- .../dialogs/toolbar-config-dialog.tsx | 39 +- .../dialogs/tracking-details-dialog.js | 43 +- .../components/diff-viewer/content-toggle.js | 46 +- apps/web/src/components/diff-viewer/index.js | 94 +- .../src/components/dropdown-button/index.js | 37 +- .../web/src/components/editor/-placeholder.js | 55 +- apps/web/src/components/editor/context.ts | 35 +- apps/web/src/components/editor/footer.js | 43 +- apps/web/src/components/editor/header.js | 52 +- apps/web/src/components/editor/index.tsx | 60 +- apps/web/src/components/editor/loading.tsx | 49 +- apps/web/src/components/editor/picker.ts | 35 +- apps/web/src/components/editor/tiptap.tsx | 39 +- apps/web/src/components/editor/title-box.tsx | 41 +- apps/web/src/components/editor/toolbar.js | 80 +- apps/web/src/components/editor/types.ts | 35 +- apps/web/src/components/field/index.js | 45 +- .../components/global-menu-wrapper/index.js | 37 +- apps/web/src/components/group-header/index.js | 53 +- apps/web/src/components/hash-router/index.js | 35 +- apps/web/src/components/icon-tag/index.js | 45 +- apps/web/src/components/icons/index.js | 45 +- apps/web/src/components/icons/resolver.js | 35 +- .../src/components/install-notice/index.js | 45 +- .../src/components/list-container/index.js | 39 +- apps/web/src/components/list-item/index.js | 59 +- apps/web/src/components/loader/index.js | 49 +- .../src/components/loaders/editor-loader.tsx | 37 +- .../src/components/loaders/list-loader.tsx | 47 +- .../components/loaders/navigation-loader.tsx | 43 +- .../components/loaders/status-bar-loader.tsx | 48 +- .../src/components/loaders/view-loader.tsx | 37 +- apps/web/src/components/menu/index.js | 49 +- apps/web/src/components/menu/menu-item.js | 68 +- .../src/components/navigation-menu/index.js | 51 +- .../navigation-menu/navigation-item.js | 51 +- apps/web/src/components/note/index.js | 45 +- apps/web/src/components/notebook/index.js | 48 +- .../placeholders/attachments-placeholder.js | 35 +- .../placeholders/favorites-placeholder.js | 35 +- apps/web/src/components/placeholders/index.js | 50 +- .../web/src/components/placeholders/loader.js | 35 +- .../placeholders/monographs-placeholder.js | 35 +- .../placeholders/notebooks-placeholder.js | 35 +- .../placeholders/notesplacholder.js | 35 +- .../placeholders/search-placeholder.js | 35 +- .../placeholders/tags-placeholder.js | 35 +- .../placeholders/topics-placeholder.js | 35 +- .../placeholders/trash-placeholder.js | 35 +- apps/web/src/components/progress-bar/index.js | 39 +- apps/web/src/components/properties/index.js | 82 +- apps/web/src/components/properties/toggle.js | 48 +- apps/web/src/components/publish-view/index.js | 87 +- apps/web/src/components/reminder-bar/index.js | 49 +- .../src/components/route-container/index.js | 55 +- .../src/components/scroll-container/index.js | 37 +- apps/web/src/components/search/index.js | 35 +- apps/web/src/components/status-bar/index.js | 93 +- apps/web/src/components/switch/index.js | 35 +- apps/web/src/components/tag/index.js | 39 +- .../src/components/theme-provider/index.js | 35 +- apps/web/src/components/time-ago/index.js | 37 +- apps/web/src/components/tip/index.js | 48 +- apps/web/src/components/toggle/index.js | 43 +- apps/web/src/components/topic/index.js | 46 +- apps/web/src/components/trash-item/index.js | 39 +- apps/web/src/components/unlock/index.js | 81 +- apps/web/src/hooks/use-announcements.js | 35 +- apps/web/src/hooks/use-auto-updater.js | 35 +- apps/web/src/hooks/use-database.js | 35 +- apps/web/src/hooks/use-hash-location.ts | 35 +- apps/web/src/hooks/use-hash-routes.js | 35 +- apps/web/src/hooks/use-is-user-premium.js | 35 +- apps/web/src/hooks/use-location.js | 35 +- apps/web/src/hooks/use-media-query.js | 35 +- apps/web/src/hooks/use-menu.js | 35 +- apps/web/src/hooks/use-mobile.js | 35 +- apps/web/src/hooks/use-navigate.js | 35 +- apps/web/src/hooks/use-persistent-state.ts | 35 +- apps/web/src/hooks/use-routes.js | 35 +- apps/web/src/hooks/use-session-state.ts | 35 +- apps/web/src/hooks/use-slider.js | 35 +- apps/web/src/hooks/use-status.ts | 35 +- apps/web/src/hooks/use-system-theme.js | 35 +- apps/web/src/hooks/use-tablet.js | 35 +- apps/web/src/hooks/use-timer.ts | 39 +- apps/web/src/hooks/use-zoom-factor.js | 35 +- apps/web/src/index.tsx | 35 +- apps/web/src/interfaces/fs.js | 36 +- apps/web/src/interfaces/nncrypto.stub.ts | 35 +- apps/web/src/interfaces/storage.ts | 35 +- apps/web/src/navigation/hash-routes.js | 35 +- apps/web/src/navigation/index.js | 35 +- apps/web/src/navigation/routes.js | 35 +- apps/web/src/re-exports/react-qrcode-logo.js | 35 +- apps/web/src/react-app-env.d.ts | 35 +- apps/web/src/service-worker-registration.js | 35 +- apps/web/src/service-worker.js | 36 +- apps/web/src/stores/app-store.js | 35 +- apps/web/src/stores/attachment-store.js | 35 +- apps/web/src/stores/editor-store.js | 35 +- apps/web/src/stores/index.js | 35 +- apps/web/src/stores/monograph-store.js | 35 +- apps/web/src/stores/note-store.js | 35 +- apps/web/src/stores/notebook-store.js | 35 +- apps/web/src/stores/search-store.js | 35 +- apps/web/src/stores/selection-store.js | 35 +- apps/web/src/stores/setting-store.js | 35 +- apps/web/src/stores/tag-store.js | 35 +- apps/web/src/stores/theme-store.js | 35 +- apps/web/src/stores/trash-store.js | 35 +- apps/web/src/stores/user-store.js | 35 +- apps/web/src/utils/analytics.ts | 35 +- apps/web/src/utils/color.js | 35 +- apps/web/src/utils/config.ts | 35 +- apps/web/src/utils/css.js | 35 +- apps/web/src/utils/debounce.ts | 35 +- apps/web/src/utils/dimensions.js | 35 +- apps/web/src/utils/filename.js | 37 +- apps/web/src/utils/importer.js | 35 +- apps/web/src/utils/keyboard.js | 35 +- apps/web/src/utils/logger.ts | 35 +- apps/web/src/utils/object.js | 35 +- apps/web/src/utils/page-visibility.js | 35 +- apps/web/src/utils/parse.js | 35 +- apps/web/src/utils/platform.js | 35 +- apps/web/src/utils/random.js | 35 +- apps/web/src/utils/string.js | 35 +- apps/web/src/utils/toast.tsx | 58 +- apps/web/src/utils/version.ts | 35 +- apps/web/src/utils/zip.ts | 35 +- apps/web/src/views/auth.tsx | 122 +- apps/web/src/views/email-confirmed.js | 164 +- apps/web/src/views/home.js | 35 +- apps/web/src/views/notebooks.js | 35 +- apps/web/src/views/notes.js | 41 +- apps/web/src/views/recovery.tsx | 84 +- apps/web/src/views/search.js | 47 +- apps/web/src/views/settings.js | 134 +- apps/web/src/views/tags.js | 35 +- apps/web/src/views/topics.js | 51 +- apps/web/src/views/trash.js | 41 +- package-lock.json | 399 +- package.json | 3 + packages/core/__e2e__/monographs.test.js | 37 +- packages/core/__e2e__/offers.test.js | 35 +- packages/core/__e2e__/token-manager.test.js | 39 +- packages/core/__e2e__/user-manager.test.js | 37 +- packages/core/__mocks__/fs.mock.js | 43 +- packages/core/__mocks__/node-storage.mock.js | 35 +- packages/core/__mocks__/storage.mock.js | 39 +- .../__fixtures__/backup.v5.2.copy.json | 98 +- .../__tests__/__fixtures__/backup.v5.2.json | 487 +- packages/core/__tests__/backup.test.js | 39 +- packages/core/__tests__/content.test.js | 35 +- packages/core/__tests__/db.test.js | 35 +- packages/core/__tests__/lookup.test.js | 47 +- packages/core/__tests__/note-history.test.js | 53 +- packages/core/__tests__/notebooks.test.js | 43 +- packages/core/__tests__/notes.test.js | 67 +- packages/core/__tests__/settings.test.js | 43 +- packages/core/__tests__/storage.test.js | 35 +- packages/core/__tests__/tags.test.js | 37 +- packages/core/__tests__/topics.test.js | 39 +- packages/core/__tests__/trash.test.js | 45 +- packages/core/__tests__/utils.test.js | 37 +- packages/core/__tests__/utils/index.js | 51 +- packages/core/__tests__/vault.test.js | 37 +- packages/core/analyze-modules.js | 41 +- packages/core/api/__tests__/debug.test.js | 45 +- .../core/api/__tests__/mfa-manager.test.js | 35 +- .../core/api/__tests__/migrations.test.js | 35 +- packages/core/api/__tests__/outbox.test.js | 35 +- packages/core/api/__tests__/pricing.test.js | 35 +- packages/core/api/debug.js | 39 +- packages/core/api/index.js | 37 +- packages/core/api/lookup.js | 35 +- packages/core/api/mfa-manager.js | 41 +- packages/core/api/migrations.js | 51 +- packages/core/api/monographs.js | 39 +- packages/core/api/offers.js | 35 +- packages/core/api/outbox.js | 35 +- packages/core/api/pricing.js | 35 +- packages/core/api/session.js | 35 +- packages/core/api/settings.js | 45 +- .../core/api/sync/__tests__/collector.test.js | 37 +- .../core/api/sync/__tests__/sync.test.skip.js | 47 +- packages/core/api/sync/auto-sync.js | 35 +- packages/core/api/sync/collector.js | 41 +- packages/core/api/sync/conflicts.js | 35 +- packages/core/api/sync/index.js | 47 +- packages/core/api/sync/merger.js | 51 +- packages/core/api/sync/sync-queue.js | 35 +- packages/core/api/sync/utils.js | 35 +- packages/core/api/token-manager.js | 43 +- packages/core/api/user-manager.js | 53 +- packages/core/api/vault.js | 51 +- packages/core/collections/attachments.js | 51 +- packages/core/collections/collection.js | 35 +- packages/core/collections/content.js | 43 +- packages/core/collections/note-history.js | 45 +- packages/core/collections/notebooks.js | 41 +- packages/core/collections/notes.js | 45 +- packages/core/collections/session-content.js | 39 +- packages/core/collections/tags.js | 39 +- packages/core/collections/topics.js | 39 +- packages/core/collections/trash.js | 39 +- packages/core/common.js | 43 +- .../content-types/__tests__/tiptap.test.js | 37 +- packages/core/content-types/index.js | 35 +- packages/core/content-types/tiptap.js | 45 +- packages/core/database/backup.js | 51 +- packages/core/database/cached-collection.js | 35 +- packages/core/database/fs.js | 43 +- packages/core/database/indexed-collection.js | 37 +- packages/core/database/indexer.js | 35 +- packages/core/database/migrator.js | 35 +- packages/core/database/storage.js | 35 +- packages/core/jest.config.js | 37 +- packages/core/jest.setup.js | 35 +- packages/core/logger.js | 35 +- packages/core/migrations.js | 45 +- packages/core/models/note.js | 45 +- packages/core/models/notebook.js | 37 +- packages/core/models/topic.js | 41 +- packages/core/types.js | 35 +- .../core/utils/__tests__/compression.test.js | 35 +- packages/core/utils/__tests__/set.test.js | 35 +- packages/core/utils/array.js | 35 +- packages/core/utils/compression.js | 35 +- packages/core/utils/constants.js | 39 +- packages/core/utils/dataurl.js | 35 +- packages/core/utils/date.js | 45 +- packages/core/utils/event-manager.js | 35 +- packages/core/utils/grouping.js | 51 +- packages/core/utils/hostname.js | 35 +- packages/core/utils/html-parser.js | 35 +- packages/core/utils/http.js | 45 +- packages/core/utils/id.js | 35 +- packages/core/utils/map.js | 35 +- packages/core/utils/object-id.js | 37 +- packages/core/utils/random.js | 35 +- packages/core/utils/set.js | 35 +- packages/core/utils/templates/helper.js | 35 +- packages/core/utils/templates/html/builder.js | 35 +- .../core/utils/templates/html/template.js | 35 +- .../core/utils/templates/markdown/builder.js | 35 +- .../core/utils/templates/markdown/template.js | 35 +- packages/core/utils/templates/text/builder.js | 35 +- .../core/utils/templates/text/template.js | 35 +- packages/crypto-worker/index.ts | 35 +- packages/crypto-worker/src/utils.ts | 35 +- packages/crypto-worker/src/worker.ts | 35 +- packages/crypto-worker/src/workerstream.ts | 35 +- packages/crypto/index.ts | 35 +- packages/crypto/src/decryption.ts | 35 +- packages/crypto/src/encryption.ts | 35 +- packages/crypto/src/interfaces.ts | 35 +- packages/crypto/src/keyutils.ts | 35 +- packages/crypto/src/password.ts | 35 +- packages/crypto/src/types.ts | 35 +- packages/editor-mobile/public/fonts.css | 35 +- packages/editor-mobile/src/App.css | 4 +- packages/editor-mobile/src/App.test.js | 35 +- packages/editor-mobile/src/App.tsx | 35 +- .../editor-mobile/src/components/button.tsx | 35 +- .../editor-mobile/src/components/editor.tsx | 37 +- .../editor-mobile/src/components/header.tsx | 35 +- .../src/components/statusbar.tsx | 35 +- .../src/components/styles.module.css | 6 +- .../editor-mobile/src/components/tags.tsx | 35 +- .../editor-mobile/src/components/title.tsx | 39 +- .../src/hooks/useEditorController.ts | 35 +- .../editor-mobile/src/hooks/useSafeArea.ts | 39 +- .../editor-mobile/src/hooks/useSettings.ts | 35 +- packages/editor-mobile/src/index.tsx | 35 +- packages/editor-mobile/src/react-app-env.d.ts | 35 +- packages/editor-mobile/src/setupTests.js | 35 +- packages/editor-mobile/src/state/theme.tsx | 35 +- packages/editor-mobile/src/utils/css.js | 35 +- packages/editor-mobile/src/utils/index.ts | 35 +- packages/editor-mobile/tsconfig.json | 10 +- packages/editor/package-lock.json | 3609 +-------------- packages/editor/package.json | 6 +- packages/editor/scripts/langen.js | 35 +- .../src/components/action-sheet/index.tsx | 37 +- packages/editor/src/components/button.tsx | 45 +- .../src/components/inline-input/index.tsx | 39 +- packages/editor/src/components/menu/index.tsx | 37 +- .../src/components/menu/menu-button.tsx | 37 +- .../src/components/menu/menu-separator.tsx | 37 +- packages/editor/src/components/menu/types.ts | 39 +- .../editor/src/components/menu/use-focus.ts | 35 +- .../src/components/popup-presenter/index.tsx | 37 +- .../popup-presenter/popuprenderer.tsx | 35 +- .../editor/src/components/resizer/index.tsx | 35 +- .../src/components/responsive/index.tsx | 35 +- packages/editor/src/components/tabs/index.tsx | 37 +- .../src/components/theme-provider/index.tsx | 35 +- packages/editor/src/extensions.ts | 35 +- .../src/extensions/attachment/attachment.ts | 35 +- .../src/extensions/attachment/component.tsx | 37 +- .../editor/src/extensions/attachment/index.ts | 35 +- .../src/extensions/bullet-list/bullet-list.ts | 35 +- .../src/extensions/bullet-list/index.ts | 35 +- .../clipboard-text-serializer/index.ts | 35 +- .../src/extensions/code-block/code-block.ts | 35 +- .../src/extensions/code-block/component.tsx | 42 +- .../src/extensions/code-block/highlighter.ts | 35 +- .../editor/src/extensions/code-block/index.ts | 35 +- .../src/extensions/code-block/loader.ts | 35 +- .../src/extensions/code-mark/code-mark.ts | 35 +- .../editor/src/extensions/code-mark/index.ts | 35 +- .../src/extensions/date-time/date-time.ts | 35 +- .../editor/src/extensions/date-time/index.ts | 35 +- .../editor/src/extensions/embed/component.tsx | 44 +- packages/editor/src/extensions/embed/embed.ts | 35 +- packages/editor/src/extensions/embed/index.ts | 35 +- .../src/extensions/font-size/font-size.ts | 35 +- .../editor/src/extensions/font-size/index.ts | 35 +- .../src/extensions/highlight/highlight.ts | 35 +- .../editor/src/extensions/highlight/index.ts | 35 +- .../editor/src/extensions/image/component.tsx | 45 +- packages/editor/src/extensions/image/image.ts | 37 +- packages/editor/src/extensions/image/index.ts | 35 +- .../src/extensions/keep-in-view/index.ts | 35 +- .../extensions/keep-in-view/keep-in-view.ts | 35 +- .../src/extensions/list-item/commands.ts | 35 +- .../editor/src/extensions/list-item/index.ts | 35 +- .../src/extensions/list-item/list-item.ts | 35 +- packages/editor/src/extensions/math/index.ts | 35 +- .../editor/src/extensions/math/math-block.ts | 35 +- .../editor/src/extensions/math/math-inline.ts | 35 +- .../plugin/commands/collapse-math-node.ts | 35 +- .../math/plugin/commands/insert-math-node.ts | 35 +- .../math/plugin/commands/move-cursor-cmd.ts | 35 +- .../src/extensions/math/plugin/index.ts | 35 +- .../extensions/math/plugin/math-node-view.ts | 35 +- .../src/extensions/math/plugin/math-plugin.ts | 35 +- .../math/plugin/plugins/math-backspace.ts | 35 +- .../math/plugin/plugins/math-paste-rules.ts | 35 +- .../math/plugin/plugins/math-select.ts | 35 +- .../extensions/math/plugin/renderers/katex.ts | 35 +- .../extensions/math/plugin/renderers/types.ts | 35 +- .../math/plugin/utils/text-serializer.ts | 35 +- .../src/extensions/math/plugin/utils/types.ts | 35 +- .../src/extensions/ordered-list/index.ts | 35 +- .../extensions/ordered-list/ordered-list.ts | 35 +- .../outline-list-item/component.tsx | 37 +- .../src/extensions/outline-list-item/index.ts | 35 +- .../outline-list-item/outline-list-item.ts | 35 +- .../src/extensions/outline-list/component.tsx | 37 +- .../src/extensions/outline-list/index.ts | 35 +- .../extensions/outline-list/outline-list.ts | 35 +- .../editor/src/extensions/paragraph/index.ts | 35 +- .../src/extensions/paragraph/paragraph.ts | 35 +- .../src/extensions/react/event-dispatcher.ts | 35 +- packages/editor/src/extensions/react/index.ts | 35 +- .../editor/src/extensions/react/plugin.ts | 35 +- .../src/extensions/react/react-node-view.tsx | 35 +- .../react/react-portal-provider.tsx | 35 +- .../react/selection-based-react-node-view.tsx | 35 +- packages/editor/src/extensions/react/types.ts | 35 +- .../src/extensions/search-replace/index.ts | 35 +- .../search-replace/search-replace.ts | 35 +- .../src/extensions/selection-persist/index.ts | 35 +- .../selection-persist/selection-persist.ts | 35 +- .../editor/src/extensions/table-cell/index.ts | 35 +- .../src/extensions/table-cell/table-cell.ts | 35 +- .../editor/src/extensions/table/actions.ts | 35 +- .../editor/src/extensions/table/component.tsx | 37 +- packages/editor/src/extensions/table/index.ts | 35 +- packages/editor/src/extensions/table/table.ts | 35 +- .../src/extensions/task-item/component.tsx | 37 +- .../editor/src/extensions/task-item/index.ts | 35 +- .../src/extensions/task-item/task-item.ts | 35 +- .../src/extensions/task-list/component.tsx | 39 +- .../editor/src/extensions/task-list/index.ts | 35 +- .../src/extensions/task-list/task-list.ts | 35 +- .../src/extensions/text-direction/index.ts | 35 +- .../text-direction/text-direction.ts | 35 +- packages/editor/src/hooks/use-editor.ts | 35 +- .../src/hooks/use-permission-handler.ts | 35 +- packages/editor/src/hooks/use-ref-value.ts | 35 +- packages/editor/src/index.ts | 35 +- .../editor/src/toolbar/components/counter.tsx | 37 +- .../src/toolbar/components/dropdown.tsx | 37 +- .../editor/src/toolbar/components/icon.tsx | 37 +- .../src/toolbar/components/more-tools.tsx | 37 +- .../editor/src/toolbar/components/popup.tsx | 37 +- .../src/toolbar/components/split-button.tsx | 37 +- .../src/toolbar/components/tool-button.tsx | 39 +- .../src/toolbar/components/toolbar-group.tsx | 37 +- .../floating-menus/hover-popup/index.tsx | 35 +- .../floating-menus/hover-popup/link.tsx | 35 +- .../src/toolbar/floating-menus/index.tsx | 35 +- .../toolbar/floating-menus/search-replace.tsx | 39 +- .../src/toolbar/floating-menus/types.ts | 35 +- packages/editor/src/toolbar/icons.ts | 38 +- packages/editor/src/toolbar/index.ts | 35 +- .../src/toolbar/popups/cell-properties.tsx | 37 +- .../src/toolbar/popups/color-picker.tsx | 41 +- .../editor/src/toolbar/popups/embed-popup.tsx | 46 +- .../src/toolbar/popups/image-properties.tsx | 39 +- .../src/toolbar/popups/image-upload.tsx | 39 +- .../editor/src/toolbar/popups/link-popup.tsx | 39 +- .../src/toolbar/popups/search-replace.tsx | 41 +- .../editor/src/toolbar/popups/table-popup.tsx | 39 +- .../src/toolbar/stores/toolbar-store.ts | 35 +- .../editor/src/toolbar/tool-definitions.ts | 35 +- packages/editor/src/toolbar/toolbar.tsx | 37 +- .../editor/src/toolbar/tools/alignment.tsx | 35 +- .../editor/src/toolbar/tools/attachment.tsx | 35 +- packages/editor/src/toolbar/tools/block.tsx | 35 +- packages/editor/src/toolbar/tools/colors.tsx | 35 +- packages/editor/src/toolbar/tools/embed.tsx | 37 +- packages/editor/src/toolbar/tools/font.tsx | 35 +- .../editor/src/toolbar/tools/headings.tsx | 35 +- packages/editor/src/toolbar/tools/image.tsx | 37 +- packages/editor/src/toolbar/tools/index.ts | 35 +- packages/editor/src/toolbar/tools/inline.tsx | 35 +- packages/editor/src/toolbar/tools/link.tsx | 41 +- packages/editor/src/toolbar/tools/lists.tsx | 39 +- packages/editor/src/toolbar/tools/table.tsx | 43 +- .../src/toolbar/tools/text-direction.tsx | 35 +- packages/editor/src/toolbar/tools/utils.tsx | 35 +- packages/editor/src/toolbar/types.ts | 35 +- packages/editor/src/toolbar/utils/dom.ts | 35 +- .../editor/src/toolbar/utils/prosemirror.ts | 35 +- packages/editor/src/types.ts | 35 +- packages/editor/src/utils/config.ts | 35 +- packages/editor/src/utils/debounce.ts | 35 +- packages/editor/src/utils/downloader.ts | 35 +- packages/editor/src/utils/platform.ts | 35 +- packages/editor/src/utils/position.ts | 39 +- packages/logger/src/index.ts | 35 +- packages/logger/src/reporters/console.ts | 35 +- packages/logger/src/reporters/index.ts | 35 +- packages/logger/src/types.ts | 35 +- packages/streamable-fs/index.ts | 35 +- packages/streamable-fs/src/filehandle.ts | 35 +- .../streamable-fs/src/filestreamsource.ts | 35 +- packages/streamable-fs/src/interfaces.ts | 35 +- packages/streamable-fs/src/types.ts | 35 +- packages/theme/package-lock.json | 4047 ++--------------- packages/theme/package.json | 3 +- packages/theme/src/css.ts | 35 +- packages/theme/src/index.ts | 35 +- packages/theme/src/theme/accents.ts | 37 +- packages/theme/src/theme/colorscheme/dark.ts | 37 +- packages/theme/src/theme/colorscheme/index.ts | 37 +- packages/theme/src/theme/colorscheme/light.ts | 37 +- .../theme/src/theme/colorscheme/static.ts | 37 +- packages/theme/src/theme/font/fontsize.ts | 35 +- packages/theme/src/theme/font/index.ts | 35 +- packages/theme/src/theme/index.ts | 35 +- packages/theme/src/theme/transformer/css.ts | 35 +- packages/theme/src/theme/transformer/index.ts | 35 +- packages/theme/src/theme/types.ts | 35 +- packages/theme/src/theme/variants/button.ts | 59 +- packages/theme/src/theme/variants/flex.ts | 55 +- packages/theme/src/theme/variants/index.ts | 39 +- packages/theme/src/theme/variants/input.ts | 63 +- packages/theme/src/theme/variants/text.ts | 51 +- packages/theme/src/themeprovider.ts | 40 +- resources/license-header.js | 17 - 865 files changed, 18115 insertions(+), 23501 deletions(-) delete mode 100644 resources/license-header.js 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 .", + "" +]; + 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ export const LAUNCH_ROCKET = (color) => ``; @@ -24,7 +25,7 @@ export const COMMUNITY_SVG = (color) => ` `; export const SUPPORT_SVG = () => - ""; + ''; export const WELCOME_SVG = (color) => ``; 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ export const SVG = (color) => ``; 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /*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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ "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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ // eslint-disable-next-line @typescript-eslint/ban-types export type LiteralUnion = 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ //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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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() { )} {isMobile ? ( @@ -174,9 +173,9 @@ function DesktopAppContents({ isAppLoaded, show, setShow }) { } @@ -202,22 +201,22 @@ function MobileAppContents({ isAppLoaded }) { } 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: ( These items will be{" "} - + kept in your Trash for 7 days {" "} after which they will be permanently removed. @@ -225,7 +226,7 @@ export function showMultiPermanentDeleteConfirmation(length: number) { message: ( These items will be{" "} - + permanently deleted {". "} @@ -274,18 +275,16 @@ export function showAppUpdatedNotice( title: `Welcome to v${version.formatted}`, message: ( Changelog: {version.changelog || "No change log."} @@ -420,7 +419,7 @@ function getDialogData(type: string) { subtitle: ( <> All your data will be re-encrypted and synced with the new password. - + It is recommended that you log out from all other devices{" "} before continuing. @@ -446,7 +445,7 @@ function getDialogData(type: string) { return { title: "Delete your account", subtitle: ( - + All your data will be permanently deleted with{" "} no way of recovery. Proceed with caution. @@ -754,10 +753,9 @@ function showUpdateDialog({ title, subtitle, message: changelog && ( - + . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 }) { {items.map((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 }) { ); } @@ -210,12 +211,14 @@ function CalltoActions({ item, removeAnnouncement }) { const { actions, style } = item; return ( {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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 ( . - */ +/* +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 . +*/ + +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 ? ( {status ? ( @@ -112,9 +113,9 @@ function Attachment({ item, isCompact, index }) { ) : ( - + {status && ( - + {formatBytes(status.loaded, 1)}/{formatBytes(status.total, 1)}{" "} ({status.type}ing) @@ -130,10 +131,10 @@ function Attachment({ item, isCompact, index }) { )} {formatBytes(attachment.length)} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { - + {title} - + {testimonial.text} —{" "} - source - + - + - + {testimonial.name} @@ -190,11 +189,11 @@ function AuthContainer(props) { . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 }} > - + - + - + {title} {!hideActions && ( - + {isEditing ? "Done" : "Edit"} { e.stopPropagation(); onDelete(); }} - sx={{ alignItems: "center", ":hover": { opacity: 0.8 } }} + sx={{ + alignItems: "center", + ":hover": { opacity: 0.8 }, + height: "25px", + color: "error", + display: "flex" + }} > Delete 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { }} > . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 }} > - + . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { }} > @@ -262,16 +263,16 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) { return ( <> - + Notesnook Pro - + Ready to take the next step in your private note taking journey? {isLoading || !plan ? ( ) : ( - + Starting from {getCurrencySymbol(plan.currency)} {plan.price.gross} {formatPeriod(plan.period)} @@ -309,7 +310,7 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) { > Sign up for free - + After creating your account, you will be asked to activate your free trial. No credit card is required. @@ -320,10 +321,9 @@ function TrialOrUpgrade(props: TrialOrUpgradeProps) { {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(); + const couponInputRef = useRef(null); const applyCoupon = useCallback(() => { const coupon = couponInputRef.current?.value; @@ -396,15 +396,14 @@ function SelectedPlan(props: SelectedPlanProps) { ) : ( )} - + Notesnook Pro {metadata.title} @@ -509,37 +508,36 @@ function CheckoutPricing(props: CheckoutPricingProps) { {fields.map((field) => ( - + {field.label} {field.value} ))} - - + + Total {currentTotal} {isDiscounted ? null : ( - {`then ${recurringTotal}`} + {`then ${recurringTotal}`} )} 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 . - */ +/* +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 . +*/ + +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 ( {sections.map((section) => ( - + {section.pro && ( - + Pro )} - + {section.title} - + {section.detail} {section.features && ( @@ -361,22 +372,27 @@ export function Features() { {section.features.map((feature) => ( {feature.icon && ( )} {feature.pro && ( - + - + Pro )} {feature.title && ( - + {feature.title} )} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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(); const appliedCouponCode = useRef(); - const checkoutRef = useRef(); + const checkoutRef = useRef(null); const reloadCheckout = useCallback(() => { if (!checkoutRef.current) return; @@ -153,9 +154,8 @@ export function PaddleCheckout(props: PaddleCheckoutProps) { } /> ) : null} - . - */ +/* +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 . +*/ + +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 ( <> - + Choose a plan - + {discount ? ( <> We are giving a special {discount}% discount to all users @@ -53,7 +54,7 @@ export function PlansList(props: PlansListProps) { "Notesnook profits when you purchase a subscription — not by selling your data." )} - + {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" + }} > - + {metadata.title} - + {metadata.subtitle} @@ -100,23 +106,23 @@ function RecurringPricing(props: RecurringPricingProps) { const { plan } = props; return ( {plan.originalPrice && ( {getCurrencySymbol(plan.currency)} {plan.originalPrice.gross} )} - + {getCurrencySymbol(plan.currency)} {plan.price.gross} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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) { }} > {props.showClose && ( @@ -100,20 +101,24 @@ function Dialog(props) { onClick={props.onClose} /> )} - + {props.title} {props.description && ( {props.description} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 }} > - + We have sent the email confirmation link at{" "} - + {user.email} . 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 . - */ +/* +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 . +*/ + +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) { } }} > - + {feature.subFeatures?.map((feature) => ( - + {feature.icon && } - + {feature.title} {feature.subtitle && ( - + {feature.subtitle} )} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { } } > - + {progress.current > 0 ? ( <> @@ -122,7 +123,7 @@ function ImportDialog(props) { errors occured. {errors.length > 0 && ( - + {errors.map((error) => ( @@ -166,7 +167,7 @@ function ImportDialog(props) { Only .zip files are supported. - + {files.map((file, i) => ( - + {notes.map((note, i) => ( . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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) { { e.preventDefault(); try { @@ -94,6 +94,7 @@ function IssueDialog(props: IssueDialogProps) { setIsSubmitting(false); } }} + sx={{ flexDirection: "column" }} > 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 }) { <>

You can track your bug report at{" "} - + {url} - + .

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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { { e.preventDefault(); const authenticator = filteredAuthenticators[selected]; @@ -283,23 +282,22 @@ function ChooseAuthenticator(props: ChooseAuthenticatorProps) { size={16} color={selected === index ? "primary" : "text"} /> - + {auth.title}{" "} {auth.recommended ? ( Recommended ) : ( false )} - + {auth.subtitle} @@ -358,7 +356,7 @@ function SetupAuthenticatorApp(props: SetupAuthenticatorProps) { Scan the QR code below with your authenticator app. - + {authenticatorDetails.authenticatorUri ? ( }> {authenticatorDetails.sharedKey ? ( @@ -443,17 +441,22 @@ function SetupEmail(props: SetupAuthenticatorProps) { - + {email} @@ -219,7 +224,7 @@ const importers = [ ]; function Importer({ onClose }) { return ( - + {importers.map((importer) => ( - + {importer.title} @@ -253,9 +258,9 @@ function Importer({ onClose }) { @@ -352,10 +357,7 @@ function ThemeSelector() { return ( { setTheme(theme.key); @@ -379,7 +384,7 @@ function ThemeSelector() { boxShadow: isSelected ? "0px 0px 10px 1px #00000016" : "none" }} /> - + {theme.name} @@ -395,13 +400,13 @@ function TrackingConsent() { true ); return ( - )} - + 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) => ( -

. - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { } }} > - - + + 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} - + }> - + 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 . - */ +/* +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 . +*/ + +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{" "} - + get 30% off * @@ -50,8 +51,8 @@ const reminders = { }, features, // footer: ( - // - // // @@ -112,19 +113,24 @@ function ReminderDialog(props) { footer={reminder.footer} > {reminder.offer && ( <> - + {reminder.offer.title} - + {reminder.offer.subtitle} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) -import { Button, 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 . +*/ + +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 . - */ +/* +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 . +*/ + +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 }} > - + - + Event name {" "} - + Event detail 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 ( - + {isOtherSelected && ( { 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 ( - - + + Please create or open a note to start editing. ))} {inlineTools.map((tool) => ( 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 && ( )} {statuses?.map(({ key, status, progress, icon }) => { const Icon = getIconFromAlias(icon); return ( - + {Icon ? : } - + {progress ? `${progress}% ${status}` : status} @@ -126,7 +143,6 @@ function StatusBar() { {updateStatus && ( @@ -192,9 +212,8 @@ function SyncStatus() { return ( @@ -333,26 +333,28 @@ function Signup(props: BaseAuthComponentProps<"signup">) { disabled={!isAppLoaded} loading={!isAppLoaded} /> - + By pressing {`"Create account" button, you agree to our`}{" "} - Terms of Service - {" "} + {" "} &{" "} - Privacy Policy - + . @@ -386,7 +388,7 @@ function SessionExpiry(props: BaseAuthComponentProps<"sessionExpiry">) { title="Your session has expired" subtitle={ - + All your local changes are safe and will be synced after you login. @@ -422,11 +424,10 @@ function SessionExpiry(props: BaseAuthComponentProps<"sessionExpiry">) { @@ -479,7 +480,7 @@ function AccountRecovery(props: BaseAuthComponentProps<"recover">) { <> - + {success} @@ -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} @@ -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"} /> - + {method.title} @@ -747,7 +748,7 @@ function MFASelector(props: BaseAuthComponentProps<"mfa:select">) { disabled={!isAppLoaded} loading={!isAppLoaded} /> */} - {/* */} @@ -771,7 +772,7 @@ export function AuthForm(props: AuthFormProps) { const { title, subtitle, children } = props; const [isSubmitting, setIsSubmitting] = useState(false); const [error, setError] = useState(); - const formRef = useRef(); + const formRef = useRef(null); const [form, setForm] = useState(); if (isSubmitting) @@ -782,13 +783,8 @@ export function AuthForm(props: AuthFormProps) { 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(props: AuthFormProps) { setIsSubmitting(false); } }} + sx={{ + flex: 1, + flexDirection: "column", + alignItems: "center", + justifyContent: "center", + width: ["95%", "45%"], + alignSelf: "center" + }} > - + {title} {subtitle} @@ -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 ( -// +// // 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. -// +// // *Use code {coupon} at checkout to get your discount. // -// +// // ** Only the first 10 people get to claim the discount. Be the first. // // 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 : ( - + - + Some notes of this topic are not synced. 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 ( {isAuthenticating ? ( @@ -184,7 +185,10 @@ function Recovery(props: RecoveryProps) { /> ) : ( <> - + ) { }} onClick={() => setSelected(index)} > - + {method.title} {method.description} @@ -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?`} @@ -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?`} @@ -554,7 +560,7 @@ export function RecoveryForm( const { title, subtitle, children, testId } = props; const [isSubmitting, setIsSubmitting] = useState(false); const [error, setError] = useState(); - const formRef = useRef(); + const formRef = useRef(null); const [form, setForm] = useState(); if (isSubmitting && props.loading) @@ -566,13 +572,9 @@ export function RecoveryForm( 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( setIsSubmitting(false); } }} + sx={{ + flex: 1, + flexDirection: "column", + alignItems: "center", + justifyContent: "center", + width: ["95%", 420], + alignSelf: "center" + }} > - + {title} {subtitle} 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 }) { {searchState.isSearching ? ( . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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() { }} > - + You are not logged in - + Login to sync your notes @@ -386,9 +389,9 @@ function Settings() { /> {getAllAccents().map((color) => ( @@ -751,12 +754,15 @@ function Settings() { )} {isLoggedIn && ( - + DANGER ZONE
Hello
World
My
Name
","dateEdited":1640684432525,"dateCreated":1640684426583,"localOnly":false,"persistDateEdited":false},"_uk_@ammarahmed6506+5@gmail.com":{},"_uk_@ammarahmed6506+5@gmail.com@_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":"
  • Hello
  • world
  • 123
  • abc

test completed.

","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": "
Hello
World
My
Name
", + "dateEdited": 1640684432525, + "dateCreated": 1640684426583, + "localOnly": false, + "persistDateEdited": false + }, + "_uk_@ammarahmed6506+5@gmail.com": {}, + "_uk_@ammarahmed6506+5@gmail.com@_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": "
  • Hello
  • world
  • 123
  • abc

test completed.

", + "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":"

Simple note for you and me home alone

","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":"

Ab cd ef

","dateEdited":1638338104082,"dateCreated":1638338099390,"localOnly":false,"persistDateEdited":false},"882ddf8ff64b4664512d806c":{"noteId":"34209af5c488ef53e2d66b29","id":"882ddf8ff64b4664512d806c","type":"tiny","data":"

New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021 gg   

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to 0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.


Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]mn mn nnnnnn n 

","dateEdited":1637824581662,"dateCreated":1637820249799,"localOnly":false,"persistDateEdited":false},"92a01a16ccc3c2366cc2440f":{"noteId":"5acc7605364ec64536fcd01b","id":"92a01a16ccc3c2366cc2440f","type":"tiny","data":"

\"IMG_20211029_114530jjkbjfa 

","dateEdited":1637820123804,"dateCreated":1637819983744,"localOnly":false,"persistDateEdited":false},"9370239ca8b44f7396d90a02":{"noteId":"146eb9be954e1e5f90ac1a07","id":"9370239ca8b44f7396d90a02","type":"tiny","data":"

  AppNee.com.How.to.Win.Friends.and.Influence.People.epub

","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_@enkaboot@gmail.com":{},"_uk_@enkaboot@gmail.com@_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":"

I am well. Don't worry.

","dateEdited":1637422042660,"dateCreated":1637419691713,"localOnly":false,"persistDateEdited":false},"b8daae0b425606fdb7c4431a":{"noteId":"5cf86e67c511be0e63fe8d11","id":"b8daae0b425606fdb7c4431a","type":"tiny","data":"

streetwriters
/
notesnook
Public

","dateEdited":1637817281400,"dateCreated":1637816484695,"localOnly":false,"persistDateEdited":false},"c2dd0fa56d2ac84cc5645b4b":{"noteId":"9baa36978a80453f80b2a68b","id":"c2dd0fa56d2ac84cc5645b4b","type":"tiny","data":"

I am attachments.

\"streetwriters222  

  bin.tar.gz

","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":"

Function

\n

Hello

\n
function google() {
var function google();
Function google();
}
\n

Hh

\n

 

","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":"

\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\"  j


","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": "

Simple note for you and me home alone

", + "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": "

Ab cd ef

", + "dateEdited": 1638338104082, + "dateCreated": 1638338099390, + "localOnly": false, + "persistDateEdited": false + }, + "882ddf8ff64b4664512d806c": { + "noteId": "34209af5c488ef53e2d66b29", + "id": "882ddf8ff64b4664512d806c", + "type": "tiny", + "data": "

New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021 gg   

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to 0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.


Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


New Zealand raises interest rates in second straight month to 0.75%



Thursday, November 25, 2021

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.

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%.

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.

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.

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.

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.\"

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.

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.

\"\"
Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.

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.

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.

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.

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.

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.


Have an opinion on this story? Share it!


Sister links


Sources

  • Content is available under CC BY 2.5 unless otherwise noted.

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 


Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%


 * Language
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
   [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
   [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
   [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
   [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
   [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
   [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
   [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]



SISTER LINKS



SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25] by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
   [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menuWikinewsSearchNew Zealand 
 
 Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]

Open main menu
Wikinews
Search
New Zealand raises interest rates in second straight month to 0.75%
Language
Download PDF
Watch
Edit
Thursday, November 25, 2021

Economy and business
Euro coins and banknotes.jpg
Related articles
25 November 2021: New Zealand raises interest rates in second straight month to
0.75%
5 November 2021: Australian Fair Work Commission rules that farm workers on
piece rate entitled to minimum wage
26 October 2021: UK pay freeze on public sector employees will end next year
23 October 2021: Evergrande real estate firm makes missed September bond
payment, avoids default
12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
Collaborate!
Pillars of Wikinews writing
Writing an article

Reserve Bank of New Zealand headquarters in Wellington.
Image: Kaihsu Tai.
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.

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%.

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.

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.

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.

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.\"

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.

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.


Jerome Powell, chair of the Federal Reserve.
Image: Federal Reserve.
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.

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.

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.

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.

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.



Have an opinion on this story? Share it!

Sister links
Sources
Last edited 3 hours ago by LivelyRatification
Wikinews
Content is available under CC BY 2.5 unless otherwise noted.
Privacy policy Terms of UseDesktop 



Open main menu
 * 
   
 * 
   

 * 
   

 * 
   

 * 
   

 * 
   
 * 
   

Wikinews [https://en.m.wikinews.org/wiki/Main_Page]
Search


NEW ZEALAND RAISES INTEREST RATES IN SECOND STRAIGHT MONTH TO 0.75%



 * Language
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * Download PDF
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25#]
 * Watch
 
 [https://en.m.wikinews.org/w/index.php?title=Special:UserLogin&returnto=New+Zealand+raises+interest+rates+in+second+straight+month+to+0.75%25]
 * Edit
 
 [https://en.m.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&action=edit&section=0]



Thursday, November 25, 2021

Economy and business [https://en.m.wikinews.org/wiki/Economy_and_business]
https://en.m.wikinews.org/wiki/File:Euro_coins_and_banknotes.jpg
Related articles
 * 25 November 2021: New Zealand raises interest rates in second straight month
   to 0.75%
 
 [https://en.m.wikinews.org/wiki/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
 * 5 November 2021: Australian Fair Work Commission rules that farm workers on
   piece rate entitled to minimum wage
 
 [https://en.m.wikinews.org/wiki/Australian_Fair_Work_Commission_rules_that_farm_workers_on_piece_rate_entitled_to_minimum_wage]
 * 26 October 2021: UK pay freeze on public sector employees will end next year
 
 [https://en.m.wikinews.org/wiki/UK_pay_freeze_on_public_sector_employees_will_end_next_year]
 * 23 October 2021: Evergrande real estate firm makes missed September bond
   payment, avoids default
 
 [https://en.m.wikinews.org/wiki/Evergrande_real_estate_firm_makes_missed_September_bond_payment,_avoids_default]
 * 12 October 2021: Texas governor bans COVID-19 vaccine mandate by any 'entity'
 
 [https://en.m.wikinews.org/wiki/Texas_governor_bans_COVID-19_vaccine_mandate_by_any_%27entity%27]

Collaborate!
 * Pillars of Wikinews writing [https://en.m.wikinews.org/wiki/Wikinews:PILLARS]
 * Writing an article [https://en.m.wikinews.org/wiki/Wikinews:WRITE]

https://en.m.wikinews.org/wiki/File:Reserve_Bank_of_New_Zealand.jpg
Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/Reserve_Bank_of_New_Zealand] headquarters
in Wellington [https://en.wikipedia.org/wiki/Wellington,_New_Zealand].
Image: Kaihsu Tai [https://commons.wikimedia.org/wiki/User:Kaihsu].

The Reserve Bank of New Zealand
[https://en.wikipedia.org/wiki/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.

The hike to the national official cash rate
[https://en.wikipedia.org/wiki/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 [https://en.m.wikinews.org/wiki/Reuters] poll predicted an
increase of 25 basis points, while the other two projected an increase by 50
basis points, to 1%.

New Zealand [https://en.m.wikinews.org/wiki/New_Zealand]'s handling of COVID-19
[https://en.m.wikinews.org/wiki/COVID-19] included injecting \"huge amounts of
fiscal and monetary stimulus\" into the economy, according to The Guardian
[https://en.m.wikinews.org/wiki/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 [https://en.m.wikinews.org/wiki/OECD] nations,
according to Reuters.

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 [https://en.m.wikinews.org/wiki/ABC_News_(Australia)]. 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.

More recent projections include to 2% by mid-2022 according to economist
at Capital Economics [https://en.wikipedia.org/wiki/Capital_Economics] Ben Udy,
to a high of 3% by Q3 2023 according to acting chief economist at Westpac
[https://en.m.wikinews.org/wiki/Westpac] Michael Gordon, including a 0.5% rate
hike during the RBNZ's next meeting in February, as reported by The Guardian.

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
[https://en.m.wikinews.org/wiki/SARS-CoV-2_Delta_variant] of COVID-19 and
lockdown in the capital city Auckland [https://en.wikipedia.org/wiki/Auckland].
Senior market strategist at the Bank of New Zealand
[https://en.wikipedia.org/wiki/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.\"

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.

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.

https://en.m.wikinews.org/wiki/File:Jerome_H._Powell.jpg
Jerome Powell [https://en.wikipedia.org/wiki/Jerome_Powell], chair of
the Federal Reserve [https://en.wikipedia.org/wiki/Federal_Reserve].
Image: Federal Reserve.

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
[https://en.m.wikinews.org/wiki/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 [https://en.wikipedia.org/wiki/Federal_Reserve] chair Jerome
Powell [https://en.wikipedia.org/wiki/Jerome_Powell] to accelerate the process
of tapering its monthly bond purchases, according to the Associated Press
[https://en.m.wikinews.org/wiki/Associated_Press]. The Bank of England
[https://en.m.wikinews.org/wiki/Bank_of_England] and European Central Bank
[https://en.m.wikinews.org/wiki/European_Central_Bank] (ECB) also both withstood
criticism for a forecasted rise in inflationary pressures, according to The
Guardian and Reuters.

ECB President Christine Lagarde
[https://en.wikipedia.org/wiki/Christine_Lagarde] told the European Parliament
[https://en.m.wikinews.org/wiki/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.

Australia [https://en.m.wikinews.org/wiki/Australia]'s Reserve Bank of Australia
[https://en.wikipedia.org/wiki/Reserve_Bank_of_Australia] (RBA) maintained its
position that interest rates are not likely to rise until 2024. RBA
Governor Philip Lowe [https://en.wikipedia.org/wiki/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.

However, several central banks have increased rates ahead of even New Zealand:
Reuters names Norway [https://en.m.wikinews.org/wiki/Norway], the Czech Republic
[https://en.m.wikinews.org/wiki/Czech_Republic] and South Korea
[https://en.m.wikinews.org/wiki/South_Korea], which is expected to raise rates
again in a meeting today.

Reuters reports the New Zealand dollar
[https://en.wikipedia.org/wiki/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.



Have an opinion on this story? Share it!
[https://en.m.wikinews.org/wiki/Comments:New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]




SISTER LINKS




SOURCES


Last edited 3 hours ago
[https://en.m.wikinews.org/wiki/Special:History/New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25]
by LivelyRatification
[https://en.m.wikinews.org/wiki/User:LivelyRatification]
Wikinews
 * Content is available under CC BY 2.5
   [https://creativecommons.org/licenses/by/2.5/] unless otherwise noted.

 * Privacy policy [https://foundation.wikimedia.org/wiki/Privacy_policy]
    
 * Terms of Use [https://foundation.wikimedia.org/wiki/Terms_of_Use]
 * Desktop
 
 [https://en.wikinews.org/w/index.php?title=New_Zealand_raises_interest_rates_in_second_straight_month_to_0.75%25&mobileaction=toggle_view_desktop]mn mn nnnnnn n 

", + "dateEdited": 1637824581662, + "dateCreated": 1637820249799, + "localOnly": false, + "persistDateEdited": false + }, + "92a01a16ccc3c2366cc2440f": { + "noteId": "5acc7605364ec64536fcd01b", + "id": "92a01a16ccc3c2366cc2440f", + "type": "tiny", + "data": "

\"IMG_20211029_114530jjkbjfa 

", + "dateEdited": 1637820123804, + "dateCreated": 1637819983744, + "localOnly": false, + "persistDateEdited": false + }, + "9370239ca8b44f7396d90a02": { + "noteId": "146eb9be954e1e5f90ac1a07", + "id": "9370239ca8b44f7396d90a02", + "type": "tiny", + "data": "

  AppNee.com.How.to.Win.Friends.and.Influence.People.epub

", + "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_@enkaboot@gmail.com": {}, + "_uk_@enkaboot@gmail.com@_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": "

I am well. Don't worry.

", + "dateEdited": 1637422042660, + "dateCreated": 1637419691713, + "localOnly": false, + "persistDateEdited": false + }, + "b8daae0b425606fdb7c4431a": { + "noteId": "5cf86e67c511be0e63fe8d11", + "id": "b8daae0b425606fdb7c4431a", + "type": "tiny", + "data": "

streetwriters
/
notesnook
Public

", + "dateEdited": 1637817281400, + "dateCreated": 1637816484695, + "localOnly": false, + "persistDateEdited": false + }, + "c2dd0fa56d2ac84cc5645b4b": { + "noteId": "9baa36978a80453f80b2a68b", + "id": "c2dd0fa56d2ac84cc5645b4b", + "type": "tiny", + "data": "

I am attachments.

\"streetwriters222  

  bin.tar.gz

", + "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": "

Function

\n

Hello

\n
function google() {
var function google();
Function google();
}
\n

Hh

\n

 

", + "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": "

\"MTgzNDc1NTI4OTQ5MzEwNTAy.webp\"  j


", + "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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: "

hello i am a note of the world

", + data: "

hello i am a note of the world

" }; //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: "


" }, + content: { type: "tiptap", data: "


" } }); 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 + "

Some new content

", - 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 + "

Some new content

", - 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 + "

Some new content

", - 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 + "

Some new content

", - 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: "

This is a very colorful existence.

", - }, + data: "

This is a very colorful existence.

" + } }).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: `
  1. Hello I won't be a headline :(
  2. Me too.
  3. Gold.
`, - }, + data: `
  1. Hello I won't be a headline :(
  2. Me too.
  3. Gold.
` + } }).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: "


", + data: "


" }, 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@email.com`, { - 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: `

Hello
This is colorful

`, - }, + data: `

Hello
This is colorful

` + } }; const IMG_CONTENT = `

This is a note for me.j

\n

Screenshot_20210915_102333.png  

\n

 

`; @@ -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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: "

hello world

" }, + content: { type: "tiptap", data: "

hello world

" } }); 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /* 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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: `

deviceA=true

`, - }, + data: `

deviceA=true

` + } }); 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ import { IMG_CONTENT, IMG_CONTENT_WITHOUT_HASH } from "../../__tests__/utils"; import { Tiptap } from "../tiptap"; @@ -46,7 +47,7 @@ const HTMLS = {

hell

what

sdsdavav

daskvjbdsva

vsadjkvsadbvjk

dsvsajkdb

dskajvbsadj

kjdasvbkj

daskvbkdsa

kdsajvbsajkd

kjdsavbdsa

`, codeblocks: `

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 is a language and like all other languages it has it's own "secrets", it's own set of quirks.

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.

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.

Understanding Typescript generics

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.

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.

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 & conditions:

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

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 item.

In Typescript, this will be solved much more succinctly:

// 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<"triangle"> will give an error.\ntype Item<TItemType extends ItemTypes> = {\n type?: TItemType;\n width: number;\n height: number;\n};\n\n// This is just syntax sugar to increase readability.\ntype Square = Item<"square">;\ntype Circle = Item<"round">;\n\n// Our container is just a simple wrapper around an array\n// that accepts items of only a specific type.\ntype Container<TItemType extends ItemTypes> = Array<Item<TItemType>>;\n\nvar squareContainer: Container<"square"> = [];\nvar roundContainer: Container<"round"> = [];\n\n// This wrapper is unnecessary, of course, because array.push\n// already does this. Only for demonstration purposes.\nfunction putIntoContainer<\n TItemType extends ItemTypes,\n TItem extends Item<TItemType>\n>(container: Container<TItemType>, 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<"round">'.\nputIntoContainer(squareContainer, circle); // Error: Argument of type 'Circle' is not assignable to parameter of type 'Item<"square">'.\n

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:

  1. You have 100% compile-time type safety.

  2. You can't put a round item in a square container (you will get compiler error).

  3. You didn't write any extra runtime code.

Expanding on point #3, after transpilation the above code will turn more-or-less into:

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

This is the power of generics. More specifically, this is Typescript generics at a glance.

But this post was supposed to be about the "Secrets" of Typescript Generics, right? Well, let's get into that.

1. Type filters using ternary operators

2. Deeply recursive types

3. Type functions

4. Type inference using interface properties

`, tasklists: `

Hello

  • Task item 1

  • Task item 2

  • Task item 3

  • Task item 4

    • Sub task item 1

    • Sub task item 2

  • Task Item 5

Nene

  • dasvsadv

  • adsva\`sd

  • vasd

  • vsadvdsa

`, - outlinelists: `

Testing outline list:

  • My outline list

  • works

  • but sometimes

    • It doesn't

    • what do I do?

    • I need to do something!

  • Makes no sense!

  • Yes it doesn't!

`, + outlinelists: `

Testing outline list:

  • My outline list

  • works

  • but sometimes

    • It doesn't

    • what do I do?

    • I need to do something!

  • Makes no sense!

  • Yes it doesn't!

` }; 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ // 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ // 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /** * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ // 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ const template = ` 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ type Message = { 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ import React from "react"; import { RefObject, useEffect, useRef } from "react"; @@ -24,7 +25,7 @@ function Title({ controller, title, titlePlaceholder, - readonly, + readonly }: { controller: RefObject; 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /// 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ // 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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,44 +97,6 @@ "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", - "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/code-frame": { "version": "7.18.6", "license": "MIT", @@ -145,198 +107,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/compat-data": { - "version": "7.18.13", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.18.13", - "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", - "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": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.18.9", - "license": "MIT", - "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", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.20.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-class-features-plugin": { - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.18.6", - "license": "MIT", - "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", - "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" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.18.9", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-explode-assignable-expression": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.18.6", - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.18.6", "license": "MIT", @@ -347,33 +117,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.18.9", - "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" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-plugin-utils": { "version": "7.18.9", "license": "MIT", @@ -381,66 +124,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.18.9", - "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" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.18.9", - "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" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { "version": "7.18.10", "license": "MIT", @@ -455,38 +138,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.18.11", - "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" - } - }, - "node_modules/@babel/helpers": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/highlight": { "version": "7.18.6", "license": "MIT", @@ -499,339 +150,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/parser": { - "version": "7.18.13", - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.18.9", - "license": "MIT", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.18.10", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^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-proposal-class-static-block": { - "version": "7.18.6", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.18.9", - "license": "MIT", - "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" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.18.6", - "license": "MIT", - "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/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.18.6", - "license": "MIT", - "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" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.18.6", - "license": "MIT", - "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/@babel/plugin-proposal-object-rest-spread": { - "version": "7.18.9", - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.18.9", - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^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-proposal-private-property-in-object": { - "version": "7.18.6", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-jsx": { "version": "7.18.6", "license": "MIT", @@ -845,712 +163,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.18.6", - "license": "MIT", - "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-async-to-generator": { - "version": "7.18.6", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.18.6", - "license": "MIT", - "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-block-scoping": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.18.9", - "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" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.18.13", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.18.6", - "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-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.18.6", - "license": "MIT", - "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" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.18.8", - "license": "MIT", - "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-function-name": { - "version": "7.18.9", - "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" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.18.6", - "license": "MIT", - "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-modules-amd": { - "version": "7.18.6", - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.18.6", - "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_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.18.9", - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.18.6", - "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" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.18.6", - "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" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.18.6", - "license": "MIT", - "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", - "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" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.18.8", - "license": "MIT", - "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", - "license": "MIT", - "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", - "license": "MIT", - "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-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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-development": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { - "version": "7.18.6", - "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" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.18.6", - "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_modules/@babel/plugin-transform-reserved-words": { - "version": "7.18.6", - "license": "MIT", - "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-shorthand-properties": { - "version": "7.18.6", - "license": "MIT", - "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-spread": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.18.6", - "license": "MIT", - "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-template-literals": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.18.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.18.6", - "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-0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.18.10", - "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" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "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/@babel/preset-react": { - "version": "7.18.6", - "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" - } - }, "node_modules/@babel/runtime": { "version": "7.18.9", "license": "MIT", @@ -1561,37 +173,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/template": { - "version": "7.18.10", - "license": "MIT", - "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", - "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" - } - }, "node_modules/@babel/types": { "version": "7.18.13", "license": "MIT", @@ -1748,43 +329,6 @@ "version": "0.3.0", "license": "MIT" }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "license": "MIT", - "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", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.15", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, "node_modules/@mdi/js": { "version": "6.9.96", "license": "Apache-2.0" @@ -1796,118 +340,10 @@ "prop-types": "^15.7.2" } }, - "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", "license": "MIT" }, - "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/@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", - "license": "MIT", - "dependencies": { - "@emotion/memoize": "^0.8.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", - "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" - } - }, - "node_modules/@streetwriters/reflexbox/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/@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", "license": "MIT", @@ -2006,6 +442,59 @@ "@styled-system/css": "^5.1.5" } }, + "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/@tiptap/core": { "version": "2.0.0-beta.182", "license": "MIT", @@ -2533,6 +1022,14 @@ "@types/react": "*" } }, + "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/tinycolor2": { "version": "1.4.3", "dev": true, @@ -2552,25 +1049,6 @@ "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", @@ -2584,111 +1062,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", @@ -2696,20 +1073,6 @@ "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", @@ -2746,32 +1109,6 @@ "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", @@ -2791,17 +1128,6 @@ "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", @@ -2809,25 +1135,6 @@ "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", @@ -2846,21 +1153,6 @@ "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", @@ -2872,18 +1164,12 @@ "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" - }, + "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": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, "node_modules/detect-indent": { @@ -2893,10 +1179,6 @@ "node": ">=12.20" } }, - "node_modules/electron-to-chromium": { - "version": "1.4.233", - "license": "ISC" - }, "node_modules/error-ex": { "version": "1.3.2", "license": "MIT", @@ -2904,13 +1186,6 @@ "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", @@ -2918,28 +1193,10 @@ "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" @@ -2971,73 +1228,10 @@ "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", @@ -3055,26 +1249,6 @@ "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", @@ -3144,14 +1318,6 @@ "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" @@ -3180,17 +1346,6 @@ "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", @@ -3209,25 +1364,6 @@ "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", @@ -3236,14 +1372,6 @@ "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, @@ -3257,30 +1385,10 @@ "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": [ @@ -3310,10 +1418,6 @@ "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", @@ -3324,24 +1428,6 @@ "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", @@ -3349,16 +1435,6 @@ "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" @@ -3381,18 +1457,6 @@ } } }, - "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", @@ -3400,36 +1464,6 @@ "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" @@ -3478,13 +1512,6 @@ "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" @@ -3496,28 +1523,6 @@ "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, @@ -3696,17 +1701,6 @@ "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", @@ -3745,66 +1739,10 @@ "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", @@ -3839,20 +1777,6 @@ "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", @@ -3987,17 +1911,6 @@ "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" @@ -4113,62 +2026,6 @@ "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" @@ -4206,10 +2063,6 @@ "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", @@ -4244,245 +2097,27 @@ "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": { @@ -4491,612 +2126,18 @@ "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" - } - }, - "@babel/plugin-transform-destructuring": { - "version": "7.18.13", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@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" - } - }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.18.9", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@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" - } - }, - "@babel/plugin-transform-for-of": { - "version": "7.18.8", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@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" - } - }, - "@babel/plugin-transform-literals": { - "version": "7.18.9", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@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" - } - }, - "@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" - } - }, - "@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" - } - }, - "@babel/plugin-transform-modules-umd": { - "version": "7.18.6", - "requires": { - "@babel/helper-module-transforms": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@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" - } - }, - "@babel/plugin-transform-new-target": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-object-super": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/helper-replace-supers": "^7.18.6" - } - }, - "@babel/plugin-transform-parameters": { - "version": "7.18.8", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-property-literals": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-react-display-name": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@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" - } - }, - "@babel/plugin-transform-react-jsx-development": { - "version": "7.18.6", - "requires": { - "@babel/plugin-transform-react-jsx": "^7.18.6" - } - }, - "@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" - } - }, - "@babel/plugin-transform-regenerator": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6", - "regenerator-transform": "^0.15.0" - } - }, - "@babel/plugin-transform-reserved-words": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-spread": { - "version": "7.18.9", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" - } - }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/plugin-transform-template-literals": { - "version": "7.18.9", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.18.9", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@babel/plugin-transform-unicode-escapes": { - "version": "7.18.10", - "requires": { - "@babel/helper-plugin-utils": "^7.18.9" - } - }, - "@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/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", - "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/preset-react": { - "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/runtime": { "version": "7.18.9", "requires": { "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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /** * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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)?.[":hover"]?.["bg"] || "hover"; - const bg = (sx as unknown as Record)?.["bg"] || "unset"; + (((sx as ThemeUICSSObject)?.[":hover"] as ThemeUICSSObject) + ?.bg as string) || "hover"; + const bg = ((sx as ThemeUICSSObject)?.bg as string) || "unset"; const buttonRef = useRef(); @@ -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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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) { 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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(); + const embedRef = useRef(null); const { src, width, height, align } = node.attrs; return ( @@ -63,8 +64,8 @@ export function EmbedComponent( }} > - . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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(); + const imageRef = useRef(null); const [error, setError] = useState(); const [source, setSource] = useState(); @@ -94,10 +95,10 @@ export function ImageComponent( > {!source || error ? ( . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ import { Node, @@ -117,7 +118,7 @@ export const ImageNode = Node.create({ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /*--------------------------------------------------------- * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /*--------------------------------------------------------- * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /*--------------------------------------------------------- * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /** * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ /*--------------------------------------------------------- * 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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(); + const buttonRef = useRef(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 . - */ +/* +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 . +*/ + +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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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; + buttonRef?: React.RefObject; 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2022 Streetwriters (Private) Limited + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ 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 . - */ +/* +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 . +*/ + +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(); + const ref = useRef(null); const [isPickerOpen, setIsPickerOpen] = useState(expanded || false); const [currentColor, setCurrentColor] = useState( 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 . - */ +/* +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 . +*/ + +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) {