Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
d3fa2d5
feat: AI Editor initial code
ahnv Jan 20, 2025
1ed798a
feat: v0.0.5
ahnv Jan 23, 2025
c385c62
feat: v0.0.7
ahnv Jan 26, 2025
51fa992
feat: v0.0.8
ahnv Jan 30, 2025
6961184
chore: removed unused files and added coderabbit config
ahnv Jan 30, 2025
2dc5f81
chore: removed unused files and added coderabbit config
ahnv Jan 30, 2025
113e5a7
feat: all resize related scale modes handled
ahnv Feb 11, 2025
0bd092e
v0.0.9
ahnv Feb 13, 2025
f7d8b7d
v0.0.10
ahnv Feb 13, 2025
884e8c3
feat: ai image extender
ahnv May 4, 2025
272f1cd
refactor: remove editor components and interfaces
ahnv Jun 19, 2025
1dacc86
refactor: migrate from webpack to vite and update project structure
ahnv Jun 19, 2025
0745710
feat: add husky git hooks and biome linting to enforce code quality
ahnv Jun 19, 2025
d617dc6
refactor: standardize package exports and update Biome VCS configuration
ahnv Jun 19, 2025
e197418
chore: remove obsolete package.tgz file from dev package
ahnv Jun 19, 2025
7bdf2f0
build: update @imagekit/editor version to 0.0.1 and pin dependency in…
ahnv Jun 19, 2025
77c9f7e
tweak: disable colors in lint output for pre-commit hook
ahnv Jun 19, 2025
65a083e
build: add framer-motion, radix-ui, and styled-components dependencies
ahnv Jun 19, 2025
a0d19db
style: update code formatting to use optional semicolons and standard…
ahnv Jun 19, 2025
e42af74
build: disable emptyOutDir in vite config to preserve build artifacts
ahnv Jun 19, 2025
435acc0
feat: implement ImageKit editor UI with transformation management and…
ahnv Jul 16, 2025
5f64517
refactor: rename color theme prefixes from 'app' to 'editor' for bett…
ahnv Jul 16, 2025
51e3fa3
fix: add CSS reset and type safety improvements for editor components
ahnv Jul 16, 2025
b769229
feat: add color picker and anchor field components with focus enhance…
ahnv Jul 16, 2025
23fce2b
feat: replace quality and DPR inputs with slider controls and default…
ahnv Jul 16, 2025
01818ed
feat: add search functionality, export options, and UI improvements t…
ahnv Jul 24, 2025
e04e20b
chore: bump @imagekit/editor version from 0.0.8 to 0.0.9
ahnv Jul 24, 2025
cf447c4
feat: implement RetryableImage component with error handling and auto…
ahnv Jul 25, 2025
604c4c2
feat: add URL signing support with loading states for transformed images
ahnv Aug 5, 2025
d93088a
feat: add support for file metadata in image transformation pipeline
ahnv Aug 5, 2025
abbefaa
release: bump @imagekit/editor version to 0.0.11
ahnv Aug 6, 2025
0618792
docs: update image transformation descriptions and help text with cle…
ahnv Aug 6, 2025
6653f91
feat: add creatable select component for aspect ratio with predefined…
ahnv Aug 6, 2025
10cf099
feat: enhance shadow controls with customizable blur, saturation and …
ahnv Aug 6, 2025
9753a0e
refactor: simplify URL signing by moving from batch to individual req…
ahnv Aug 6, 2025
2119508
release: bump @imagekit/editor version to 0.0.12
ahnv Aug 6, 2025
26631f0
build: add react-select as external dependency and configure vite glo…
ahnv Aug 6, 2025
fe0e600
chore: bump @imagekit/editor version to 0.0.13
ahnv Aug 6, 2025
3dd0bda
feat: add generic metadata type support for FileElement and Signer in…
ahnv Aug 7, 2025
4dd75c6
release: bump @imagekit/editor version to 0.0.14
ahnv Aug 7, 2025
8a0aded
refactor: improve type safety by enforcing required metadata fields i…
ahnv Aug 7, 2025
0a4498f
refactor: improve type safety with generic RequiredMetadata interface…
ahnv Aug 7, 2025
d902ce4
fix: handle undefined requireSignedUrl in metadata with fallback to f…
ahnv Aug 7, 2025
d122d1b
style: increase font sizes and adjust spacing across components
ahnv Aug 7, 2025
c5320b7
chore: bump @imagekit/editor version to 0.0.18
ahnv Aug 8, 2025
2e934dc
feat: add collapsible toolbar and image removal functionality in grid…
ahnv Aug 11, 2025
64090bc
feat: enhance text overlay with advanced typography and styling options
ahnv Aug 11, 2025
d5d7b43
chore: bump @imagekit/editor version to 0.0.19
ahnv Aug 11, 2025
b1ac2ee
fix: remove duplicate image filename decoding in ActionBar component
ahnv Aug 11, 2025
c688163
feat: add loading spinners and adjust grid image size range from 200-…
ahnv Aug 11, 2025
79e8ab1
feat: add loading state to delete buttons and increase signing timeou…
ahnv Aug 11, 2025
faa056b
refactor: implement signed URL caching and abort controller for image…
ahnv Aug 11, 2025
ec512bf
release: bump @imagekit/editor version to 0.0.21
ahnv Aug 11, 2025
992fd52
refactor: remove toolbar collapse functionality and adjust layout spa…
ahnv Aug 12, 2025
adbd2de
refactor: update background color field to use color-picker and remov…
ahnv Aug 12, 2025
62ccb2f
refactor: update background transformation schema and add top menu pl…
ahnv Aug 12, 2025
1b23e06
build: bump @imagekit/editor version from 0.0.21 to 0.0.23
ahnv Aug 12, 2025
0d8037f
release: bump @imagekit/editor to v0.0.24
ahnv Aug 12, 2025
843f3d0
tweak: update z-index in toolbar and background color examples in schema
ahnv Aug 12, 2025
053edca
chore: bump @imagekit/editor version from 0.0.24 to 0.0.25
ahnv Aug 12, 2025
19bf99b
refactor: update shadow and contrast transformations to use sliders w…
ahnv Aug 12, 2025
1d99770
chore: bump @imagekit/editor version from 0.0.25 to 0.0.26
ahnv Aug 12, 2025
10519b2
style: standardize American English spelling of 'color' throughout sc…
ahnv Aug 12, 2025
88782d2
chore: bump @imagekit/editor version from 0.0.26 to 0.0.27
ahnv Aug 12, 2025
77c9dc5
feat: enhance transformation UI with sliders, auto-rotation and flip …
ahnv Aug 12, 2025
ae44a1d
feat: enhance image overlay options and fix transformation field vali…
ahnv Aug 13, 2025
a0d1ace
refactor: remove console.log statements from textLayer schema handler
ahnv Aug 13, 2025
d2792e7
chore: bump @imagekit/editor version to 0.0.29
ahnv Aug 13, 2025
975d133
feat: add support for negative rotation values and auto orientation i…
ahnv Aug 13, 2025
937fbdd
fix: correct prompt encoding logic and reset image error states when …
ahnv Aug 13, 2025
456323e
fix: update format validation schema to accept string instead of boolean
ahnv Aug 13, 2025
6b7f8af
release: bump @imagekit/editor version to 0.0.32
ahnv Aug 13, 2025
496763c
docs: update documentation links for image transformation parameters
ahnv Aug 13, 2025
b513c00
fix: rename rotate transform parameter to rotation for API compatibility
ahnv Aug 13, 2025
0d970a8
chore: bump @imagekit/editor version from 0.0.32 to 0.0.33
ahnv Aug 13, 2025
23f94db
fix: allow empty alpha values and adjust grid view height constraints
ahnv Aug 13, 2025
c97d5d0
release: bump @imagekit/editor version to 0.0.34
ahnv Aug 13, 2025
77ebd4a
fix: allow empty color input and improve hex color validation message
ahnv Aug 14, 2025
50b0b93
build: bump @imagekit/editor version to 0.0.35
ahnv Aug 14, 2025
3666e13
docs: add contributing guidelines and update readme with comprehensiv…
ahnv Aug 14, 2025
61badb3
chore: update CONTRIBUTING.md link in readme
ahnv Aug 14, 2025
a0dab77
fix: improve numeric input validation with precise step alignment and…
ahnv Aug 14, 2025
bbed19b
feat: add type error messages to zod schema validators for better err…
ahnv Aug 14, 2025
9ddad3e
fix: add z-index to dropdown menus to prevent overlap with other UI e…
ahnv Aug 14, 2025
64013c4
chore: bump @imagekit/editor version from 0.0.35 to 0.0.36
ahnv Aug 14, 2025
393fa2e
fix: update overlay background color handling to remove # prefix and …
ahnv Aug 14, 2025
c5870d4
chore: bump @imagekit/editor version from 0.0.36 to 0.0.37
ahnv Aug 14, 2025
bda3b99
tweak: update text layer position examples to use bw/bh instead of iw/ih
ahnv Aug 14, 2025
aa3c167
release: bump @imagekit/editor version to 0.0.38
ahnv Aug 14, 2025
9b572e3
refactor: rename alpha to opacity and update opacity slider range fro…
ahnv Aug 18, 2025
60bbb8e
chore: bump package version to 0.0.39
ahnv Aug 18, 2025
d03118f
refactor: improve type safety in text overlay transformations with st…
ahnv Aug 18, 2025
3251f79
release: bump @imagekit/editor version to 0.0.40
ahnv Aug 18, 2025
6f5edad
feat: convert transformation array to string format for image signing…
ahnv Aug 18, 2025
fd29e24
chore: bump @imagekit/editor version to 0.0.41
ahnv Aug 18, 2025
91c60fe
feat: enhance UI with collapsible transformation categories and impro…
ahnv Aug 20, 2025
bc2c3ac
chore: bump @imagekit/editor version to 0.0.42
ahnv Aug 20, 2025
b5de937
tweak: increase image retry attempts to 10 with longer 10s delay betw…
ahnv Aug 20, 2025
9b3f179
feat: update onClose callback to include destroy function and bump pa…
ahnv Aug 20, 2025
645102b
feat: add useVisibility hook and optimize toolbar UI performance
ahnv Aug 25, 2025
a6aaddb
build: bump @imagekit/editor version to 0.0.47
ahnv Aug 25, 2025
f6c1c65
refactor: update export options type and add visibility filtering for…
ahnv Aug 25, 2025
36a3b86
build: bump @imagekit/editor version to 0.0.48
ahnv Aug 25, 2025
63e9dbc
feat: add currentImage parameter to header export options and visibil…
ahnv Aug 25, 2025
9c28f29
chore: update version to 0.0.49
ahnv Aug 25, 2025
75bdd13
refactor: update RetryableImage component to use imgProps for dimensi…
ahnv Aug 25, 2025
cd69c91
build: bump @imagekit/editor version from 0.0.49 to 0.0.50
ahnv Aug 25, 2025
fe254c5
tweak: increase image retry attempts and add cache-busting version pa…
ahnv Aug 26, 2025
bfafebf
chore: bump @imagekit/editor version to 0.0.51
ahnv Aug 26, 2025
cbf8d64
tweak: update opacity field to use slider input and fix min-size labe…
ahnv Aug 26, 2025
323ced1
release: bump @imagekit/editor version to 0.0.52
ahnv Aug 26, 2025
e8b15ed
refactor: simplify RetryableImage component with hidden probe element…
ahnv Aug 26, 2025
5df43a3
chore: bump @imagekit/editor version to 0.0.53
ahnv Aug 26, 2025
01dfb9f
refactor: replace pendingSrc state with boolean probing flag in Retry…
ahnv Aug 27, 2025
fbd2418
release: bump @imagekit/editor version to 0.0.54
ahnv Aug 27, 2025
f58d954
ci: add Node.js CI workflow for building and packaging editor
ahnv Aug 27, 2025
a16c9e3
chore: bump @imagekit/editor version from 0.0.54 to 1.0.0
ahnv Aug 27, 2025
1081953
ci: add GitHub workflow for automated NPM package publishing
ahnv Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Node CI

