le-kit 0.5.4 → 0.6.1

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 +195 -57
  2. package/package.json +1 -1
package/LLM_CONTEXT.md CHANGED
@@ -5,6 +5,8 @@ This file is auto-generated and contains documentation for all Le-Kit web compon
5
5
  ## Table of Contents
6
6
 
7
7
  - [le-bar](#le-bar)
8
+ - [le-bento-grid](#le-bento-grid)
9
+ - [le-bento-tile](#le-bento-tile)
8
10
  - [le-box](#le-box)
9
11
  - [le-breadcrumbs](#le-breadcrumbs)
10
12
  - [le-button](#le-button)
@@ -19,6 +21,7 @@ This file is auto-generated and contains documentation for all Le-Kit web compon
19
21
  - [le-header](#le-header)
20
22
  - [le-header-placeholder](#le-header-placeholder)
21
23
  - [le-icon](#le-icon)
24
+ - [le-item](#le-item)
22
25
  - [le-multiselect](#le-multiselect)
23
26
  - [le-navigation](#le-navigation)
24
27
  - [le-number-input](#le-number-input)
@@ -27,6 +30,7 @@ This file is auto-generated and contains documentation for all Le-Kit web compon
27
30
  - [le-round-progress](#le-round-progress)
28
31
  - [le-scroll-progress](#le-scroll-progress)
29
32
  - [le-segmented-control](#le-segmented-control)
33
+ - [le-select](#le-select)
30
34
  - [le-side-panel](#le-side-panel)
31
35
  - [le-side-panel-toggle](#le-side-panel-toggle)
32
36
  - [le-slot](#le-slot)
@@ -65,7 +69,7 @@ row and handles overflow according to the `overflow` prop.
65
69
 
66
70
  | Event | Type | Description |
67
71
  |-------|------|-------------|
68
- | `leBarOverflowChange` | `EventEmitter<LeBarOverflowChangeDetail>` | Emitted when overflow state changes. |
72
+ | `leBarOverflowChange` | `EventEmitter<LeBarOverflowChangeDetail> \| undefined` | Emitted when overflow state changes. |
69
73
 
70
74
  ### Slots
71
75
 
@@ -80,6 +84,83 @@ row and handles overflow according to the `overflow` prop.
80
84
 
81
85
  ---
82
86
 
87
+ ## <le-bento-grid>
88
+
89
+ A responsive bento-style CSS grid container.
90
+
91
+ `le-bento-grid` creates a dense auto-filling grid using `auto-fill` with
92
+ `minmax()` columns. Pair it with `le-bento-tile` children that declare
93
+ how many columns and rows they should span.
94
+
95
+ All sizing props can also be controlled purely via CSS custom properties —
96
+ useful when you want to configure from a stylesheet or a parent component.
97
+ If a prop is set, it writes the corresponding CSS custom property as an
98
+ inline style (which overrides any external stylesheet value).
99
+
100
+ ### Properties
101
+
102
+ | Name | Type | Default | Description |
103
+ |------|------|---------|-------------|
104
+ | `columnMinWidth` | `number \| undefined` | | Minimum column width in pixels (maps to the `min` of CSS `minmax()`). Controls how narrow a column can be before wrapping. |
105
+ | `columnMaxWidth` | `number \| undefined` | | Maximum column width in pixels (maps to the `max` of CSS `minmax()`). The grid stops adding columns when dividing `max-width` by this value. |
106
+ | `minColumns` | `number \| undefined` | | Minimum number of columns before overflow. Sets component `min-width` as: `columnMinWidth * minColumns + gap * (minColumns - 1)`. |
107
+ | `maxColumns` | `number \| undefined` | | Maximum number of columns before the grid wraps. When set, this takes precedence over `maxWidth` and computes the grid's effective maximum width as: `maxColumns * columnMaxWidth + (maxColumns - 1) * gap` This is useful when you want an explicit column cap without manually accounting for the gaps between tracks. |
108
+ | `maxWidth` | `number \| undefined` | | Maximum overall width of the grid in pixels. Ignored when `maxColumns` is set. |
109
+ | `rowHeight` | `number \| undefined` | | Height of each row unit in pixels. A tile with `rows="2"` will be `2 × rowHeight + gap` tall. |
110
+ | `gap` | `number \| undefined` | | Gap between tiles in pixels. |
111
+
112
+ ### Slots
113
+
114
+ | Name | Description |
115
+ |------|-------------|
116
+ | Default | Accepts `le-bento-tile` elements (or any block-level content) |
117
+
118
+ ### CSS Variables
119
+
120
+ | Name | Description |
121
+ |------|-------------|
122
+ | `--le-bento-col-min` | Minimum column track width (default 200px) |
123
+ | `--le-bento-col-max` | Maximum column track width (default 250px) |
124
+ | `--le-bento-min-columns` | Minimum number of columns before overflow |
125
+ | `--le-bento-max-columns` | Maximum number of columns before wrapping |
126
+ | `--le-bento-row-height` | Height of each row unit (default 110px) |
127
+ | `--le-bento-gap` | Gap between tiles (default 12px) |
128
+ | `--le-bento-max-width` | Maximum grid container width (default none) |
129
+
130
+ ---
131
+
132
+ ## <le-bento-tile>
133
+
134
+ A single tile for use inside `le-bento-grid`.
135
+
136
+ Declares how many columns and rows it should span in the bento grid.
137
+ Visual appearance (border-radius, shadow) is controlled via CSS custom
138
+ properties so themes can override them.
139
+
140
+ ### Properties
141
+
142
+ | Name | Type | Default | Description |
143
+ |------|------|---------|-------------|
144
+ | `cols` | `number` | `1` | Number of grid columns this tile should span. |
145
+ | `rows` | `number` | `1` | Number of grid rows this tile should span. |
146
+
147
+ ### Slots
148
+
149
+ | Name | Description |
150
+ |------|-------------|
151
+ | Default | Content displayed inside the tile |
152
+
153
+ ### CSS Variables
154
+
155
+ | Name | Description |
156
+ |------|-------------|
157
+ | `--le-bento-tile-radius` | Border radius (default: var(--le-radius-xl, 0.75rem)) |
158
+ | `--le-bento-tile-shadow` | Box shadow (default: subtle multi-layer shadow) |
159
+ | `--le-bento-tile-bg` | Background color (default: transparent) |
160
+ | `--le-bento-tile-padding` | Inner padding (default: 0) |
161
+
162
+ ---
163
+
83
164
  ## <le-box>
84
165
 
85
166
  A flexible box component for use as a flex item within le-stack.
@@ -245,15 +326,20 @@ A checkbox component with support for labels, descriptions, and external IDs.
245
326
  | `el` | `HTMLElement` | | |
246
327
  | `checked` | `boolean` | `false` | Whether the checkbox is checked |
247
328
  | `disabled` | `boolean` | `false` | Whether the checkbox is disabled |
248
- | `name` | `string` | | The name of the checkbox input |
249
- | `value` | `string` | | The value of the checkbox input |
250
- | `externalId` | `string` | | External ID for linking with external systems (e.g. database ID, PDF form field ID) |
329
+ | `name` | `string \| undefined` | | The name of the checkbox input |
330
+ | `value` | `string \| undefined` | | The value of the checkbox input |
331
+ | `externalId` | `string \| undefined` | | External ID for linking with external systems (e.g. database ID, PDF form field ID) |
251
332
 
252
333
  ### Events
253
334
 
254
335
  | Event | Type | Description |
255
336
  |-------|------|-------------|
256
- | `change` | `EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>` | Emitted when the checked state changes |
337
+ | `change` | `EventEmitter<{
338
+ checked: boolean;
339
+ value?: string;
340
+ name?: string;
341
+ externalId?: string;
342
+ }>` | Emitted when the checked state changes |
257
343
 
258
344
  ### Slots
259
345
 
@@ -284,24 +370,24 @@ Supports standard copy/paste and range selection behaviors.
284
370
  |------|------|---------|-------------|
285
371
  | `el` | `HTMLElement` | | |
286
372
  | `value` | `string` | `''` | The value of the input |
287
- | `name` | `string` | | The name of the input |
288
- | `label` | `string` | | Label for the input |
373
+ | `name` | `string \| undefined` | | The name of the input |
374
+ | `label` | `string \| undefined` | | Label for the input |
289
375
  | `length` | `number` | `6` | Length of the code (number of characters) |
290
376
  | `description` | `string \| undefined` | | Description text displayed below the input in case there is a more complex markup, it can be provided via slot as well |
291
377
  | `type` | `'text' \| 'number'` | `'text'` | The type of code (numeric or alphanumeric) This affects the keyboard layout on mobile devices. |
292
378
  | `disabled` | `boolean` | `false` | Whether the input is disabled |
293
379
  | `readonly` | `boolean` | `false` | Whether the input is read-only |
294
- | `externalId` | `string` | | External ID for linking with external systems |
380
+ | `externalId` | `string \| undefined` | | External ID for linking with external systems |
295
381
  | `error` | `boolean` | `false` | Internal validation state (can be set externally manually or via simple check) |
296
382
 
297
383
  ### Events
298
384
 
299
385
  | Event | Type | Description |
300
386
  |-------|------|-------------|
301
- | `leChange` | `EventEmitter<{ value: string; name: string; externalId: string }>` | Emitted when the value changes (on blur or Enter) |
302
- | `leInput` | `EventEmitter<{ value: string; name: string; externalId: string }>` | Emitted when the input value changes (on keystroke) |
303
- | `leFocus` | `EventEmitter<void>` | Emitted when the input is focused |
304
- | `leBlur` | `EventEmitter<void>` | Emitted when the input is blurred |
387
+ | `leChange` | `EventEmitter<{ value: string; name?: string; externalId?: string }> \| undefined` | Emitted when the value changes (on blur or Enter) |
388
+ | `leInput` | `EventEmitter<{ value: string; name?: string; externalId?: string }> \| undefined` | Emitted when the input value changes (on keystroke) |
389
+ | `leFocus` | `EventEmitter<void> \| undefined` | Emitted when the input is focused |
390
+ | `leBlur` | `EventEmitter<void> \| undefined` | Emitted when the input is blurred |
305
391
 
306
392
  ### Slots
307
393
 
@@ -526,6 +612,7 @@ Slots:
526
612
  | `revealOnScroll` | `string \| undefined` | | Sticky-only reveal behavior (hide on scroll down, show on scroll up). - missing/false: disabled - true/empty attribute: enabled with default threshold (16) - number (as string): enabled and used as threshold |
527
613
  | `shrinkOffset` | `string \| undefined` | | Shrink trigger. - missing/0: disabled - number (px): shrink when scrollY >= that value (but never before header height) - css var name (e.g. --foo): shrink when scrollY >= resolved var value - selector (e.g. .page-title): shrink when that element scrolls out of view above the viewport |
528
614
  | `expandOnHover` | `boolean` | `false` | If true, expand the header when hovered |
615
+ | `layout` | `'default' \| 'space-between' \| undefined` | `'default'` | Layout Type - default is three cells in the grid: start, title, end - space-between will use the start and end slots but put space between them and hide the title slot |
529
616
 
530
617
  ### Events
531
618
 
@@ -564,7 +651,7 @@ Slots:
564
651
  | `--le-header-height` | Base height (main row) |
565
652
  | `--le-header-height-condensed` | Condensed height when shrunk |
566
653
  | `--le-header-transition` | Transition timing |
567
- | `--le-header-z` | Z-index (fixed mode) |
654
+ | `--le-z-header` | Z-index (fixed mode) |
568
655
 
569
656
  ---
570
657
 
@@ -590,11 +677,21 @@ The header component updates that variable when it renders.
590
677
  | Name | Type | Default | Description |
591
678
  |------|------|---------|-------------|
592
679
  | `el` | `HTMLElement` | | |
593
- | `name` | `string` | `null` | Name of the icon to display. Corresponds to a JSON file in the assets folder. For example, "search" will load the "search.json" file. |
680
+ | `name` | `string \| undefined` | `undefined` | Name of the icon to display. Corresponds to a JSON file in the assets folder. For example, "search" will load the "search.json" file. |
594
681
  | `size` | `number` | `16` | Size of the icon in pixels. Default is 16. |
595
682
 
596
683
  ---
597
684
 
685
+ ## <le-item>
686
+
687
+ ### Properties
688
+
689
+ | Name | Type | Default | Description |
690
+ |------|------|---------|-------------|
691
+ | `el` | `HTMLElement` | | |
692
+
693
+ ---
694
+
598
695
  ## <le-multiselect>
599
696
 
600
697
  A multiselect component for selecting multiple options.
@@ -680,10 +777,10 @@ A number input component with validation, keyboard controls, and custom spinners
680
777
  | Name | Type | Default | Description |
681
778
  |------|------|---------|-------------|
682
779
  | `el` | `HTMLElement` | | |
683
- | `value` | `number` | | The value of the input |
684
- | `name` | `string` | | The name of the input |
685
- | `label` | `string` | | Label for the input |
686
- | `placeholder` | `string` | | Placeholder text |
780
+ | `value` | `number \| undefined` | | The value of the input |
781
+ | `name` | `string \| undefined` | | The name of the input |
782
+ | `label` | `string \| undefined` | | Label for the input |
783
+ | `placeholder` | `string \| undefined` | | Placeholder text |
687
784
  | `min` | `number \| undefined` | | Minimum allowed value |
688
785
  | `max` | `number \| undefined` | | Maximum allowed value |
689
786
  | `step` | `number` | `1` | Step value for increment/decrement |
@@ -692,14 +789,24 @@ A number input component with validation, keyboard controls, and custom spinners
692
789
  | `readonly` | `boolean` | `false` | Whether the input is read-only |
693
790
  | `iconStart` | `string \| undefined` | | Icon for the start icon |
694
791
  | `showSpinners` | `boolean` | `true` | Whether to show the spinner controls |
695
- | `externalId` | `string` | | External ID for linking with external systems |
792
+ | `externalId` | `string \| undefined` | | External ID for linking with external systems |
696
793
 
697
794
  ### Events
698
795
 
699
796
  | Event | Type | Description |
700
797
  |-------|------|-------------|
701
- | `leChange` | `EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>` | Emitted when the value changes (on blur or Enter) |
702
- | `leInput` | `EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>` | Emitted when the input value changes (on keystroke/spin) |
798
+ | `leChange` | `EventEmitter<{
799
+ value?: number;
800
+ name?: string;
801
+ externalId?: string;
802
+ isValid: boolean;
803
+ }> \| undefined` | Emitted when the value changes (on blur or Enter) |
804
+ | `leInput` | `EventEmitter<{
805
+ value?: number;
806
+ name?: string;
807
+ externalId?: string;
808
+ isValid: boolean;
809
+ }> \| undefined` | Emitted when the input value changes (on keystroke/spin) |
703
810
 
704
811
  ### Slots
705
812
 
@@ -735,7 +842,7 @@ and other top-layer elements. Falls back gracefully in older browsers.
735
842
  | Name | Type | Default | Description |
736
843
  |------|------|---------|-------------|
737
844
  | `el` | `HTMLElement` | | |
738
- | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
845
+ | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
739
846
  | `open` | `boolean` | `false` | Whether the popover is currently open |
740
847
  | `position` | `'top' \| 'bottom' \| 'left' \| 'right' \| 'auto'` | `'bottom'` | Position of the popover relative to its trigger |
741
848
  | `align` | `'start' \| 'center' \| 'end'` | `'start'` | Alignment of the popover |
@@ -753,8 +860,8 @@ and other top-layer elements. Falls back gracefully in older browsers.
753
860
 
754
861
  | Event | Type | Description |
755
862
  |-------|------|-------------|
756
- | `lePopoverOpen` | `EventEmitter<void>` | Emitted when the popover opens |
757
- | `lePopoverClose` | `EventEmitter<void>` | Emitted when the popover closes |
863
+ | `lePopoverOpen` | `EventEmitter<void> \| undefined` | Emitted when the popover opens |
864
+ | `lePopoverClose` | `EventEmitter<void> \| undefined` | Emitted when the popover closes |
758
865
 
759
866
  ### Slots
760
867
 
@@ -797,8 +904,8 @@ via leAlert(), leConfirm(), lePrompt().
797
904
  | Event | Type | Description |
798
905
  |-------|------|-------------|
799
906
  | `leConfirm` | `EventEmitter<PopupResult>` | Emitted when the popup is confirmed (OK clicked) |
800
- | `leCancel` | `EventEmitter<PopupResult>` | Emitted when the popup is cancelled (Cancel clicked or dismissed) |
801
- | `leOpen` | `EventEmitter<void>` | Emitted when the popup opens |
907
+ | `leCancel` | `EventEmitter<PopupResult> \| undefined` | Emitted when the popup is cancelled (Cancel clicked or dismissed) |
908
+ | `leOpen` | `EventEmitter<void> \| undefined` | Emitted when the popup opens |
802
909
  | `leClose` | `EventEmitter<PopupResult>` | Emitted when the popup closes |
803
910
 
804
911
  ### Slots
@@ -821,7 +928,6 @@ via leAlert(), leConfirm(), lePrompt().
821
928
  | `value` | `number` | `0` | |
822
929
  | `padding` | `number` | `0` | |
823
930
  | `paths` | `string` | | |
824
- | `progressPaths` | `any[]` | | |
825
931
  | `params` | `{
826
932
  width: number;
827
933
  diameter: number;
@@ -881,7 +987,7 @@ Perfect for toggling between a small set of related options.
881
987
 
882
988
  | Event | Type | Description |
883
989
  |-------|------|-------------|
884
- | `leChange` | `EventEmitter<LeOptionSelectDetail>` | Emitted when the selection changes. |
990
+ | `leChange` | `EventEmitter<LeOptionSelectDetail> \| undefined` | Emitted when the selection changes. |
885
991
 
886
992
  ### CSS Variables
887
993
 
@@ -894,6 +1000,35 @@ Perfect for toggling between a small set of related options.
894
1000
 
895
1001
  ---
896
1002
 
1003
+ ## <le-select>
1004
+
1005
+ A select dropdown component for single selection.
1006
+
1007
+ ### Properties
1008
+
1009
+ | Name | Type | Default | Description |
1010
+ |------|------|---------|-------------|
1011
+ | `el` | `HTMLElement` | | |
1012
+ | `options` | `LeOption[] \| string` | `[]` | The options to display in the dropdown. |
1013
+ | `value` | `LeOptionValue \| undefined` | | The currently selected value. |
1014
+ | `placeholder` | `string` | `'Select an option'` | Placeholder text when no option is selected. |
1015
+ | `disabled` | `boolean` | `false` | Whether the select is disabled. |
1016
+ | `required` | `boolean` | `false` | Whether selection is required. |
1017
+ | `name` | `string \| undefined` | | Name attribute for form submission. |
1018
+ | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | Size variant of the select. |
1019
+ | `variant` | `'default' \| 'outlined' \| 'solid'` | `'default'` | Visual variant of the select. |
1020
+ | `open` | `boolean` | `false` | Whether the dropdown is currently open. |
1021
+
1022
+ ### Events
1023
+
1024
+ | Event | Type | Description |
1025
+ |-------|------|-------------|
1026
+ | `leChange` | `EventEmitter<LeOptionSelectDetail> \| undefined` | Emitted when the selected value changes. |
1027
+ | `leOpen` | `EventEmitter<void> \| undefined` | Emitted when the dropdown opens. |
1028
+ | `leClose` | `EventEmitter<void> \| undefined` | Emitted when the dropdown closes. |
1029
+
1030
+ ---
1031
+
897
1032
  ## <le-side-panel>
898
1033
 
899
1034
  ### Properties
@@ -905,6 +1040,9 @@ Perfect for toggling between a small set of related options.
905
1040
  | `side` | `LeSidePanelSide` | `'start'` | Which side the panel is attached to. |
906
1041
  | `collapseAt` | `string \| undefined` | | Width breakpoint (in px or a CSS var like `--le-breakpoint-md`) below which the panel enters "narrow" mode. |
907
1042
  | `narrowBehavior` | `LeSidePanelNarrowBehavior` | `'overlay'` | Behavior when in narrow mode. |
1043
+ | `sticky` | `boolean` | `false` | Whether the panel is sticky (remains visible when scrolling). |
1044
+ | `top` | `number \| 'under-header'` | `0` | Top offset for the sticky panel. |
1045
+ | `fullHeight` | `boolean` | `false` | Whether the sticky panel should stretch to full height. |
908
1046
  | `open` | `boolean` | `false` | Panel open state for narrow mode. - overlay: controls modal drawer visibility - push: controls whether panel is shown (non-modal) |
909
1047
  | `collapsed` | `boolean` | `false` | Panel collapsed state for wide mode (fully hidden). |
910
1048
  | `panelWidth` | `number` | `280` | Default panel width in pixels. |
@@ -938,7 +1076,7 @@ Perfect for toggling between a small set of related options.
938
1076
  | `action` | `LeSidePanelToggleAction` | `'toggle'` | Action to emit. Default toggles the panel. |
939
1077
  | `shortcut` | `string \| undefined` | | Optional keyboard shortcut like `Mod+B` or `Alt+N`. |
940
1078
  | `disabled` | `boolean` | `false` | Disables the toggle. |
941
- | `mode` | `'default' \| 'admin'` | | |
1079
+ | `mode` | `'default' \| 'admin'` | `'default'` | |
942
1080
  | `variant` | `'solid' \| 'outlined' \| 'clear' \| 'system'` | `'solid'` | |
943
1081
  | `color` | `'primary' \| 'secondary' \| 'success' \| 'warning' \| 'danger' \| 'info'` | `'primary'` | |
944
1082
  | `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | |
@@ -1048,33 +1186,33 @@ A text input component with support for labels, descriptions, icons, and externa
1048
1186
  |------|------|---------|-------------|
1049
1187
  | `el` | `HTMLElement` | | |
1050
1188
  | `inputRef` | `(el: HTMLInputElement) => void \| undefined` | | Pass the ref of the input element to the parent component |
1051
- | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
1052
- | `value` | `string` | | The value of the input |
1053
- | `name` | `string` | | The name of the input |
1189
+ | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
1190
+ | `value` | `string \| undefined` | | The value of the input |
1191
+ | `name` | `string \| undefined` | | The name of the input |
1054
1192
  | `type` | `'text' \| 'email' \| 'password' \| 'tel' \| 'url'` | `'text'` | The type of the input (text, email, password, etc.) |
1055
- | `label` | `string` | | Label for the input |
1056
- | `iconStart` | `string` | | Icon for the start icon |
1057
- | `iconEnd` | `string` | | Icon for the end icon |
1058
- | `placeholder` | `string` | | Placeholder text |
1193
+ | `label` | `string \| undefined` | | Label for the input |
1194
+ | `iconStart` | `string \| undefined` | | Icon for the start icon |
1195
+ | `iconEnd` | `string \| undefined` | | Icon for the end icon |
1196
+ | `placeholder` | `string \| undefined` | | Placeholder text |
1059
1197
  | `hideDescription` | `boolean` | `false` | Hide description slot |
1060
1198
  | `disabled` | `boolean` | `false` | Whether the input is disabled |
1061
1199
  | `readonly` | `boolean` | `false` | Whether the input is read-only |
1062
- | `externalId` | `string` | | External ID for linking with external systems |
1200
+ | `externalId` | `string \| undefined` | | External ID for linking with external systems |
1063
1201
 
1064
1202
  ### Events
1065
1203
 
1066
1204
  | Event | Type | Description |
1067
1205
  |-------|------|-------------|
1068
1206
  | `change` | `EventEmitter<{
1069
- value: string;
1070
- name: string;
1071
- externalId: string;
1072
- }>` | Emitted when the value changes (on blur or Enter) |
1207
+ value?: string;
1208
+ name?: string;
1209
+ externalId?: string;
1210
+ }> \| undefined` | Emitted when the value changes (on blur or Enter) |
1073
1211
  | `input` | `EventEmitter<{
1074
- value: string;
1075
- name: string;
1076
- externalId: string;
1077
- }>` | Emitted when the input value changes (on keystroke) |
1212
+ value?: string;
1213
+ name?: string;
1214
+ externalId?: string;
1215
+ }> \| undefined` | Emitted when the input value changes (on keystroke) |
1078
1216
 
1079
1217
  ### Slots
1080
1218
 
@@ -1107,7 +1245,7 @@ A flexible tab component with multiple variants and states.
1107
1245
  | Name | Type | Default | Description |
1108
1246
  |------|------|---------|-------------|
1109
1247
  | `el` | `HTMLElement` | | |
1110
- | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
1248
+ | `mode` | `'default' \| 'admin'` | `'default'` | Mode of the popover should be 'default' for internal use |
1111
1249
  | `label` | `string \| undefined` | | Label if it is not provided via slot |
1112
1250
  | `value` | `string \| undefined` | | Value of the tab, defaults to label if not provided |
1113
1251
  | `variant` | `'underlined' \| 'solid' \| 'pills' \| 'enclosed' \| 'icon-only'` | `'underlined'` | Tab variant style |
@@ -1129,7 +1267,7 @@ A flexible tab component with multiple variants and states.
1129
1267
 
1130
1268
  | Event | Type | Description |
1131
1269
  |-------|------|-------------|
1132
- | `click` | `EventEmitter<PointerEvent>` | Emitted when the tab is clicked. This is a custom event that wraps the native click but ensures the target is the le-tab. |
1270
+ | `click` | `EventEmitter<PointerEvent> \| undefined` | Emitted when the tab is clicked. This is a custom event that wraps the native click but ensures the target is the le-tab. |
1133
1271
 
1134
1272
  ### Slots
1135
1273
 
@@ -1175,7 +1313,7 @@ use `le-tabs` instead.
1175
1313
 
1176
1314
  | Event | Type | Description |
1177
1315
  |-------|------|-------------|
1178
- | `leTabChange` | `EventEmitter<LeOptionSelectDetail>` | Emitted when the selected tab changes. |
1316
+ | `leTabChange` | `EventEmitter<LeOptionSelectDetail> \| undefined` | Emitted when the selected tab changes. |
1179
1317
 
1180
1318
  ### CSS Variables
1181
1319
 
@@ -1248,7 +1386,7 @@ Full keyboard navigation and ARIA support included.
1248
1386
 
1249
1387
  | Event | Type | Description |
1250
1388
  |-------|------|-------------|
1251
- | `leTabChange` | `EventEmitter<LeOptionSelectDetail>` | Emitted when the selected tab changes. |
1389
+ | `leTabChange` | `EventEmitter<LeOptionSelectDetail> \| undefined` | Emitted when the selected tab changes. |
1252
1390
 
1253
1391
  ### Slots
1254
1392
 
@@ -1277,8 +1415,8 @@ A tag/chip component for displaying labels with optional dismiss functionality.
1277
1415
 
1278
1416
  | Name | Type | Default | Description |
1279
1417
  |------|------|---------|-------------|
1280
- | `label` | `string` | | The text label to display in the tag. |
1281
- | `mode` | `'default' \| 'admin'` | | Mode of the popover should be 'default' for internal use |
1418
+ | `label` | `string \| undefined` | | The text label to display in the tag. |
1419
+ | `mode` | `'default' \| 'admin' \| undefined` | | Mode of the popover should be 'default' for internal use |
1282
1420
  | `icon` | `string \| undefined` | | Icon to display before the label. Can be an emoji, URL, or icon name. |
1283
1421
  | `dismissible` | `boolean` | `false` | Whether the tag can be dismissed (shows close button). |
1284
1422
  | `disabled` | `boolean` | `false` | Whether the tag is disabled. |
@@ -1289,7 +1427,7 @@ A tag/chip component for displaying labels with optional dismiss functionality.
1289
1427
 
1290
1428
  | Event | Type | Description |
1291
1429
  |-------|------|-------------|
1292
- | `leDismiss` | `EventEmitter<void>` | Emitted when the dismiss button is clicked. |
1430
+ | `leDismiss` | `EventEmitter<void> \| undefined` | Emitted when the dismiss button is clicked. |
1293
1431
 
1294
1432
  ### Slots
1295
1433
 
@@ -1355,12 +1493,12 @@ toolbar for bold, italic, links, and paragraph type selection.
1355
1493
  | `center` | `string` | `'center'` | |
1356
1494
  | `value` | `number` | `0` | |
1357
1495
  | `rotating` | `boolean` | `false` | Internal state using properties instead of |
1358
- | `centerX` | `number` | | |
1359
- | `centerY` | `number` | | |
1360
- | `pageX` | `number` | | |
1361
- | `pageY` | `number` | | |
1496
+ | `centerX` | `number \| undefined` | | |
1497
+ | `centerY` | `number \| undefined` | | |
1498
+ | `pageX` | `number \| undefined` | | |
1499
+ | `pageY` | `number \| undefined` | | |
1362
1500
  | `currentAngle` | `number` | `0` | |
1363
- | `startAngle` | `number` | | |
1501
+ | `startAngle` | `number \| undefined` | | |
1364
1502
 
1365
1503
  ---
1366
1504
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "le-kit",
3
- "version": "0.5.4",
3
+ "version": "0.6.1",
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",