le-kit 0.6.1 → 0.6.3

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 +22 -7
  2. package/package.json +1 -1
package/LLM_CONTEXT.md CHANGED
@@ -242,7 +242,13 @@ A flexible button component with multiple variants and states.
242
242
  | `el` | `HTMLElement` | | |
243
243
  | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
244
244
  | `variant` | `'solid' \| 'outlined' \| 'clear' \| 'system'` | `'solid'` | Button variant style |
245
- | `color` | `'primary' \| 'secondary' \| 'success' \| 'warning' \| 'danger' \| 'info'` | `'primary'` | Button color theme (uses theme semantic colors) |
245
+ | `color` | `\| 'primary'
246
+ \| 'secondary'
247
+ \| 'success'
248
+ \| 'warning'
249
+ \| 'danger'
250
+ \| 'info'
251
+ \| 'transparent'` | `'primary'` | Button color theme (uses theme semantic colors) |
246
252
  | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | Button size |
247
253
  | `selected` | `boolean` | `false` | Whether the button is in a selected/active state |
248
254
  | `fullWidth` | `boolean` | `false` | Whether the button takes full width of its container |
@@ -324,6 +330,7 @@ A checkbox component with support for labels, descriptions, and external IDs.
324
330
  | Name | Type | Default | Description |
325
331
  |------|------|---------|-------------|
326
332
  | `el` | `HTMLElement` | | |
333
+ | `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
334
  | `checked` | `boolean` | `false` | Whether the checkbox is checked |
328
335
  | `disabled` | `boolean` | `false` | Whether the checkbox is disabled |
329
336
  | `name` | `string \| undefined` | | The name of the checkbox input |
@@ -1189,12 +1196,14 @@ A text input component with support for labels, descriptions, icons, and externa
1189
1196
  | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
1190
1197
  | `value` | `string \| undefined` | | The value of the input |
1191
1198
  | `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.) |
1199
+ | `type` | `'text' \| 'email' \| 'password' \| 'search' \| 'tel' \| 'url'` | `'text'` | The type of the input (text, email, password, etc.) |
1193
1200
  | `label` | `string \| undefined` | | Label for the input |
1201
+ | `description` | `string \| undefined` | | Description text displayed below the input |
1194
1202
  | `iconStart` | `string \| undefined` | | Icon for the start icon |
1195
1203
  | `iconEnd` | `string \| undefined` | | Icon for the end icon |
1196
1204
  | `placeholder` | `string \| undefined` | | Placeholder text |
1197
- | `hideDescription` | `boolean` | `false` | Hide description slot |
1205
+ | `clearable` | `boolean` | `false` | Whether the input can be cleared with a built-in clear button |
1206
+ | `autocomplete` | `string \| undefined` | | Native autocomplete attribute forwarded to the input |
1198
1207
  | `disabled` | `boolean` | `false` | Whether the input is disabled |
1199
1208
  | `readonly` | `boolean` | `false` | Whether the input is read-only |
1200
1209
  | `externalId` | `string \| undefined` | | External ID for linking with external systems |
@@ -1203,12 +1212,12 @@ A text input component with support for labels, descriptions, icons, and externa
1203
1212
 
1204
1213
  | Event | Type | Description |
1205
1214
  |-------|------|-------------|
1206
- | `change` | `EventEmitter<{
1215
+ | `leChange` | `EventEmitter<{
1207
1216
  value?: string;
1208
1217
  name?: string;
1209
1218
  externalId?: string;
1210
1219
  }> \| undefined` | Emitted when the value changes (on blur or Enter) |
1211
- | `input` | `EventEmitter<{
1220
+ | `leInput` | `EventEmitter<{
1212
1221
  value?: string;
1213
1222
  name?: string;
1214
1223
  externalId?: string;
@@ -1218,7 +1227,7 @@ A text input component with support for labels, descriptions, icons, and externa
1218
1227
 
1219
1228
  | Name | Description |
1220
1229
  |------|-------------|
1221
- | Default | The label text for the input |
1230
+ | `"label"` | The label content for the input |
1222
1231
  | `"description"` | Additional description text displayed below the input |
1223
1232
  | `"icon-start"` | Icon to display at the start of the input |
1224
1233
  | `"icon-end"` | Icon to display at the end of the input |
@@ -1421,7 +1430,13 @@ A tag/chip component for displaying labels with optional dismiss functionality.
1421
1430
  | `dismissible` | `boolean` | `false` | Whether the tag can be dismissed (shows close button). |
1422
1431
  | `disabled` | `boolean` | `false` | Whether the tag is disabled. |
1423
1432
  | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | The size of the tag. |
1424
- | `variant` | `'default' \| 'primary' \| 'success' \| 'warning' \| 'danger'` | `'default'` | The visual variant of the tag. |
1433
+ | `color` | `\| 'default'
1434
+ \| 'primary'
1435
+ \| 'success'
1436
+ \| 'warning'
1437
+ \| 'danger'
1438
+ \| 'secondary'
1439
+ \| 'info'` | `'default'` | The color of the tag. |
1425
1440
 
1426
1441
  ### Events
1427
1442
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "le-kit",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
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",