le-kit 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/LLM_CONTEXT.md +8 -5
  2. package/package.json +1 -1
package/LLM_CONTEXT.md CHANGED
@@ -324,6 +324,7 @@ A checkbox component with support for labels, descriptions, and external IDs.
324
324
  | Name | Type | Default | Description |
325
325
  |------|------|---------|-------------|
326
326
  | `el` | `HTMLElement` | | |
327
+ | `id` | `string` | ``le-checkbox-${Math.random().toString(36).substring(2, 9)}`` | The ID of the checkbox input. This is used for linking the label to the input for accessibility. In case there is no ID provided, a random one will be generated internally. |
327
328
  | `checked` | `boolean` | `false` | Whether the checkbox is checked |
328
329
  | `disabled` | `boolean` | `false` | Whether the checkbox is disabled |
329
330
  | `name` | `string \| undefined` | | The name of the checkbox input |
@@ -1189,12 +1190,14 @@ A text input component with support for labels, descriptions, icons, and externa
1189
1190
  | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
1190
1191
  | `value` | `string \| undefined` | | The value of the input |
1191
1192
  | `name` | `string \| undefined` | | The name of the input |
1192
- | `type` | `'text' \| 'email' \| 'password' \| 'tel' \| 'url'` | `'text'` | The type of the input (text, email, password, etc.) |
1193
+ | `type` | `'text' \| 'email' \| 'password' \| 'search' \| 'tel' \| 'url'` | `'text'` | The type of the input (text, email, password, etc.) |
1193
1194
  | `label` | `string \| undefined` | | Label for the input |
1195
+ | `description` | `string \| undefined` | | Description text displayed below the input |
1194
1196
  | `iconStart` | `string \| undefined` | | Icon for the start icon |
1195
1197
  | `iconEnd` | `string \| undefined` | | Icon for the end icon |
1196
1198
  | `placeholder` | `string \| undefined` | | Placeholder text |
1197
- | `hideDescription` | `boolean` | `false` | Hide description slot |
1199
+ | `clearable` | `boolean` | `false` | Whether the input can be cleared with a built-in clear button |
1200
+ | `autocomplete` | `string \| undefined` | | Native autocomplete attribute forwarded to the input |
1198
1201
  | `disabled` | `boolean` | `false` | Whether the input is disabled |
1199
1202
  | `readonly` | `boolean` | `false` | Whether the input is read-only |
1200
1203
  | `externalId` | `string \| undefined` | | External ID for linking with external systems |
@@ -1203,12 +1206,12 @@ A text input component with support for labels, descriptions, icons, and externa
1203
1206
 
1204
1207
  | Event | Type | Description |
1205
1208
  |-------|------|-------------|
1206
- | `change` | `EventEmitter<{
1209
+ | `leChange` | `EventEmitter<{
1207
1210
  value?: string;
1208
1211
  name?: string;
1209
1212
  externalId?: string;
1210
1213
  }> \| undefined` | Emitted when the value changes (on blur or Enter) |
1211
- | `input` | `EventEmitter<{
1214
+ | `leInput` | `EventEmitter<{
1212
1215
  value?: string;
1213
1216
  name?: string;
1214
1217
  externalId?: string;
@@ -1218,7 +1221,7 @@ A text input component with support for labels, descriptions, icons, and externa
1218
1221
 
1219
1222
  | Name | Description |
1220
1223
  |------|-------------|
1221
- | Default | The label text for the input |
1224
+ | `"label"` | The label content for the input |
1222
1225
  | `"description"` | Additional description text displayed below the input |
1223
1226
  | `"icon-start"` | Icon to display at the start of the input |
1224
1227
  | `"icon-end"` | Icon to display at the end of the input |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "le-kit",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Themable web components library with CMS admin mode support",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",