<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.ts/input/example.ts, branch dev</title>
<subtitle>Web user interface components built with TypeScript.</subtitle>
<id>http://git.kilabit.info/pakakeh.ts/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.ts/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/'/>
<updated>2024-02-04T19:32:51Z</updated>
<entry>
<title>input: implement component for inputing file</title>
<updated>2024-02-04T19:32:51Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-02-04T18:09:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=7e0b412323db013e225cc8122c83cc765e561229'/>
<id>urn:sha1:7e0b412323db013e225cc8122c83cc765e561229</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: fix all linter warnings from tsc and eslint</title>
<updated>2023-10-24T15:28:25Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-10-23T20:41:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=85c3fc0431e7e75a41894d4669f6a46bbda5440b'/>
<id>urn:sha1:85c3fc0431e7e75a41894d4669f6a46bbda5440b</id>
<content type='text'>
In this changes we introduce eslint as our linter for TypeScript and
update our tsconfig to be more strict.

The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website
repository [1].

[1]: https://cs.opensource.google/go/x/website
</content>
</entry>
<entry>
<title>all: reformat all files</title>
<updated>2023-10-24T15:27:14Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-10-22T19:20:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=891a860299ac76739d59f46280cbed63ff07743e'/>
<id>urn:sha1:891a860299ac76739d59f46280cbed63ff07743e</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>all: re-licensing wui under GPL 3.0 or later</title>
<updated>2022-03-14T17:58:01Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-14T17:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=3aad4d9316e9011d4d55c877b4ee0689e682091d'/>
<id>urn:sha1:3aad4d9316e9011d4d55c877b4ee0689e682091d</id>
<content type='text'>
See https://kilabit.info/journal/2022/gpl/ for more information.
</content>
</entry>
<entry>
<title>input: add option "is_hint_toggled"</title>
<updated>2021-09-18T18:17:00Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-18T18:14:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=19994275a9f238dbbb2d73702bba355faaa12a0d'/>
<id>urn:sha1:19994275a9f238dbbb2d73702bba355faaa12a0d</id>
<content type='text'>
If the "is_hint_toggled" is true, the hint text will be displayed
by default on first render, instead of hidden.

While at it, add 2px to the top margin of the hint element to make it
separatable from the input element.
</content>
</entry>
<entry>
<title>input: display the new value on changes inside the example</title>
<updated>2021-09-18T17:51:48Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-18T17:49:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=0db6b1d2f83b19a929889df2108de20f4d522066'/>
<id>urn:sha1:0db6b1d2f83b19a929889df2108de20f4d522066</id>
<content type='text'>
Instead of printing the new value using console.log, display it as text
below the example.
</content>
</entry>
<entry>
<title>input: implement input for checkboxes</title>
<updated>2021-09-05T12:57:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-05T12:52:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=897d8bbdd89034d8a9bdc781de07c5492b340f1f'/>
<id>urn:sha1:897d8bbdd89034d8a9bdc781de07c5492b340f1f</id>
<content type='text'>
The WuiInputCheckboxes class can create an HTML input for selecting one
or more item using checkbox.

The class require the following options: label, name, and options; and
optionally id, hint, is_disabled, and onChangeHandler.

The onChangeHandler receive all checked values.
</content>
</entry>
<entry>
<title>input: implement class for input with select</title>
<updated>2021-09-05T11:36:42Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-05T11:36:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=b18cd3529299e03f5c14d9bf702f28c3f7acb4d0'/>
<id>urn:sha1:b18cd3529299e03f5c14d9bf702f28c3f7acb4d0</id>
<content type='text'>
The WuiInputSelect create an HTML input for selecting one more item.
</content>
</entry>
<entry>
<title>input: implement class WuiInputString</title>
<updated>2021-09-05T11:36:42Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-05T09:09:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=2df99a87e652db2c82383b59307b6016ae2ba4f4'/>
<id>urn:sha1:2df99a87e652db2c82383b59307b6016ae2ba4f4</id>
<content type='text'>
The WuiInputString create an HTML input for string with predefined
options.
The required options are "label" and "value".
</content>
</entry>
<entry>
<title>input: implement class for input number</title>
<updated>2021-09-05T11:36:42Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-09-05T08:28:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.ts/commit/?id=437cee56693f69b2a58f37f8a5ff5b931ea803a2'/>
<id>urn:sha1:437cee56693f69b2a58f37f8a5ff5b931ea803a2</id>
<content type='text'>
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,

  &lt;div [id=${id}] class="${WUI_INPUT_NUMBER_CLASS}"&gt;
    &lt;div&gt;
      &lt;label class="${WUI_INPUT_NUMBER_CLASS_LABEL}"&gt;${label}&lt;/label&gt;
      &lt;input
        class="${WUI_INPUT_NUMBER_CLASS_INPUT}"
        [max=${max}]
        [min=${min}]
        [disabled=${is_disabled}]
        value=${value}
      &gt;
      &lt;span class="${WUI_INPUT_NUMBER_CLASS_HINT_TOGGLER}"&gt;i &lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="${WUI_INPUT_NUMBER_CLASS_HINT}"&gt;${hint}&lt;/div&gt;
  &lt;/div&gt;

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.
</content>
</entry>
</feed>
