refactor: add checklist editor source (#1085)

* refactor: add checklist editor source

* chore: merge develop
This commit is contained in:
Mo
2022-06-10 17:42:57 -05:00
committed by GitHub
parent 318e89dc03
commit e0794e4ad9
115 changed files with 11962 additions and 180 deletions

View File

@@ -1,7 +1,12 @@
{
"org.standardnotes.theme-autobiography": {
"version": "1.0.4",
"base64": "b1df118550bca4ef10b6f8eaeeeddb051cde8171212c5a73a577c834d331725f",
"binary": "8cf9b21daea61b41bde70bfd6a7a4fcb1a8cf5539da52a7f7bcd48f2faa1c748"
"base64": "64abd932647cc41a6780d7dc6ace34053c26eab79403b9f09c682221a72337f3",
"binary": "12b90a338fb068615557dff1c11d5c08cebdf55868d448be20299fa0438a24f1"
},
"org.standardnotes.advanced-checklist": {
"version": "0.0.1",
"base64": "b7b9807b14554e933889ad18ba7e6891ed784b91c8cd14d58e575e0616631822",
"binary": "bda0917402d5a671e4c53e9f66cfe643cfc773e3b93591eca1b1b08df059c064"
}
}

View File

@@ -0,0 +1,13 @@
{
"files": {
"main.css": "./static/css/main.352e52d4.css",
"main.js": "./static/js/main.c544f953.js",
"index.html": "./index.html",
"main.352e52d4.css.map": "./static/css/main.352e52d4.css.map",
"main.c544f953.js.map": "./static/js/main.c544f953.js.map"
},
"entrypoints": [
"static/css/main.352e52d4.css",
"static/js/main.c544f953.js"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A great way to manage short-term and long-term to-do's. You can mark tasks as completed, change their order, and edit the text naturally in place."/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Advanced Checklist</title><script defer="defer" src="./static/js/main.c544f953.js"></script><link href="./static/css/main.352e52d4.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="sn-component" id="root"></div></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -0,0 +1,25 @@
{
"short_name": "Advanced Checklist",
"name": "Advanced Checklist",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@@ -0,0 +1,21 @@
{
"name": "@standardnotes/advanced-checklist",
"version": "0.0.1",
"description": "A task editor with grouping functionality.",
"keywords": [
"Standard Notes",
"Standard Notes Extensions"
],
"private": true,
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/standardnotes/advanced-checklist.git"
},
"bugs": {
"url": "https://github.com/standardnotes/advanced-checklist/issues"
},
"sn": {
"main": "index.html"
}
}

View File

@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

View File

@@ -0,0 +1,13 @@
{
"identifier": "org.standardnotes.advanced-checklist-dev",
"name": "Advanced Checklist - Dev",
"content_type": "SN|Component",
"area": "editor-editor",
"version": "0.1.0",
"description": "A task editor with grouping functionality.",
"url": "http://localhost:3000/index.html",
"download_url": "",
"latest_url": "",
"marketing_url": "https://github.com/standardnotes/advanced-checklist",
"thumbnail_url": ""
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,87 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license
* Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
* Build: `lodash include="includes,merge,filter,map,remove,find,omit,pull,cloneDeep,pick,uniq,sortedIndexBy,mergeWith"`
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom-server.browser.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,144 @@
{
"name": "@standardnotes/advanced-checklist",
"version": "0.0.1",
"description": "A task editor with grouping functionality.",
"keywords": [
"Standard Notes",
"Standard Notes Extensions"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/standardnotes/advanced-checklist.git"
},
"bugs": {
"url": "https://github.com/standardnotes/advanced-checklist/issues"
},
"sn": {
"main": "build/index.html"
},
"homepage": ".",
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "react-scripts build",
"prepublishOnly": "npm run build",
"clean-deploy-cache": "rm -rf node_modules/.cache/gh-pages",
"predeploy": "yarn run pretty && yarn run build && yarn clean-deploy-cache",
"deploy-build": "yarn run predeploy && gh-pages -b build -d build",
"deploy-dev": "yarn run predeploy && gh-pages -b dev -d build",
"deploy-stable": "yarn run predeploy && gh-pages -b gh-pages -d build",
"test": "react-scripts test",
"test:coverage": "npm run test -- --coverage --watchAll",
"eject": "react-scripts eject",
"serve": "serve -s -p 3000 build",
"server-public": "http-server -p 3000 --cors",
"server-root": "http-server ./ -p 3000 --cors",
"server": "http-server ./build -p 3000 --cors",
"pretty": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"README.md": [
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/mockData.ts",
"<rootDir>/src/app/hooks.ts",
"<rootDir>/src/app/store.ts",
"<rootDir>/src/app/listenerMiddleware.ts"
],
"coverageReporters": [
"text",
"html"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
]
},
"dependencies": {
"@reach/alert-dialog": "0.16.2",
"@reach/menu-button": "0.16.2",
"@reach/visually-hidden": "0.16.0",
"@reduxjs/toolkit": "1.8.0",
"@standardnotes/editor-kit": "2.2.5",
"@standardnotes/stylekit": "5.23.0",
"@standardnotes/utils": "1.6.2",
"@testing-library/dom": "8.11.3",
"@testing-library/jest-dom": "5.16.2",
"@testing-library/react": "12.1.4",
"@testing-library/user-event": "13.5.0",
"@types/jest": "27.4.1",
"@types/lodash": "4.14.179",
"@types/node": "17.0.21",
"@types/react": "17.0.40",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-dom": "17.0.13",
"@types/react-redux": "7.1.23",
"@types/react-transition-group": "4.4.4",
"@types/redux-mock-store": "1.0.3",
"@types/styled-components": "5.1.24",
"@types/uuid": "8.3.4",
"gh-pages": "3.2.3",
"husky": "7.0.0",
"lint-staged": "12.3.5",
"node-sass": "*",
"prettier": "2.5.1",
"react": "17.0.2",
"react-beautiful-dnd": "13.1.0",
"react-dom": "17.0.2",
"react-redux": "7.2.8",
"react-scripts": "5.0.0",
"react-transition-group": "4.4.2",
"redux": "4.1.2",
"redux-mock-store": "1.5.4",
"source-map-explorer": "2.5.2",
"styled-components": "5.3.5",
"ts-jest": "27.1.4",
"typescript": "4.6.2",
"uuid": "8.3.2"
}
}

View File

@@ -1,7 +1 @@
{
"version": 3,
"mappings": "AAAA,KAAM;EACJ,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,QAAQ;EACvB,kBAAkB,CAAC,QAAQ;EAC3B,cAAc,CAAC,QAAQ;EACvB,iBAAiB,CAAC,QAAQ;EAC1B,oBAAoB,CAAC,QAAQ;EAE7B,wBAAwB,CAAC,QAAQ;EACjC,iCAAiC,CAA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A;EAEA;EACA;EAEA;EAEA;EACA;EACA;EAEA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;;AAGF;EACE;EACA","file":"dist.css"}

View File

@@ -2,25 +2,18 @@
"name": "@standardnotes/autobiography-theme",
"version": "1.0.4",
"main": "dist/dist.css",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-newer": "^1.2.0"
},
"private": true,
"scripts": {
"build": "grunt",
"build": "yarn run grunt",
"prepublishOnly": "yarn run build"
},
"sn": {
"main": "dist/dist.css"
},
"repository": {
"type": "git",
"url": "git://github.com/standardnotes/autobiography-theme.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-newer": "^1.2.0"
}
}