Commit graph

59 commits

Author SHA1 Message Date
9db44c0126
feat: update package for major release and
ownership transfer

Bumped the version to 4.0.0 to signify a major update, reflecting
potentially breaking changes or significant feature additions.
Transitioned ownership details, including author, issue tracking URLs,
and project homepage to a new maintainer, Kumi. This shift indicates a
formal handover in project stewardship, ensuring continued support and
development under new management.
2024-03-27 18:59:45 +01:00
9e139d0de4
feat: transition main module to src/index.js
Changed the 'main' field in package.json to point to 'src/index.js'
instead of 'lib/index.js'. This update aligns the entry point with the
source code to simplify the development process and ensure that the
latest features and fixes are readily accessible. The build script
remains in place for pre-publication compilation, maintaining
compatibility with environments expecting transpiled code.

This shift encourages direct use of the source module, facilitating
easier debugging and faster iteration during development.
2024-03-27 18:59:26 +01:00
12db2ff24b
feat: fork and update aframe-click-drag-component
Forked the original aframe-click-drag-component to ensure compatibility
with A-Frame 1.5.0, addressing the lack of maintenance and updates. This
version removes the call for new maintainers and clarifies the project
is a continuation of the original work. The update allows users to
maintain interactivity in 3D A-Frame scenes with current versions.

This change ensures that developers using A-Frame for VR projects can
continue to implement click and drag functionality without being
hindered by outdated dependencies or unresolved issues.
2024-03-27 18:33:58 +01:00
e9eeef512a
refactor(index.js): improve syntax consistency and cleanup
Standardized single quotes to double quotes and removed unnecessary
commas for a more consistent code style across the file. Removed unused
imports and whitespace, contributing to a cleaner and more readable
codebase. Additionally, optimized the way Quaternion and Vector3 objects
are reused, reducing the need for creating new instances, thus
potentially improving memory usage and performance slightly.

No API changes or behavior modifications were introduced, ensuring
backward compatibility.
2024-03-27 18:30:26 +01:00
887a55f37c
feat: update dependencies to newer versions
Updated several dependencies to their newer versions to leverage recent
fixes and improvements, enhance security, and ensure compatibility with
modern environments. This includes updates to core utilities, stream
management tools, glob matching libraries, and more. Significant changes
include updates to `lodash`, `minimatch`, `source-map`, and `three`.
Ensuring these updates also involved minor adjustments for compatibility
with updated API surfaces and behavior.

