aboutsummaryrefslogtreecommitdiff
path: root/index.html
AgeCommit message (Collapse)Author
2024-10-08Release pakakeh.ts v0.2.0 (2024-10-08)HEADv0.2.0maindevShulhan
This release update the package name and repository URL to new name "pakakeh.ts". On dependencies, we upgrade the tools to use eslint v9. === New features * input: implement component for inputing file === Enhancements * editor: set the caret color to red Since we cannot change its shape, changing the color to red make the text cursor position visible to eyes. * editor: allow inserting tab on editor Previously pressing tab on editor will move focus to the next component on page or browser. Now, pressing tab will insert "\t" on the current cursor. === Chores * all: rewrite README using markdown format This is to make the repository README rendered on git.sr.ht, not only github. * make: add task to install tools and serve the HTML and docs The "install-tools" task install the ciigo binary using Go tools into user's ${GOBIN}. The "serve" task serve the HTML files for local development and automatically convert ".md" files to HTML for previewing. * notif: update example message for notification * tsconfig.json: set the watch options For watchFile and watchDirectory we use useFsEvents (the default): Attempt to use the operating system/file system’s native events for directory changes. dynamicPriorityPolling: Use a dynamic queue where less-frequently modified files will be checked less often. synchronousWatchDirectory: Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively. Instead of giving a small timeout to allow for potentially multiple edits to occur on a file. Reference: https://www.typescriptlang.org/docs/handbook/configuring-watch.html * all: update reuse to use REUSE.toml Since REUSE version 3.2, using ".reuse/dep5" has been deprecated, and replaced using REUSE.toml * all: update README Add list of components that we provides on this module and how to start development. * all: commit all generate JavaScript files This is to simplify development on third party where they can clone and include the file directly without installing or running anything to build the files.
2024-09-15make: add task to install tools and serve the HTML and docsShulhan
The "install-tools" task install the ciigo binary using Go tools into user's ${GOBIN}. The "serve" task serve the HTML files for local development and automatically convert ".md" files to HTML for previewing.
2023-10-24all: reformat all filesShulhan
I cannot remember how I reformat those files previously, probably without any tools. This changes reformat the TypeScript files using prettier and HTML files using js-beautify.
2022-03-15all: re-licensing wui under GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2021-09-05notif: convert the example using TypeScript and load it with type="module"Shulhan
2021-09-05vfs: refactor example to use TypeScript loaded with type="module"Shulhan
2021-09-05editor: convert the example to TypeScript and loaded as moduleShulhan
2021-09-05input: implement class for input numberShulhan
The WuiInputNumber create an HTML input that allow number only, with optional max and min options. The required options is "label" and "value". Format of generated HTML output, <div [id=${id}] class="${WUI_INPUT_NUMBER_CLASS}"> <div> <label class="${WUI_INPUT_NUMBER_CLASS_LABEL}">${label}</label> <input class="${WUI_INPUT_NUMBER_CLASS_INPUT}" [max=${max}] [min=${min}] [disabled=${is_disabled}] value=${value} > <span class="${WUI_INPUT_NUMBER_CLASS_HINT_TOGGLER}">i </span> </div> <div class="${WUI_INPUT_NUMBER_CLASS_HINT}">${hint}</div> </div> User can set onChangeHandler to receive new value when the value changes and valid; otherwise, if the value is invalid, the input background will changes accordingly.