Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Sep 10, 2023
1 parent 6b2dff2 commit cc855be
Show file tree
Hide file tree
Showing 11 changed files with 251 additions and 264 deletions.
4 changes: 2 additions & 2 deletions dist/js/color-picker.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/color-picker.cjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/color-picker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/color-picker.js.map

Large diffs are not rendered by default.

486 changes: 236 additions & 250 deletions dist/js/color-picker.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/color-picker.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js/color-picker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/color-picker.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@
"test": "npm run pre-test && cypress run",
"cypress": "npm run pre-test && npx cypress open",
"clean-coverage": "rimraf coverage .nyc_output",
"prepublishOnly": "pnpm up && pnpm format && pnpm build",
"coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --reporter=json-summary",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "npm run lint:ts && npm run check:ts && npm run lint:css",
"fix:ts": "eslint src --config .eslintrc.cjs --fix",
"lint:ts": "eslint src --config .eslintrc.cjs",
"check:ts": "tsc --noEmit",
"fix:css": "stylelint --config .stylelintrc.json --fix scss \"src/scss/*.scss\"",
"lint:css": "stylelint --config .stylelintrc.json scss \"src/scss/*.scss\"",
"build": "npm run lint:ts && npm run build-vite && npm run dts",
"build": "npm run lint && npm run build-vite && npm run dts",
"build-vite": "vite build && npm run docs",
"dev": "vite --open ./docs/dev.html --port 8577",
"dts": "dts-bundle-generator --config ./dts.config.ts",
Expand Down
2 changes: 0 additions & 2 deletions src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import {
isArray,
isString,
getWindow,
submitEvent,
on,
off,
} from '@thednp/shorty';
Expand Down Expand Up @@ -101,7 +100,6 @@ const toggleEvents = (self: ColorPicker, action?: boolean) => {
const fn = action ? on : off;
const { input, pickerToggle, menuToggle } = self;

fn(input, submitEvent, (e) => e.stopPropagation());
fn(input, focusinEvent, self.showPicker);
fn(pickerToggle, mouseclickEvent, self.togglePicker);

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://janessagarrow.com/blog/typescript-and-esbuild/
"compilerOptions": {
"lib": ["DOM", "ESNext", "DOM.Iterable"],
"types": ["vite", "vite/client", "@thednp/shorty", "@thednp/event-listener", "@thednp/color"],
"types": ["vite", "vite/client", "@thednp/shorty", "@thednp/color"],
"rootDir": "./",
"baseUrl": "./",
"module": "ESNext",
Expand Down

0 comments on commit cc855be

Please sign in to comment.