le-kit 0.6.2 → 0.6.4

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 +17 -5
  2. package/package.json +1 -1
package/LLM_CONTEXT.md CHANGED
@@ -240,9 +240,15 @@ A flexible button component with multiple variants and states.
240
240
  | Name | Type | Default | Description |
241
241
  |------|------|---------|-------------|
242
242
  | `el` | `HTMLElement` | | |
243
- | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
243
+ | `mode` | `'default' \| 'admin' \| undefined` | | 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 |
@@ -977,7 +983,7 @@ Perfect for toggling between a small set of related options.
977
983
  | Name | Type | Default | Description |
978
984
  |------|------|---------|-------------|
979
985
  | `el` | `HTMLElement` | | |
980
- | `options` | `LeOption[]` | `[]` | Array of options for the segmented control. |
986
+ | `options` | `LeOption[] \| string` | `[]` | Array of options for the segmented control. |
981
987
  | `value` | `LeOptionValue \| undefined` | | The value of the currently selected option. |
982
988
  | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of the control. |
983
989
  | `overflow` | `'auto' \| 'hidden' \| 'visible' \| 'scroll'` | `'auto'` | Scroll behavior for overflowing tabs. |
@@ -1187,7 +1193,7 @@ A text input component with support for labels, descriptions, icons, and externa
1187
1193
  |------|------|---------|-------------|
1188
1194
  | `el` | `HTMLElement` | | |
1189
1195
  | `inputRef` | `(el: HTMLInputElement) => void \| undefined` | | Pass the ref of the input element to the parent component |
1190
- | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
1196
+ | `mode` | `'default' \| 'admin' \| undefined` | | Mode of the popover should be 'default' for internal use |
1191
1197
  | `value` | `string \| undefined` | | The value of the input |
1192
1198
  | `name` | `string \| undefined` | | The name of the input |
1193
1199
  | `type` | `'text' \| 'email' \| 'password' \| 'search' \| 'tel' \| 'url'` | `'text'` | The type of the input (text, email, password, etc.) |
@@ -1424,7 +1430,13 @@ A tag/chip component for displaying labels with optional dismiss functionality.
1424
1430
  | `dismissible` | `boolean` | `false` | Whether the tag can be dismissed (shows close button). |
1425
1431
  | `disabled` | `boolean` | `false` | Whether the tag is disabled. |
1426
1432
  | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | The size of the tag. |
1427
- | `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. |
1428
1440
 
1429
1441
  ### Events
1430
1442
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "le-kit",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
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",