These changes may improve overall performance, offer better features,
and close potential security gaps in previous versions.
2024-03-27 17:15:32 +01:00
Jess Telford
b463522e66
Merge pull request #23 from luke3butler/master
Fix ".applyProjection() has been removed."
2022-06-10 10:00:29 +10:00
Jess Telford
c74d79e997
Merge pull request #22 from patrickocoffeyo/fix/canvas-coordinates
Incorporate canvas position in mouse position calculation
2022-06-10 09:59:55 +10:00
Jess Telford
c87cd1a3df
Merge pull request #20 from patrickocoffeyo/feature/allow-disable-from-attribute
Allow click-drag to be disabled/enabled
2022-06-10 09:57:25 +10:00
Patrick Coffey
d32593a06c fix: remove tmp index.js file 2018-07-27 17:03:45 -05:00
Jess Telford
12b475618a
Fix typo 2018-06-19 22:12:25 +10:00
Jess Telford
fe04d7fea9
Looking for maintainers 2018-06-19 22:12:07 +10:00
Luke
ecee3be650 Fix ".applyProjection() has been removed." 2018-03-07 12:34:49 -05:00
Patrick Coffey
cf791d0404
fix(canvas): ensure positioning incorporates cavas position for embedded scenes 2018-03-03 13:48:06 -06:00
Patrick Coffey
e9c82dfe6c
Document ability to toggle click-drag off 2017-08-15 16:48:27 -05:00
Patrick Coffey
95f875e8ba
Allow attribute-level disabling of click-drag functionality 2017-08-15 16:44:25 -05:00
Jess Telford
9e49826865 3.0.1 2016-12-18 17:10:35 +11:00
Jess Telford
b0e0f6018d Merge pull request #12 from jesstelford/update-deps
Updated to latest deps
2016-12-18 17:09:08 +11:00
Jess Telford
3b770312cd Updated to latest deps 2016-12-18 17:08:35 +11:00
Jess Telford
67102f751c 3.0.0 2016-11-11 18:25:07 +11:00
Jess Telford
936734c736 Simpler, more accurate velocity calculations 2016-11-11 18:16:14 +11:00
Jess Telford
0801a5617a 2.0.0 2016-11-05 15:57:33 +11:00
Jess Telford
8f84fdc21d Fix linting error 2016-11-05 15:57:02 +11:00
Jess Telford
1a6cc25544 Merge pull request #9 from jesstelford/no-local-lock-option
Remove locktolocalrotation option
2016-11-05 15:56:19 +11:00
Jess Telford
f0902cedd1 Remove locktolocalrotation option 2016-11-05 15:55:51 +11:00
Jess Telford
e0e8c23bea Merge pull request #8 from jesstelford/children
Support dragging child entities
2016-11-05 15:55:40 +11:00
Jess Telford
877f0f12f1 Support dragging child entities 2016-11-05 15:52:46 +11:00
Jess Telford
73c1d75f00 1.3.3 2016-11-05 14:15:49 +11:00
Jess Telford
bba81cfc6d Merge pull request #7 from jesstelford/only-emit-when-dragging
Only emit drag end after dragging, not clicks
2016-11-05 14:14:53 +11:00
Jess Telford
fb87db0f3d Only emit drag end after dragging, not clicks 2016-11-05 14:14:25 +11:00
Jess Telford
2dbe80d4d9 1.3.2 2016-11-05 13:58:53 +11:00
Jess Telford
44e3665c99 Fix linting error 2016-11-05 13:54:34 +11:00
Jess Telford
7157f2c215 Merge pull request #6 from jesstelford/pause-support
Pause support
2016-11-05 13:45:17 +11:00
Jess Telford
bf5b6c510a Add a changelog 2016-11-05 13:43:20 +11:00
Jess Telford
8a0597621b Remove drag listeners when paused / removed 2016-11-04 21:04:13 +11:00
Jess Telford
3ecd887527 Release v1.3.1. 2016-10-15 15:23:06 +11:00
Jess Telford
e91a10fd82 Add fps keyboard controls 2016-10-15 15:22:53 +11:00
Jess Telford
585f4fd05e Update to latest keyboard-controls usage 2016-10-05 08:15:56 +11:00
Jess Telford
0d13873a75 v1.3.0 2016-10-05 07:45:44 +11:00
Jess Telford
be6f895948 Merge pull request #4 from jesstelford/touch-support
Support touch events for dragging
2016-10-05 07:45:01 +11:00
Jess Telford
299698fe3e Support touch events for dragging 2016-10-05 07:40:57 +11:00
Jess Telford
3d47edafbb v1.2.0 2016-10-04 17:49:43 +11:00
Jess Telford
4b77d00f10 Merge pull request #3 from jesstelford/lock-to-camera
Lock to camera
2016-10-04 17:48:14 +11:00
Jess Telford
20f5f9b000 Enable screen locking for rotated camera views 2016-10-04 17:46:38 +11:00
Jess Telford
a675ba84ba Correctly rotate object when locked to camera 2016-10-04 07:41:37 +11:00
Jess Telford
6b6ef887ea Setting up for locking to camera 2016-10-03 20:38:36 +11:00
Jess Telford
2589c0bcc1 Support a rotated camera 2016-10-03 20:37:56 +11:00
Jess Telford
06b4b885fe v1.1.1 2016-09-30 07:47:04 +10:00
Jess Telford
089ccb8148 Correct export path 2016-09-30 07:46:29 +10:00
Jess Telford
49877eef2c Add second physics example 2016-09-29 08:25:32 +10:00
Jess Telford
4b22f80c8c Allow ghpages build to work 2016-09-28 22:55:54 +10:00