on:
push:
pull_request:

jobs:
pack:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest

steps:
- name: ⬇️ Check out code
uses: actions/checkout@v4

- name: 🟢 Enable Corepack
run: corepack enable

- name: 🟢 Set up Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn

- name: 📦 Install deps, build, pack
run: |
yarn install --frozen-lockfile
yarn package
env:
CI: true

- name: 📤 Upload package artifact
uses: actions/upload-artifact@v4
with:
name: imagekit-editor-package
path: builds/imagekit-editor-*.tgz
51 changes: 51 additions & 0 deletions .github/workflows/node-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Publish Package to npmjs

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: ⬇️ Check out code
uses: actions/checkout@v4

- name: 🟢 Enable Corepack
run: corepack enable

- name: 🟢 Set up Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
registry-url: 'https://registry.npmjs.org'

- name: Build and Publish
run: |
yarn install --frozen-lockfile

yarn build

# print the NPM user name for validation
npm whoami

VERSION=$(node -p "require('./package.json').version" )

# Only publish stable versions to the latest tag
if [[ "$VERSION" =~ ^[^-]+$ ]]; then
NPM_TAG="latest"
else
NPM_TAG="beta"
fi

echo "Publishing $VERSION with $NPM_TAG tag."

yarn workspace @imagekit/editor npm publish --tag "$NPM_TAG" --provenance --access public

env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
CI: true
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.DS_*
*.log
logs
**/*.backup.*
**/*.back.*

node_modules
bower_components

*.sublime*

psd
thumb
sketch

packages/imagekit-editor/dist/*
packages/imagekit-editor/*.tgz
.turbo
.yarn
builds
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.13.0
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"editor.tabSize": 2,
"typescript.preferences.importModuleSpecifier": "relative",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "biomejs.biome",
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Loading