3521ee0cbf
0.0.1
Publish to npm / publish (push) Successful in 23s
2025-05-16 12:01:05 +10:00
5847615a17
chore: update build process and configuration
...
Publish to npm / publish (push) Successful in 23s
- Changed main entry point to "dist/main.min.js" and updated types to "dist/types.d.ts" in package.json.
- Added Rollup configuration for bundling and minifying the output JavaScript and generating type definitions.
- Updated build script to include Rollup and cleanup intermediate files.
- Specified output directory for declaration files in tsconfig.json.
- Added necessary development dependencies for Rollup and TypeScript.
2025-05-16 12:00:16 +10:00
918823afce
Add .npmignore to exclude src/ and .gitea directories
Publish to npm / publish (push) Successful in 17s
2025-05-16 10:47:15 +10:00
19bc4ca600
Add Gitea Actions workflow for publishing to npm
Publish to npm / publish (push) Successful in 18s
2025-05-16 10:34:12 +10:00
10e733eae1
Fix formatting in README for clarity
2025-05-16 10:25:55 +10:00
417da02f39
Merge branch 'main' of git.nas.astrian.moe:Astrian/Laterano
2025-05-15 16:41:41 +10:00
fec7d6ef29
Fix typo in Laterano description: correct "Lateran" to "Lateranian"
2025-05-15 16:41:39 +10:00
c2691d11d2
Add license
2025-05-15 06:34:13 +00:00
a36fd4a2f9
Add prepare script to package.json for build automation
2025-05-15 16:32:21 +10:00
5098c74c90
Update README: specify sample code context for a simple to-do app
2025-05-15 16:30:39 +10:00
2e198110cd
Update README: enhance usage instructions and add sample code for component integration
2025-05-15 16:30:23 +10:00
f577942298
Add initial README content: introduce Laterano framework
2025-05-15 16:15:27 +10:00
b420684b3f
Enhance list rendering: add error handling for placeholder's parent node and improve DOM item detachment
2025-05-15 15:49:12 +10:00
8257f64a76
Refactor state management: streamline dependency relationship setup for state paths in text node updates
2025-05-15 15:16:16 +10:00
77229cd4b0
Refactor ComponentOptions: replace events with funcs for event handling and enhance getState method for nested state retrieval
2025-05-15 15:04:01 +10:00
1afae00c45
Refactor %for macro handling: dynamically bind key attribute and remove original %key attribute
2025-05-15 14:30:37 +10:00
719853d2d1
Enhance %for macro handling: optimize DOM updates by using a document fragment for list rendering
2025-05-15 14:26:33 +10:00
7ca68b88a4
Enhance %for macro handling: improve collection evaluation and item context processing for nested lists
2025-05-15 14:18:20 +10:00
42aa5a1d75
Refactor %for macro handling: improve list rendering logic and key expression evaluation
2025-05-15 13:52:44 +10:00
89bb2ea27d
Fix typos in macro handling comments and method names for consistency
2025-05-15 13:51:57 +10:00
59e5124c14
Refactor %for macro handling: remove key attribute requirement and streamline list rendering logic
2025-05-15 13:48:02 +10:00
7f818b5324
Enhance macro handling: implement %for macro with key attribute validation and improve list rendering logic
2025-05-15 13:45:43 +10:00
6f3d40754a
Enhance condition rendering: defer processing of %if directives until after initial DOM traversal
2025-05-15 12:40:06 +10:00
4a7737c74f
Enhance condition rendering: trigger updates for %if macros and improve setup logic
2025-05-15 10:23:41 +10:00
723110efab
Remove debug log from two-way binding setup in CustomElement
2025-05-15 10:09:07 +10:00
943678b4f3
Enhance template processing: implement macro handling for condition rendering and two-way data binding
2025-05-15 10:07:35 +10:00
45af436648
Refactor attribute binding logic: streamline detection of bindings and improve handling of non-standard attributes
2025-05-15 09:14:24 +10:00
ae48c89291
Enhance arrow function handler: improve syntax validation and parameter formatting for better error handling
2025-05-14 22:08:50 +10:00
e9ddbcdf47
Refactor event handler setup: improve arrow function and function call handling, enhance error logging
2025-05-14 21:57:38 +10:00
c44c9fc2c0
Add event handling support in ComponentOptions and implement event binding logic in CustomElement
2025-05-14 21:54:17 +10:00
841f02bb38
Enhance state management in CustomElement: add state listeners, improve DOM update logic, and implement text and attribute binding mechanisms
2025-05-14 20:48:30 +10:00
b9cb3f455c
Add statesListeners to ComponentOptions and trigger state update events in setState
2025-05-14 16:25:51 +10:00
9d62c64b0f
Refactor state management in CustomElement: simplify setState and getState methods, update keyPath parameter naming for consistency
2025-05-14 16:13:52 +10:00
0aee6488d2
Refactor CustomElement implementation: update interface for onMount and onUnmount, enhance setState logic, and rename class to CustomElementImpl
2025-05-14 16:02:50 +10:00
cbd2c67d2d
Add state management to CustomElement and update ComponentOptions interface
2025-05-14 15:35:35 +10:00
3a05316522
Remove commented code and improve clarity in template parsing logic
2025-05-14 15:25:30 +10:00
cd4d195bd4
Refactor component structure: move ComponentOptions to main.ts, update package.json, and remove unused files
2025-05-14 15:21:45 +10:00
5a1d8469d6
Add ComponentOptions type definition and update index.ts to use it
2025-05-14 10:19:10 +10:00
8fe77f3b9b
initial commit
...
with basic features of Laterano
2025-05-14 09:34:13 +10:00