le-kit 0.3.1 → 0.3.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.
- package/dist/cjs/{le-button_13.cjs.entry.js → le-bar_16.cjs.entry.js} +951 -5
- package/dist/cjs/le-kit.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/le-bar/le-bar.js +59 -7
- package/dist/collection/components/le-bar/le-bar.js.map +1 -1
- package/dist/collection/components/le-component/le-component.js +1 -1
- package/dist/collection/components/le-component/le-component.js.map +1 -1
- package/dist/collection/components/le-navigation/le-navigation.js +3 -3
- package/dist/collection/components/le-navigation/le-navigation.js.map +1 -1
- package/dist/collection/components/le-select/le-select.js +3 -3
- package/dist/collection/components/le-select/le-select.js.map +1 -1
- package/dist/collection/dist/components/assets/custom-elements.json +1169 -1151
- package/dist/components/assets/custom-elements.json +1169 -1151
- package/dist/components/le-bar2.js +40 -7
- package/dist/components/le-bar2.js.map +1 -1
- package/dist/components/le-button2.js +4 -4
- package/dist/components/le-button2.js.map +1 -1
- package/dist/components/le-navigation.js +2 -2
- package/dist/components/le-navigation.js.map +1 -1
- package/dist/docs.json +33 -4
- package/dist/esm/{le-button_13.entry.js → le-bar_16.entry.js} +951 -8
- package/dist/esm/le-kit.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/le-kit/dist/components/assets/custom-elements.json +1169 -1151
- package/dist/le-kit/le-kit.esm.js +1 -1
- package/dist/le-kit/p-dea78542.entry.js +2 -0
- package/dist/le-kit/p-dea78542.entry.js.map +1 -0
- package/dist/types/components/le-bar/le-bar.d.ts +6 -0
- package/dist/types/components.d.ts +14 -4
- package/package.json +1 -1
- package/dist/cjs/le-bar.cjs.entry.js +0 -428
- package/dist/cjs/le-icon.cjs.entry.js +0 -110
- package/dist/cjs/le-navigation.cjs.entry.js +0 -393
- package/dist/esm/le-bar.entry.js +0 -426
- package/dist/esm/le-bar.entry.js.map +0 -1
- package/dist/esm/le-icon.entry.js +0 -108
- package/dist/esm/le-icon.entry.js.map +0 -1
- package/dist/esm/le-navigation.entry.js +0 -391
- package/dist/esm/le-navigation.entry.js.map +0 -1
- package/dist/le-kit/p-0efce278.entry.js +0 -2
- package/dist/le-kit/p-0efce278.entry.js.map +0 -1
- package/dist/le-kit/p-2102a152.entry.js +0 -2
- package/dist/le-kit/p-2102a152.entry.js.map +0 -1
- package/dist/le-kit/p-53d9c363.entry.js +0 -2
- package/dist/le-kit/p-53d9c363.entry.js.map +0 -1
- package/dist/le-kit/p-94f774af.entry.js +0 -2
- package/dist/le-kit/p-94f774af.entry.js.map +0 -1
|
@@ -114,6 +114,15 @@
|
|
|
114
114
|
"default": "false",
|
|
115
115
|
"description": "Disable the internal overflow popover.\nWhen true, the bar still detects overflow and hides items,\nbut doesn't render its own popover. Use this when providing\ncustom overflow handling via the leBarOverflowChange event."
|
|
116
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "field",
|
|
119
|
+
"name": "minVisibleItems",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "number"
|
|
122
|
+
},
|
|
123
|
+
"default": "0",
|
|
124
|
+
"description": "Minimum number of visible items required when using \"more\" overflow mode.\nIf fewer items would be visible, the bar falls back to hamburger mode.\nOnly applies when overflow is \"more\"."
|
|
125
|
+
},
|
|
117
126
|
{
|
|
118
127
|
"kind": "field",
|
|
119
128
|
"name": "showAllMenu",
|
|
@@ -467,6 +476,15 @@
|
|
|
467
476
|
"text": "boolean"
|
|
468
477
|
}
|
|
469
478
|
},
|
|
479
|
+
{
|
|
480
|
+
"name": "min-visible-items",
|
|
481
|
+
"fieldName": "minVisibleItems",
|
|
482
|
+
"default": "0",
|
|
483
|
+
"description": "Minimum number of visible items required when using \"more\" overflow mode.\nIf fewer items would be visible, the bar falls back to hamburger mode.\nOnly applies when overflow is \"more\".",
|
|
484
|
+
"type": {
|
|
485
|
+
"text": "number"
|
|
486
|
+
}
|
|
487
|
+
},
|
|
470
488
|
{
|
|
471
489
|
"name": "show-all-menu",
|
|
472
490
|
"fieldName": "showAllMenu",
|
|
@@ -511,60 +529,40 @@
|
|
|
511
529
|
},
|
|
512
530
|
{
|
|
513
531
|
"kind": "javascript-module",
|
|
514
|
-
"path": "src/components/le-
|
|
532
|
+
"path": "src/components/le-box/le-box.tsx",
|
|
515
533
|
"declarations": [
|
|
516
534
|
{
|
|
517
535
|
"kind": "class",
|
|
518
|
-
"description": "A flexible
|
|
519
|
-
"name": "
|
|
536
|
+
"description": "A flexible box component for use as a flex item within le-stack.\n\n`le-box` wraps content and provides flex item properties like grow, shrink,\nbasis, and self-alignment. It can also control its internal content alignment.",
|
|
537
|
+
"name": "LeBox",
|
|
520
538
|
"cssProperties": [
|
|
521
539
|
{
|
|
522
|
-
"description": "
|
|
523
|
-
"name": "--le-
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"description": "Button text color",
|
|
527
|
-
"name": "--le-button-color"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"description": "Button border radius",
|
|
531
|
-
"name": "--le-button-border-radius"
|
|
540
|
+
"description": "Background color",
|
|
541
|
+
"name": "--le-box-bg"
|
|
532
542
|
},
|
|
533
543
|
{
|
|
534
|
-
"description": "
|
|
535
|
-
"name": "--le-
|
|
544
|
+
"description": "Padding inside the box",
|
|
545
|
+
"name": "--le-box-padding"
|
|
536
546
|
},
|
|
537
547
|
{
|
|
538
|
-
"description": "
|
|
539
|
-
"name": "--le-
|
|
548
|
+
"description": "Border radius",
|
|
549
|
+
"name": "--le-box-border-radius"
|
|
540
550
|
}
|
|
541
551
|
],
|
|
542
552
|
"cssParts": [
|
|
543
553
|
{
|
|
544
|
-
"description": "The
|
|
545
|
-
"name": "
|
|
554
|
+
"description": "The main box container",
|
|
555
|
+
"name": "box"
|
|
546
556
|
},
|
|
547
557
|
{
|
|
548
|
-
"description": "The
|
|
558
|
+
"description": "The inner content wrapper",
|
|
549
559
|
"name": "content"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"description": "The start icon slot",
|
|
553
|
-
"name": "icon-start"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"description": "The end icon slot",
|
|
557
|
-
"name": "icon-end"
|
|
558
560
|
}
|
|
559
561
|
],
|
|
560
562
|
"slots": [
|
|
561
563
|
{
|
|
562
|
-
"description": "
|
|
564
|
+
"description": "Default slot for box content",
|
|
563
565
|
"name": ""
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
"description": "Icon for icon-only buttons",
|
|
567
|
-
"name": "icon-only"
|
|
568
566
|
}
|
|
569
567
|
],
|
|
570
568
|
"members": [
|
|
@@ -577,284 +575,397 @@
|
|
|
577
575
|
},
|
|
578
576
|
{
|
|
579
577
|
"kind": "field",
|
|
580
|
-
"name": "
|
|
578
|
+
"name": "grow",
|
|
581
579
|
"type": {
|
|
582
|
-
"text": "
|
|
580
|
+
"text": "number"
|
|
583
581
|
},
|
|
584
|
-
"
|
|
582
|
+
"default": "0",
|
|
583
|
+
"description": "Flex grow factor - how much the item should grow relative to siblings"
|
|
585
584
|
},
|
|
586
585
|
{
|
|
587
586
|
"kind": "field",
|
|
588
|
-
"name": "
|
|
587
|
+
"name": "shrink",
|
|
589
588
|
"type": {
|
|
590
|
-
"text": "
|
|
589
|
+
"text": "number"
|
|
591
590
|
},
|
|
592
|
-
"default": "
|
|
593
|
-
"description": "
|
|
591
|
+
"default": "1",
|
|
592
|
+
"description": "Flex shrink factor - how much the item should shrink relative to siblings"
|
|
594
593
|
},
|
|
595
594
|
{
|
|
596
595
|
"kind": "field",
|
|
597
|
-
"name": "
|
|
596
|
+
"name": "basis",
|
|
598
597
|
"type": {
|
|
599
|
-
"text": "
|
|
598
|
+
"text": "string"
|
|
600
599
|
},
|
|
601
|
-
"default": "'
|
|
602
|
-
"description": "
|
|
600
|
+
"default": "'auto'",
|
|
601
|
+
"description": "Flex basis - initial size before growing/shrinking (e.g., '200px', '25%', 'auto')"
|
|
603
602
|
},
|
|
604
603
|
{
|
|
605
604
|
"kind": "field",
|
|
606
|
-
"name": "
|
|
605
|
+
"name": "width",
|
|
607
606
|
"type": {
|
|
608
|
-
"text": "
|
|
607
|
+
"text": "string | undefined"
|
|
609
608
|
},
|
|
610
|
-
"
|
|
611
|
-
"description": "Button size"
|
|
609
|
+
"description": "Width of the box (CSS value like '100px', '50%', 'auto')"
|
|
612
610
|
},
|
|
613
611
|
{
|
|
614
612
|
"kind": "field",
|
|
615
|
-
"name": "
|
|
613
|
+
"name": "height",
|
|
616
614
|
"type": {
|
|
617
|
-
"text": "
|
|
615
|
+
"text": "string | undefined"
|
|
618
616
|
},
|
|
619
|
-
"
|
|
620
|
-
"description": "Whether the button is in a selected/active state"
|
|
617
|
+
"description": "Height of the box (CSS value)"
|
|
621
618
|
},
|
|
622
619
|
{
|
|
623
620
|
"kind": "field",
|
|
624
|
-
"name": "
|
|
621
|
+
"name": "minWidth",
|
|
625
622
|
"type": {
|
|
626
|
-
"text": "
|
|
623
|
+
"text": "string | undefined"
|
|
627
624
|
},
|
|
628
|
-
"
|
|
629
|
-
"description": "Whether the button takes full width of its container"
|
|
625
|
+
"description": "Minimum width constraint"
|
|
630
626
|
},
|
|
631
627
|
{
|
|
632
628
|
"kind": "field",
|
|
633
|
-
"name": "
|
|
629
|
+
"name": "maxWidth",
|
|
634
630
|
"type": {
|
|
635
|
-
"text": "string |
|
|
631
|
+
"text": "string | undefined"
|
|
636
632
|
},
|
|
637
|
-
"description": "
|
|
633
|
+
"description": "Maximum width constraint"
|
|
638
634
|
},
|
|
639
635
|
{
|
|
640
636
|
"kind": "field",
|
|
641
|
-
"name": "
|
|
637
|
+
"name": "minHeight",
|
|
642
638
|
"type": {
|
|
643
|
-
"text": "string |
|
|
639
|
+
"text": "string | undefined"
|
|
644
640
|
},
|
|
645
|
-
"description": "
|
|
641
|
+
"description": "Minimum height constraint"
|
|
646
642
|
},
|
|
647
643
|
{
|
|
648
644
|
"kind": "field",
|
|
649
|
-
"name": "
|
|
645
|
+
"name": "maxHeight",
|
|
650
646
|
"type": {
|
|
651
|
-
"text": "string |
|
|
647
|
+
"text": "string | undefined"
|
|
652
648
|
},
|
|
653
|
-
"description": "
|
|
649
|
+
"description": "Maximum height constraint"
|
|
654
650
|
},
|
|
655
651
|
{
|
|
656
652
|
"kind": "field",
|
|
657
|
-
"name": "
|
|
653
|
+
"name": "background",
|
|
658
654
|
"type": {
|
|
659
|
-
"text": "
|
|
655
|
+
"text": "string | undefined"
|
|
660
656
|
},
|
|
661
|
-
"
|
|
662
|
-
"description": "Whether the button is disabled"
|
|
657
|
+
"description": "Background color or CSS value (e.g., '#f0f0f0', 'var(--le-color-primary-light)')"
|
|
663
658
|
},
|
|
664
659
|
{
|
|
665
660
|
"kind": "field",
|
|
666
|
-
"name": "
|
|
661
|
+
"name": "borderRadius",
|
|
667
662
|
"type": {
|
|
668
|
-
"text": "
|
|
663
|
+
"text": "string | undefined"
|
|
669
664
|
},
|
|
670
|
-
"
|
|
671
|
-
"description": "The button type attribute"
|
|
665
|
+
"description": "Border radius (e.g., '8px', 'var(--le-radius-md)')"
|
|
672
666
|
},
|
|
673
667
|
{
|
|
674
668
|
"kind": "field",
|
|
675
|
-
"name": "
|
|
669
|
+
"name": "border",
|
|
676
670
|
"type": {
|
|
677
671
|
"text": "string | undefined"
|
|
678
672
|
},
|
|
679
|
-
"description": "
|
|
673
|
+
"description": "Border style (e.g., '1px solid #ccc', '2px dashed var(--le-color-border)')"
|
|
680
674
|
},
|
|
681
675
|
{
|
|
682
676
|
"kind": "field",
|
|
683
|
-
"name": "
|
|
677
|
+
"name": "alignSelf",
|
|
684
678
|
"type": {
|
|
685
|
-
"text": "
|
|
679
|
+
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
686
680
|
},
|
|
687
|
-
"
|
|
681
|
+
"default": "'auto'",
|
|
682
|
+
"description": "Self-alignment override for this item on the cross axis"
|
|
688
683
|
},
|
|
689
684
|
{
|
|
690
685
|
"kind": "field",
|
|
691
|
-
"name": "
|
|
686
|
+
"name": "alignContent",
|
|
692
687
|
"type": {
|
|
693
|
-
"text": "'start' | 'center' | '
|
|
688
|
+
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
694
689
|
},
|
|
695
|
-
"default": "'
|
|
696
|
-
"description": "
|
|
690
|
+
"default": "'stretch'",
|
|
691
|
+
"description": "Internal horizontal alignment of content"
|
|
697
692
|
},
|
|
698
693
|
{
|
|
699
694
|
"kind": "field",
|
|
700
|
-
"name": "
|
|
701
|
-
"privacy": "private"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"kind": "method",
|
|
705
|
-
"name": "render"
|
|
706
|
-
}
|
|
707
|
-
],
|
|
708
|
-
"attributes": [
|
|
709
|
-
{
|
|
710
|
-
"name": "mode",
|
|
711
|
-
"fieldName": "mode",
|
|
712
|
-
"description": "Mode of the popover should be 'default' for internal use",
|
|
695
|
+
"name": "justifyContent",
|
|
713
696
|
"type": {
|
|
714
|
-
"text": "'
|
|
715
|
-
}
|
|
697
|
+
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
698
|
+
},
|
|
699
|
+
"default": "'start'",
|
|
700
|
+
"description": "Internal vertical alignment of content"
|
|
716
701
|
},
|
|
717
702
|
{
|
|
718
|
-
"
|
|
719
|
-
"
|
|
720
|
-
"default": "'solid'",
|
|
721
|
-
"description": "Button variant style",
|
|
703
|
+
"kind": "field",
|
|
704
|
+
"name": "padding",
|
|
722
705
|
"type": {
|
|
723
|
-
"text": "
|
|
724
|
-
}
|
|
706
|
+
"text": "string | undefined"
|
|
707
|
+
},
|
|
708
|
+
"description": "Padding inside the box (CSS value like '8px', '1rem')"
|
|
725
709
|
},
|
|
726
710
|
{
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"default": "'primary'",
|
|
730
|
-
"description": "Button color theme (uses theme semantic colors)",
|
|
711
|
+
"kind": "field",
|
|
712
|
+
"name": "order",
|
|
731
713
|
"type": {
|
|
732
|
-
"text": "
|
|
733
|
-
}
|
|
714
|
+
"text": "number | undefined"
|
|
715
|
+
},
|
|
716
|
+
"description": "Order in the flex container (lower values come first)"
|
|
734
717
|
},
|
|
735
718
|
{
|
|
736
|
-
"
|
|
737
|
-
"
|
|
738
|
-
"default": "'medium'",
|
|
739
|
-
"description": "Button size",
|
|
719
|
+
"kind": "field",
|
|
720
|
+
"name": "displayFlex",
|
|
740
721
|
"type": {
|
|
741
|
-
"text": "
|
|
742
|
-
}
|
|
722
|
+
"text": "boolean"
|
|
723
|
+
},
|
|
724
|
+
"default": "false",
|
|
725
|
+
"description": "Whether to display box content as flex (for internal alignment)"
|
|
743
726
|
},
|
|
744
727
|
{
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"default": "false",
|
|
748
|
-
"description": "Whether the button is in a selected/active state",
|
|
728
|
+
"kind": "field",
|
|
729
|
+
"name": "innerDirection",
|
|
749
730
|
"type": {
|
|
750
|
-
"text": "
|
|
751
|
-
}
|
|
731
|
+
"text": "'horizontal' | 'vertical'"
|
|
732
|
+
},
|
|
733
|
+
"default": "'vertical'",
|
|
734
|
+
"description": "Direction of internal flex layout when displayFlex is true"
|
|
752
735
|
},
|
|
753
736
|
{
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
"default": "false",
|
|
757
|
-
"description": "Whether the button takes full width of its container",
|
|
737
|
+
"kind": "field",
|
|
738
|
+
"name": "innerGap",
|
|
758
739
|
"type": {
|
|
759
|
-
"text": "
|
|
760
|
-
}
|
|
740
|
+
"text": "string | undefined"
|
|
741
|
+
},
|
|
742
|
+
"description": "Gap between internal flex items when displayFlex is true"
|
|
761
743
|
},
|
|
762
744
|
{
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
"
|
|
767
|
-
"
|
|
745
|
+
"kind": "method",
|
|
746
|
+
"name": "getAlignSelf",
|
|
747
|
+
"privacy": "private",
|
|
748
|
+
"return": {
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "string"
|
|
751
|
+
}
|
|
768
752
|
}
|
|
769
753
|
},
|
|
770
754
|
{
|
|
771
|
-
"
|
|
772
|
-
"
|
|
773
|
-
"
|
|
774
|
-
"
|
|
775
|
-
"
|
|
755
|
+
"kind": "method",
|
|
756
|
+
"name": "getContentAlign",
|
|
757
|
+
"privacy": "private",
|
|
758
|
+
"return": {
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "string"
|
|
761
|
+
}
|
|
776
762
|
}
|
|
777
763
|
},
|
|
778
764
|
{
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"
|
|
765
|
+
"kind": "method",
|
|
766
|
+
"name": "getContentJustify",
|
|
767
|
+
"privacy": "private",
|
|
768
|
+
"return": {
|
|
769
|
+
"type": {
|
|
770
|
+
"text": "string"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "method",
|
|
776
|
+
"name": "render"
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"attributes": [
|
|
780
|
+
{
|
|
781
|
+
"name": "grow",
|
|
782
|
+
"fieldName": "grow",
|
|
783
|
+
"default": "0",
|
|
784
|
+
"description": "Flex grow factor - how much the item should grow relative to siblings",
|
|
782
785
|
"type": {
|
|
783
|
-
"text": "
|
|
786
|
+
"text": "number"
|
|
784
787
|
}
|
|
785
788
|
},
|
|
786
789
|
{
|
|
787
|
-
"name": "
|
|
788
|
-
"fieldName": "
|
|
789
|
-
"default": "
|
|
790
|
-
"description": "
|
|
790
|
+
"name": "shrink",
|
|
791
|
+
"fieldName": "shrink",
|
|
792
|
+
"default": "1",
|
|
793
|
+
"description": "Flex shrink factor - how much the item should shrink relative to siblings",
|
|
791
794
|
"type": {
|
|
792
|
-
"text": "
|
|
795
|
+
"text": "number"
|
|
793
796
|
}
|
|
794
797
|
},
|
|
795
798
|
{
|
|
796
|
-
"name": "
|
|
797
|
-
"fieldName": "
|
|
798
|
-
"default": "'
|
|
799
|
-
"description": "
|
|
799
|
+
"name": "basis",
|
|
800
|
+
"fieldName": "basis",
|
|
801
|
+
"default": "'auto'",
|
|
802
|
+
"description": "Flex basis - initial size before growing/shrinking (e.g., '200px', '25%', 'auto')",
|
|
800
803
|
"type": {
|
|
801
|
-
"text": "
|
|
804
|
+
"text": "string"
|
|
802
805
|
}
|
|
803
806
|
},
|
|
804
807
|
{
|
|
805
|
-
"name": "
|
|
806
|
-
"fieldName": "
|
|
807
|
-
"description": "
|
|
808
|
+
"name": "width",
|
|
809
|
+
"fieldName": "width",
|
|
810
|
+
"description": "Width of the box (CSS value like '100px', '50%', 'auto')",
|
|
808
811
|
"type": {
|
|
809
812
|
"text": "string"
|
|
810
813
|
}
|
|
811
814
|
},
|
|
812
815
|
{
|
|
813
|
-
"name": "
|
|
814
|
-
"fieldName": "
|
|
815
|
-
"description": "
|
|
816
|
+
"name": "height",
|
|
817
|
+
"fieldName": "height",
|
|
818
|
+
"description": "Height of the box (CSS value)",
|
|
816
819
|
"type": {
|
|
817
820
|
"text": "string"
|
|
818
821
|
}
|
|
819
822
|
},
|
|
820
823
|
{
|
|
821
|
-
"name": "
|
|
822
|
-
"fieldName": "
|
|
823
|
-
"
|
|
824
|
-
"description": "Alignment of the button label without the end icon",
|
|
824
|
+
"name": "min-width",
|
|
825
|
+
"fieldName": "minWidth",
|
|
826
|
+
"description": "Minimum width constraint",
|
|
825
827
|
"type": {
|
|
826
|
-
"text": "
|
|
828
|
+
"text": "string"
|
|
827
829
|
}
|
|
828
|
-
}
|
|
829
|
-
],
|
|
830
|
-
"tagName": "le-button",
|
|
831
|
-
"events": [
|
|
830
|
+
},
|
|
832
831
|
{
|
|
833
|
-
"name": "
|
|
832
|
+
"name": "max-width",
|
|
833
|
+
"fieldName": "maxWidth",
|
|
834
|
+
"description": "Maximum width constraint",
|
|
834
835
|
"type": {
|
|
835
|
-
"text": "
|
|
836
|
-
}
|
|
837
|
-
|
|
836
|
+
"text": "string"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "min-height",
|
|
841
|
+
"fieldName": "minHeight",
|
|
842
|
+
"description": "Minimum height constraint",
|
|
843
|
+
"type": {
|
|
844
|
+
"text": "string"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "max-height",
|
|
849
|
+
"fieldName": "maxHeight",
|
|
850
|
+
"description": "Maximum height constraint",
|
|
851
|
+
"type": {
|
|
852
|
+
"text": "string"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"name": "background",
|
|
857
|
+
"fieldName": "background",
|
|
858
|
+
"description": "Background color or CSS value (e.g., '#f0f0f0', 'var(--le-color-primary-light)')",
|
|
859
|
+
"type": {
|
|
860
|
+
"text": "string"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "border-radius",
|
|
865
|
+
"fieldName": "borderRadius",
|
|
866
|
+
"description": "Border radius (e.g., '8px', 'var(--le-radius-md)')",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "string"
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "border",
|
|
873
|
+
"fieldName": "border",
|
|
874
|
+
"description": "Border style (e.g., '1px solid #ccc', '2px dashed var(--le-color-border)')",
|
|
875
|
+
"type": {
|
|
876
|
+
"text": "string"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "align-self",
|
|
881
|
+
"fieldName": "alignSelf",
|
|
882
|
+
"default": "'auto'",
|
|
883
|
+
"description": "Self-alignment override for this item on the cross axis",
|
|
884
|
+
"type": {
|
|
885
|
+
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "align-content",
|
|
890
|
+
"fieldName": "alignContent",
|
|
891
|
+
"default": "'stretch'",
|
|
892
|
+
"description": "Internal horizontal alignment of content",
|
|
893
|
+
"type": {
|
|
894
|
+
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "justify-content",
|
|
899
|
+
"fieldName": "justifyContent",
|
|
900
|
+
"default": "'start'",
|
|
901
|
+
"description": "Internal vertical alignment of content",
|
|
902
|
+
"type": {
|
|
903
|
+
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "padding",
|
|
908
|
+
"fieldName": "padding",
|
|
909
|
+
"description": "Padding inside the box (CSS value like '8px', '1rem')",
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "string"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "order",
|
|
916
|
+
"fieldName": "order",
|
|
917
|
+
"description": "Order in the flex container (lower values come first)",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "number"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "display-flex",
|
|
924
|
+
"fieldName": "displayFlex",
|
|
925
|
+
"default": "false",
|
|
926
|
+
"description": "Whether to display box content as flex (for internal alignment)",
|
|
927
|
+
"type": {
|
|
928
|
+
"text": "boolean"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "inner-direction",
|
|
933
|
+
"fieldName": "innerDirection",
|
|
934
|
+
"default": "'vertical'",
|
|
935
|
+
"description": "Direction of internal flex layout when displayFlex is true",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "'horizontal' | 'vertical'"
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "inner-gap",
|
|
942
|
+
"fieldName": "innerGap",
|
|
943
|
+
"description": "Gap between internal flex items when displayFlex is true",
|
|
944
|
+
"type": {
|
|
945
|
+
"text": "string"
|
|
946
|
+
}
|
|
838
947
|
}
|
|
839
948
|
],
|
|
949
|
+
"tagName": "le-box",
|
|
950
|
+
"events": [],
|
|
840
951
|
"customElement": true
|
|
841
952
|
}
|
|
842
953
|
],
|
|
843
954
|
"exports": [
|
|
844
955
|
{
|
|
845
956
|
"kind": "js",
|
|
846
|
-
"name": "
|
|
957
|
+
"name": "LeBox",
|
|
847
958
|
"declaration": {
|
|
848
|
-
"name": "
|
|
849
|
-
"module": "src/components/le-
|
|
959
|
+
"name": "LeBox",
|
|
960
|
+
"module": "src/components/le-box/le-box.tsx"
|
|
850
961
|
}
|
|
851
962
|
},
|
|
852
963
|
{
|
|
853
964
|
"kind": "custom-element-definition",
|
|
854
|
-
"name": "le-
|
|
965
|
+
"name": "le-box",
|
|
855
966
|
"declaration": {
|
|
856
|
-
"name": "
|
|
857
|
-
"module": "src/components/le-
|
|
967
|
+
"name": "LeBox",
|
|
968
|
+
"module": "src/components/le-box/le-box.tsx"
|
|
858
969
|
}
|
|
859
970
|
}
|
|
860
971
|
]
|
|
@@ -994,40 +1105,60 @@
|
|
|
994
1105
|
},
|
|
995
1106
|
{
|
|
996
1107
|
"kind": "javascript-module",
|
|
997
|
-
"path": "src/components/le-
|
|
1108
|
+
"path": "src/components/le-button/le-button.tsx",
|
|
998
1109
|
"declarations": [
|
|
999
1110
|
{
|
|
1000
1111
|
"kind": "class",
|
|
1001
|
-
"description": "A flexible
|
|
1002
|
-
"name": "
|
|
1112
|
+
"description": "A flexible button component with multiple variants and states.",
|
|
1113
|
+
"name": "LeButton",
|
|
1003
1114
|
"cssProperties": [
|
|
1004
1115
|
{
|
|
1005
|
-
"description": "
|
|
1006
|
-
"name": "--le-
|
|
1116
|
+
"description": "Button background color",
|
|
1117
|
+
"name": "--le-button-bg"
|
|
1007
1118
|
},
|
|
1008
1119
|
{
|
|
1009
|
-
"description": "
|
|
1010
|
-
"name": "--le-
|
|
1120
|
+
"description": "Button text color",
|
|
1121
|
+
"name": "--le-button-color"
|
|
1011
1122
|
},
|
|
1012
1123
|
{
|
|
1013
|
-
"description": "
|
|
1014
|
-
"name": "--le-
|
|
1124
|
+
"description": "Button border radius",
|
|
1125
|
+
"name": "--le-button-border-radius"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"description": "Button horizontal padding",
|
|
1129
|
+
"name": "--le-button-padding-x"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"description": "Button vertical padding",
|
|
1133
|
+
"name": "--le-button-padding-y"
|
|
1015
1134
|
}
|
|
1016
1135
|
],
|
|
1017
1136
|
"cssParts": [
|
|
1018
1137
|
{
|
|
1019
|
-
"description": "The
|
|
1020
|
-
"name": "
|
|
1138
|
+
"description": "The native button element",
|
|
1139
|
+
"name": "button"
|
|
1021
1140
|
},
|
|
1022
1141
|
{
|
|
1023
|
-
"description": "The
|
|
1142
|
+
"description": "The button content wrapper",
|
|
1024
1143
|
"name": "content"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"description": "The start icon slot",
|
|
1147
|
+
"name": "icon-start"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"description": "The end icon slot",
|
|
1151
|
+
"name": "icon-end"
|
|
1025
1152
|
}
|
|
1026
1153
|
],
|
|
1027
1154
|
"slots": [
|
|
1028
1155
|
{
|
|
1029
|
-
"description": "
|
|
1156
|
+
"description": "Button text content",
|
|
1030
1157
|
"name": ""
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"description": "Icon for icon-only buttons",
|
|
1161
|
+
"name": "icon-only"
|
|
1031
1162
|
}
|
|
1032
1163
|
],
|
|
1033
1164
|
"members": [
|
|
@@ -1040,674 +1171,531 @@
|
|
|
1040
1171
|
},
|
|
1041
1172
|
{
|
|
1042
1173
|
"kind": "field",
|
|
1043
|
-
"name": "
|
|
1174
|
+
"name": "mode",
|
|
1044
1175
|
"type": {
|
|
1045
|
-
"text": "
|
|
1176
|
+
"text": "'default' | 'admin'"
|
|
1046
1177
|
},
|
|
1047
|
-
"
|
|
1048
|
-
"description": "Flex grow factor - how much the item should grow relative to siblings"
|
|
1178
|
+
"description": "Mode of the popover should be 'default' for internal use"
|
|
1049
1179
|
},
|
|
1050
1180
|
{
|
|
1051
1181
|
"kind": "field",
|
|
1052
|
-
"name": "
|
|
1182
|
+
"name": "variant",
|
|
1053
1183
|
"type": {
|
|
1054
|
-
"text": "
|
|
1184
|
+
"text": "'solid' | 'outlined' | 'clear' | 'system'"
|
|
1055
1185
|
},
|
|
1056
|
-
"default": "
|
|
1057
|
-
"description": "
|
|
1186
|
+
"default": "'solid'",
|
|
1187
|
+
"description": "Button variant style"
|
|
1058
1188
|
},
|
|
1059
1189
|
{
|
|
1060
1190
|
"kind": "field",
|
|
1061
|
-
"name": "
|
|
1191
|
+
"name": "color",
|
|
1062
1192
|
"type": {
|
|
1063
|
-
"text": "
|
|
1193
|
+
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'"
|
|
1064
1194
|
},
|
|
1065
|
-
"default": "'
|
|
1066
|
-
"description": "
|
|
1195
|
+
"default": "'primary'",
|
|
1196
|
+
"description": "Button color theme (uses theme semantic colors)"
|
|
1067
1197
|
},
|
|
1068
1198
|
{
|
|
1069
1199
|
"kind": "field",
|
|
1070
|
-
"name": "
|
|
1200
|
+
"name": "size",
|
|
1071
1201
|
"type": {
|
|
1072
|
-
"text": "
|
|
1202
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1073
1203
|
},
|
|
1074
|
-
"
|
|
1204
|
+
"default": "'medium'",
|
|
1205
|
+
"description": "Button size"
|
|
1075
1206
|
},
|
|
1076
1207
|
{
|
|
1077
1208
|
"kind": "field",
|
|
1078
|
-
"name": "
|
|
1209
|
+
"name": "selected",
|
|
1079
1210
|
"type": {
|
|
1080
|
-
"text": "
|
|
1211
|
+
"text": "boolean"
|
|
1081
1212
|
},
|
|
1082
|
-
"
|
|
1213
|
+
"default": "false",
|
|
1214
|
+
"description": "Whether the button is in a selected/active state"
|
|
1083
1215
|
},
|
|
1084
1216
|
{
|
|
1085
1217
|
"kind": "field",
|
|
1086
|
-
"name": "
|
|
1218
|
+
"name": "fullWidth",
|
|
1087
1219
|
"type": {
|
|
1088
|
-
"text": "
|
|
1220
|
+
"text": "boolean"
|
|
1089
1221
|
},
|
|
1090
|
-
"
|
|
1222
|
+
"default": "false",
|
|
1223
|
+
"description": "Whether the button takes full width of its container"
|
|
1091
1224
|
},
|
|
1092
1225
|
{
|
|
1093
1226
|
"kind": "field",
|
|
1094
|
-
"name": "
|
|
1227
|
+
"name": "iconOnly",
|
|
1095
1228
|
"type": {
|
|
1096
|
-
"text": "string | undefined"
|
|
1229
|
+
"text": "string | Node | undefined"
|
|
1097
1230
|
},
|
|
1098
|
-
"description": "
|
|
1231
|
+
"description": "Icon only button image or emoji\nif this prop is set, the button will render only the icon slot"
|
|
1099
1232
|
},
|
|
1100
1233
|
{
|
|
1101
1234
|
"kind": "field",
|
|
1102
|
-
"name": "
|
|
1235
|
+
"name": "iconStart",
|
|
1103
1236
|
"type": {
|
|
1104
|
-
"text": "string | undefined"
|
|
1237
|
+
"text": "string | Node | undefined"
|
|
1105
1238
|
},
|
|
1106
|
-
"description": "
|
|
1239
|
+
"description": "Start icon image or emoji"
|
|
1107
1240
|
},
|
|
1108
1241
|
{
|
|
1109
1242
|
"kind": "field",
|
|
1110
|
-
"name": "
|
|
1243
|
+
"name": "iconEnd",
|
|
1111
1244
|
"type": {
|
|
1112
|
-
"text": "string | undefined"
|
|
1245
|
+
"text": "string | Node | undefined"
|
|
1113
1246
|
},
|
|
1114
|
-
"description": "
|
|
1247
|
+
"description": "End icon image or emoji"
|
|
1115
1248
|
},
|
|
1116
1249
|
{
|
|
1117
1250
|
"kind": "field",
|
|
1118
|
-
"name": "
|
|
1251
|
+
"name": "disabled",
|
|
1119
1252
|
"type": {
|
|
1120
|
-
"text": "
|
|
1253
|
+
"text": "boolean"
|
|
1121
1254
|
},
|
|
1122
|
-
"
|
|
1255
|
+
"default": "false",
|
|
1256
|
+
"description": "Whether the button is disabled"
|
|
1123
1257
|
},
|
|
1124
1258
|
{
|
|
1125
1259
|
"kind": "field",
|
|
1126
|
-
"name": "
|
|
1260
|
+
"name": "type",
|
|
1127
1261
|
"type": {
|
|
1128
|
-
"text": "
|
|
1262
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
1129
1263
|
},
|
|
1130
|
-
"
|
|
1264
|
+
"default": "'button'",
|
|
1265
|
+
"description": "The button type attribute"
|
|
1131
1266
|
},
|
|
1132
1267
|
{
|
|
1133
1268
|
"kind": "field",
|
|
1134
|
-
"name": "
|
|
1269
|
+
"name": "href",
|
|
1135
1270
|
"type": {
|
|
1136
1271
|
"text": "string | undefined"
|
|
1137
1272
|
},
|
|
1138
|
-
"description": "
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
"kind": "field",
|
|
1142
|
-
"name": "alignSelf",
|
|
1143
|
-
"type": {
|
|
1144
|
-
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
1145
|
-
},
|
|
1146
|
-
"default": "'auto'",
|
|
1147
|
-
"description": "Self-alignment override for this item on the cross axis"
|
|
1273
|
+
"description": "Optional href to make the button act as a link"
|
|
1148
1274
|
},
|
|
1149
1275
|
{
|
|
1150
1276
|
"kind": "field",
|
|
1151
|
-
"name": "
|
|
1277
|
+
"name": "target",
|
|
1152
1278
|
"type": {
|
|
1153
|
-
"text": "
|
|
1279
|
+
"text": "string | undefined"
|
|
1154
1280
|
},
|
|
1155
|
-
"
|
|
1156
|
-
"description": "Internal horizontal alignment of content"
|
|
1281
|
+
"description": "Link target when href is set"
|
|
1157
1282
|
},
|
|
1158
1283
|
{
|
|
1159
1284
|
"kind": "field",
|
|
1160
|
-
"name": "
|
|
1285
|
+
"name": "align",
|
|
1161
1286
|
"type": {
|
|
1162
|
-
"text": "'start' | 'center' | '
|
|
1287
|
+
"text": "'start' | 'center' | 'space-between' | 'end'"
|
|
1163
1288
|
},
|
|
1164
|
-
"default": "'
|
|
1165
|
-
"description": "
|
|
1289
|
+
"default": "'center'",
|
|
1290
|
+
"description": "Alignment of the button label without the end icon"
|
|
1166
1291
|
},
|
|
1167
1292
|
{
|
|
1168
1293
|
"kind": "field",
|
|
1169
|
-
"name": "
|
|
1170
|
-
"
|
|
1171
|
-
"text": "string | undefined"
|
|
1172
|
-
},
|
|
1173
|
-
"description": "Padding inside the box (CSS value like '8px', '1rem')"
|
|
1294
|
+
"name": "handleClick",
|
|
1295
|
+
"privacy": "private"
|
|
1174
1296
|
},
|
|
1175
1297
|
{
|
|
1176
|
-
"kind": "
|
|
1177
|
-
"name": "
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
"description": "Order in the flex container (lower values come first)"
|
|
1182
|
-
},
|
|
1298
|
+
"kind": "method",
|
|
1299
|
+
"name": "render"
|
|
1300
|
+
}
|
|
1301
|
+
],
|
|
1302
|
+
"attributes": [
|
|
1183
1303
|
{
|
|
1184
|
-
"
|
|
1185
|
-
"
|
|
1304
|
+
"name": "mode",
|
|
1305
|
+
"fieldName": "mode",
|
|
1306
|
+
"description": "Mode of the popover should be 'default' for internal use",
|
|
1186
1307
|
"type": {
|
|
1187
|
-
"text": "
|
|
1188
|
-
}
|
|
1189
|
-
"default": "false",
|
|
1190
|
-
"description": "Whether to display box content as flex (for internal alignment)"
|
|
1308
|
+
"text": "'default' | 'admin'"
|
|
1309
|
+
}
|
|
1191
1310
|
},
|
|
1192
1311
|
{
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1312
|
+
"name": "variant",
|
|
1313
|
+
"fieldName": "variant",
|
|
1314
|
+
"default": "'solid'",
|
|
1315
|
+
"description": "Button variant style",
|
|
1195
1316
|
"type": {
|
|
1196
|
-
"text": "'
|
|
1197
|
-
}
|
|
1198
|
-
"default": "'vertical'",
|
|
1199
|
-
"description": "Direction of internal flex layout when displayFlex is true"
|
|
1317
|
+
"text": "'solid' | 'outlined' | 'clear' | 'system'"
|
|
1318
|
+
}
|
|
1200
1319
|
},
|
|
1201
1320
|
{
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1321
|
+
"name": "color",
|
|
1322
|
+
"fieldName": "color",
|
|
1323
|
+
"default": "'primary'",
|
|
1324
|
+
"description": "Button color theme (uses theme semantic colors)",
|
|
1204
1325
|
"type": {
|
|
1205
|
-
"text": "
|
|
1206
|
-
},
|
|
1207
|
-
"description": "Gap between internal flex items when displayFlex is true"
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "method",
|
|
1211
|
-
"name": "getAlignSelf",
|
|
1212
|
-
"privacy": "private",
|
|
1213
|
-
"return": {
|
|
1214
|
-
"type": {
|
|
1215
|
-
"text": "string"
|
|
1216
|
-
}
|
|
1326
|
+
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'"
|
|
1217
1327
|
}
|
|
1218
1328
|
},
|
|
1219
1329
|
{
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
}
|
|
1330
|
+
"name": "size",
|
|
1331
|
+
"fieldName": "size",
|
|
1332
|
+
"default": "'medium'",
|
|
1333
|
+
"description": "Button size",
|
|
1334
|
+
"type": {
|
|
1335
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1227
1336
|
}
|
|
1228
1337
|
},
|
|
1229
1338
|
{
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
}
|
|
1339
|
+
"name": "selected",
|
|
1340
|
+
"fieldName": "selected",
|
|
1341
|
+
"default": "false",
|
|
1342
|
+
"description": "Whether the button is in a selected/active state",
|
|
1343
|
+
"type": {
|
|
1344
|
+
"text": "boolean"
|
|
1237
1345
|
}
|
|
1238
1346
|
},
|
|
1239
1347
|
{
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
"attributes": [
|
|
1245
|
-
{
|
|
1246
|
-
"name": "grow",
|
|
1247
|
-
"fieldName": "grow",
|
|
1248
|
-
"default": "0",
|
|
1249
|
-
"description": "Flex grow factor - how much the item should grow relative to siblings",
|
|
1348
|
+
"name": "full-width",
|
|
1349
|
+
"fieldName": "fullWidth",
|
|
1350
|
+
"default": "false",
|
|
1351
|
+
"description": "Whether the button takes full width of its container",
|
|
1250
1352
|
"type": {
|
|
1251
|
-
"text": "
|
|
1353
|
+
"text": "boolean"
|
|
1252
1354
|
}
|
|
1253
1355
|
},
|
|
1254
1356
|
{
|
|
1255
|
-
"name": "
|
|
1256
|
-
"fieldName": "
|
|
1257
|
-
"
|
|
1258
|
-
"description": "Flex shrink factor - how much the item should shrink relative to siblings",
|
|
1357
|
+
"name": "icon-only",
|
|
1358
|
+
"fieldName": "iconOnly",
|
|
1359
|
+
"description": "Icon only button image or emoji\nif this prop is set, the button will render only the icon slot",
|
|
1259
1360
|
"type": {
|
|
1260
|
-
"text": "
|
|
1361
|
+
"text": "string | Node"
|
|
1261
1362
|
}
|
|
1262
1363
|
},
|
|
1263
1364
|
{
|
|
1264
|
-
"name": "
|
|
1265
|
-
"fieldName": "
|
|
1266
|
-
"
|
|
1267
|
-
"description": "Flex basis - initial size before growing/shrinking (e.g., '200px', '25%', 'auto')",
|
|
1365
|
+
"name": "icon-start",
|
|
1366
|
+
"fieldName": "iconStart",
|
|
1367
|
+
"description": "Start icon image or emoji",
|
|
1268
1368
|
"type": {
|
|
1269
|
-
"text": "string"
|
|
1369
|
+
"text": "string | Node"
|
|
1270
1370
|
}
|
|
1271
1371
|
},
|
|
1272
1372
|
{
|
|
1273
|
-
"name": "
|
|
1274
|
-
"fieldName": "
|
|
1275
|
-
"description": "
|
|
1373
|
+
"name": "icon-end",
|
|
1374
|
+
"fieldName": "iconEnd",
|
|
1375
|
+
"description": "End icon image or emoji",
|
|
1276
1376
|
"type": {
|
|
1277
|
-
"text": "string"
|
|
1377
|
+
"text": "string | Node"
|
|
1278
1378
|
}
|
|
1279
1379
|
},
|
|
1280
1380
|
{
|
|
1281
|
-
"name": "
|
|
1282
|
-
"fieldName": "
|
|
1283
|
-
"
|
|
1381
|
+
"name": "disabled",
|
|
1382
|
+
"fieldName": "disabled",
|
|
1383
|
+
"default": "false",
|
|
1384
|
+
"description": "Whether the button is disabled",
|
|
1284
1385
|
"type": {
|
|
1285
|
-
"text": "
|
|
1386
|
+
"text": "boolean"
|
|
1286
1387
|
}
|
|
1287
1388
|
},
|
|
1288
1389
|
{
|
|
1289
|
-
"name": "
|
|
1290
|
-
"fieldName": "
|
|
1291
|
-
"
|
|
1390
|
+
"name": "type",
|
|
1391
|
+
"fieldName": "type",
|
|
1392
|
+
"default": "'button'",
|
|
1393
|
+
"description": "The button type attribute",
|
|
1292
1394
|
"type": {
|
|
1293
|
-
"text": "
|
|
1395
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
1294
1396
|
}
|
|
1295
1397
|
},
|
|
1296
1398
|
{
|
|
1297
|
-
"name": "
|
|
1298
|
-
"fieldName": "
|
|
1299
|
-
"description": "
|
|
1399
|
+
"name": "href",
|
|
1400
|
+
"fieldName": "href",
|
|
1401
|
+
"description": "Optional href to make the button act as a link",
|
|
1300
1402
|
"type": {
|
|
1301
1403
|
"text": "string"
|
|
1302
1404
|
}
|
|
1303
1405
|
},
|
|
1304
1406
|
{
|
|
1305
|
-
"name": "
|
|
1306
|
-
"fieldName": "
|
|
1307
|
-
"description": "
|
|
1407
|
+
"name": "target",
|
|
1408
|
+
"fieldName": "target",
|
|
1409
|
+
"description": "Link target when href is set",
|
|
1308
1410
|
"type": {
|
|
1309
1411
|
"text": "string"
|
|
1310
1412
|
}
|
|
1311
1413
|
},
|
|
1312
1414
|
{
|
|
1313
|
-
"name": "
|
|
1314
|
-
"fieldName": "
|
|
1315
|
-
"
|
|
1316
|
-
"
|
|
1317
|
-
"text": "string"
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "background",
|
|
1322
|
-
"fieldName": "background",
|
|
1323
|
-
"description": "Background color or CSS value (e.g., '#f0f0f0', 'var(--le-color-primary-light)')",
|
|
1324
|
-
"type": {
|
|
1325
|
-
"text": "string"
|
|
1326
|
-
}
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"name": "border-radius",
|
|
1330
|
-
"fieldName": "borderRadius",
|
|
1331
|
-
"description": "Border radius (e.g., '8px', 'var(--le-radius-md)')",
|
|
1332
|
-
"type": {
|
|
1333
|
-
"text": "string"
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"name": "border",
|
|
1338
|
-
"fieldName": "border",
|
|
1339
|
-
"description": "Border style (e.g., '1px solid #ccc', '2px dashed var(--le-color-border)')",
|
|
1340
|
-
"type": {
|
|
1341
|
-
"text": "string"
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"name": "align-self",
|
|
1346
|
-
"fieldName": "alignSelf",
|
|
1347
|
-
"default": "'auto'",
|
|
1348
|
-
"description": "Self-alignment override for this item on the cross axis",
|
|
1349
|
-
"type": {
|
|
1350
|
-
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"name": "align-content",
|
|
1355
|
-
"fieldName": "alignContent",
|
|
1356
|
-
"default": "'stretch'",
|
|
1357
|
-
"description": "Internal horizontal alignment of content",
|
|
1358
|
-
"type": {
|
|
1359
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"name": "justify-content",
|
|
1364
|
-
"fieldName": "justifyContent",
|
|
1365
|
-
"default": "'start'",
|
|
1366
|
-
"description": "Internal vertical alignment of content",
|
|
1367
|
-
"type": {
|
|
1368
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "padding",
|
|
1373
|
-
"fieldName": "padding",
|
|
1374
|
-
"description": "Padding inside the box (CSS value like '8px', '1rem')",
|
|
1375
|
-
"type": {
|
|
1376
|
-
"text": "string"
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"name": "order",
|
|
1381
|
-
"fieldName": "order",
|
|
1382
|
-
"description": "Order in the flex container (lower values come first)",
|
|
1383
|
-
"type": {
|
|
1384
|
-
"text": "number"
|
|
1385
|
-
}
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"name": "display-flex",
|
|
1389
|
-
"fieldName": "displayFlex",
|
|
1390
|
-
"default": "false",
|
|
1391
|
-
"description": "Whether to display box content as flex (for internal alignment)",
|
|
1392
|
-
"type": {
|
|
1393
|
-
"text": "boolean"
|
|
1394
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
"name": "inner-direction",
|
|
1398
|
-
"fieldName": "innerDirection",
|
|
1399
|
-
"default": "'vertical'",
|
|
1400
|
-
"description": "Direction of internal flex layout when displayFlex is true",
|
|
1415
|
+
"name": "align",
|
|
1416
|
+
"fieldName": "align",
|
|
1417
|
+
"default": "'center'",
|
|
1418
|
+
"description": "Alignment of the button label without the end icon",
|
|
1401
1419
|
"type": {
|
|
1402
|
-
"text": "'
|
|
1420
|
+
"text": "'start' | 'center' | 'space-between' | 'end'"
|
|
1403
1421
|
}
|
|
1404
|
-
}
|
|
1422
|
+
}
|
|
1423
|
+
],
|
|
1424
|
+
"tagName": "le-button",
|
|
1425
|
+
"events": [
|
|
1405
1426
|
{
|
|
1406
|
-
"name": "
|
|
1407
|
-
"fieldName": "innerGap",
|
|
1408
|
-
"description": "Gap between internal flex items when displayFlex is true",
|
|
1427
|
+
"name": "click",
|
|
1409
1428
|
"type": {
|
|
1410
|
-
"text": "
|
|
1411
|
-
}
|
|
1429
|
+
"text": "EventEmitter<MouseEvent>"
|
|
1430
|
+
},
|
|
1431
|
+
"description": "Emitted when the button is clicked.\nThis is a custom event that wraps the native click but ensures the target is the le-button."
|
|
1412
1432
|
}
|
|
1413
1433
|
],
|
|
1414
|
-
"tagName": "le-box",
|
|
1415
|
-
"events": [],
|
|
1416
1434
|
"customElement": true
|
|
1417
1435
|
}
|
|
1418
1436
|
],
|
|
1419
1437
|
"exports": [
|
|
1420
1438
|
{
|
|
1421
1439
|
"kind": "js",
|
|
1422
|
-
"name": "
|
|
1440
|
+
"name": "LeButton",
|
|
1423
1441
|
"declaration": {
|
|
1424
|
-
"name": "
|
|
1425
|
-
"module": "src/components/le-
|
|
1442
|
+
"name": "LeButton",
|
|
1443
|
+
"module": "src/components/le-button/le-button.tsx"
|
|
1426
1444
|
}
|
|
1427
1445
|
},
|
|
1428
1446
|
{
|
|
1429
1447
|
"kind": "custom-element-definition",
|
|
1430
|
-
"name": "le-
|
|
1448
|
+
"name": "le-button",
|
|
1431
1449
|
"declaration": {
|
|
1432
|
-
"name": "
|
|
1433
|
-
"module": "src/components/le-
|
|
1450
|
+
"name": "LeButton",
|
|
1451
|
+
"module": "src/components/le-button/le-button.tsx"
|
|
1434
1452
|
}
|
|
1435
1453
|
}
|
|
1436
1454
|
]
|
|
1437
1455
|
},
|
|
1438
1456
|
{
|
|
1439
1457
|
"kind": "javascript-module",
|
|
1440
|
-
"path": "src/components/le-
|
|
1458
|
+
"path": "src/components/le-combobox/le-combobox.tsx",
|
|
1441
1459
|
"declarations": [
|
|
1442
1460
|
{
|
|
1443
1461
|
"kind": "class",
|
|
1444
|
-
"description": "
|
|
1445
|
-
"name": "
|
|
1446
|
-
"
|
|
1462
|
+
"description": "A combobox component with searchable dropdown.\n\nCombines a text input with a dropdown list, allowing users to\nfilter options by typing or select from the list.",
|
|
1463
|
+
"name": "LeCombobox",
|
|
1464
|
+
"members": [
|
|
1447
1465
|
{
|
|
1448
|
-
"
|
|
1449
|
-
"name": "
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1466
|
+
"kind": "field",
|
|
1467
|
+
"name": "el",
|
|
1468
|
+
"type": {
|
|
1469
|
+
"text": "HTMLElement"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1453
1472
|
{
|
|
1454
|
-
"
|
|
1455
|
-
"name": "
|
|
1473
|
+
"kind": "field",
|
|
1474
|
+
"name": "options",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "LeOption[] | string"
|
|
1477
|
+
},
|
|
1478
|
+
"default": "[]",
|
|
1479
|
+
"description": "The options to display in the dropdown."
|
|
1456
1480
|
},
|
|
1457
1481
|
{
|
|
1458
|
-
"
|
|
1459
|
-
"name": "
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1482
|
+
"kind": "field",
|
|
1483
|
+
"name": "value",
|
|
1484
|
+
"type": {
|
|
1485
|
+
"text": "LeOptionValue | undefined"
|
|
1486
|
+
},
|
|
1487
|
+
"description": "The currently selected value."
|
|
1488
|
+
},
|
|
1463
1489
|
{
|
|
1464
|
-
"
|
|
1465
|
-
"name": ""
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1490
|
+
"kind": "field",
|
|
1491
|
+
"name": "placeholder",
|
|
1492
|
+
"type": {
|
|
1493
|
+
"text": "string"
|
|
1494
|
+
},
|
|
1495
|
+
"default": "'Type to search...'",
|
|
1496
|
+
"description": "Placeholder text for the input."
|
|
1497
|
+
},
|
|
1469
1498
|
{
|
|
1470
1499
|
"kind": "field",
|
|
1471
|
-
"name": "
|
|
1500
|
+
"name": "disabled",
|
|
1472
1501
|
"type": {
|
|
1473
|
-
"text": "
|
|
1474
|
-
}
|
|
1502
|
+
"text": "boolean"
|
|
1503
|
+
},
|
|
1504
|
+
"default": "false",
|
|
1505
|
+
"description": "Whether the combobox is disabled."
|
|
1475
1506
|
},
|
|
1476
1507
|
{
|
|
1477
1508
|
"kind": "field",
|
|
1478
|
-
"name": "
|
|
1509
|
+
"name": "required",
|
|
1479
1510
|
"type": {
|
|
1480
1511
|
"text": "boolean"
|
|
1481
1512
|
},
|
|
1482
1513
|
"default": "false",
|
|
1483
|
-
"description": "
|
|
1514
|
+
"description": "Whether selection is required."
|
|
1484
1515
|
},
|
|
1485
1516
|
{
|
|
1486
1517
|
"kind": "field",
|
|
1487
|
-
"name": "
|
|
1518
|
+
"name": "name",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "string | undefined"
|
|
1521
|
+
},
|
|
1522
|
+
"description": "Name attribute for form submission."
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"kind": "field",
|
|
1526
|
+
"name": "fullWidth",
|
|
1488
1527
|
"type": {
|
|
1489
1528
|
"text": "boolean"
|
|
1490
1529
|
},
|
|
1491
1530
|
"default": "false",
|
|
1492
|
-
"description": "Whether the
|
|
1531
|
+
"description": "Whether the multiselect should take full width of its container."
|
|
1493
1532
|
},
|
|
1494
1533
|
{
|
|
1495
1534
|
"kind": "field",
|
|
1496
|
-
"name": "
|
|
1535
|
+
"name": "size",
|
|
1536
|
+
"type": {
|
|
1537
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1538
|
+
},
|
|
1539
|
+
"default": "'medium'",
|
|
1540
|
+
"description": "Size variant of the combobox."
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"kind": "field",
|
|
1544
|
+
"name": "allowCustom",
|
|
1497
1545
|
"type": {
|
|
1498
1546
|
"text": "boolean"
|
|
1499
1547
|
},
|
|
1500
1548
|
"default": "false",
|
|
1501
|
-
"description": "
|
|
1549
|
+
"description": "Whether to allow custom values not in the options list."
|
|
1502
1550
|
},
|
|
1503
1551
|
{
|
|
1504
1552
|
"kind": "field",
|
|
1505
|
-
"name": "
|
|
1553
|
+
"name": "minSearchLength",
|
|
1554
|
+
"type": {
|
|
1555
|
+
"text": "number"
|
|
1556
|
+
},
|
|
1557
|
+
"default": "0",
|
|
1558
|
+
"description": "Minimum characters before showing filtered results."
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"kind": "field",
|
|
1562
|
+
"name": "emptyText",
|
|
1563
|
+
"type": {
|
|
1564
|
+
"text": "string"
|
|
1565
|
+
},
|
|
1566
|
+
"default": "'No results found'",
|
|
1567
|
+
"description": "Text to show when no options match the search."
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"kind": "field",
|
|
1571
|
+
"name": "open",
|
|
1506
1572
|
"type": {
|
|
1507
1573
|
"text": "boolean"
|
|
1508
1574
|
},
|
|
1509
1575
|
"default": "false",
|
|
1510
|
-
"description": "
|
|
1576
|
+
"description": "Whether the dropdown is currently open."
|
|
1511
1577
|
},
|
|
1512
1578
|
{
|
|
1513
1579
|
"kind": "method",
|
|
1514
|
-
"name": "
|
|
1580
|
+
"name": "handleWindowClick",
|
|
1515
1581
|
"parameters": [
|
|
1516
1582
|
{
|
|
1517
|
-
"name": "
|
|
1583
|
+
"name": "event",
|
|
1518
1584
|
"type": {
|
|
1519
|
-
"text": "
|
|
1585
|
+
"text": "MouseEvent"
|
|
1520
1586
|
}
|
|
1521
1587
|
}
|
|
1522
|
-
]
|
|
1523
|
-
"description": "Handles `leHeaderShrinkChange` events from the `le-header`.\nIn case multiple headers are present, only the nearest one in the DOM tree is used."
|
|
1588
|
+
]
|
|
1524
1589
|
},
|
|
1525
1590
|
{
|
|
1526
1591
|
"kind": "field",
|
|
1527
|
-
"name": "
|
|
1592
|
+
"name": "inputValue",
|
|
1528
1593
|
"type": {
|
|
1529
|
-
"text": "
|
|
1594
|
+
"text": "string"
|
|
1530
1595
|
},
|
|
1531
1596
|
"privacy": "private",
|
|
1532
|
-
"default": "
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "method",
|
|
1536
|
-
"name": "onOpenChange",
|
|
1537
|
-
"privacy": "protected"
|
|
1597
|
+
"default": "''"
|
|
1538
1598
|
},
|
|
1539
1599
|
{
|
|
1540
|
-
"kind": "
|
|
1541
|
-
"name": "
|
|
1542
|
-
"
|
|
1600
|
+
"kind": "field",
|
|
1601
|
+
"name": "selectedOption",
|
|
1602
|
+
"type": {
|
|
1603
|
+
"text": "LeOption | undefined"
|
|
1604
|
+
},
|
|
1605
|
+
"privacy": "private"
|
|
1543
1606
|
},
|
|
1544
1607
|
{
|
|
1545
|
-
"kind": "
|
|
1546
|
-
"name": "
|
|
1608
|
+
"kind": "field",
|
|
1609
|
+
"name": "dropdownEl",
|
|
1610
|
+
"type": {
|
|
1611
|
+
"text": "HTMLLeDropdownBaseElement | undefined"
|
|
1612
|
+
},
|
|
1547
1613
|
"privacy": "private"
|
|
1548
1614
|
},
|
|
1549
1615
|
{
|
|
1550
|
-
"kind": "
|
|
1551
|
-
"name": "
|
|
1616
|
+
"kind": "field",
|
|
1617
|
+
"name": "inputEl",
|
|
1618
|
+
"type": {
|
|
1619
|
+
"text": "HTMLInputElement | undefined"
|
|
1620
|
+
},
|
|
1552
1621
|
"privacy": "private"
|
|
1553
1622
|
},
|
|
1554
1623
|
{
|
|
1555
1624
|
"kind": "method",
|
|
1556
|
-
"name": "
|
|
1557
|
-
}
|
|
1558
|
-
],
|
|
1559
|
-
"attributes": [
|
|
1560
|
-
{
|
|
1561
|
-
"name": "closed",
|
|
1562
|
-
"fieldName": "closed",
|
|
1563
|
-
"default": "false",
|
|
1564
|
-
"description": "Since Stencil boolean props default to `false` when the attribute is missing.\ninstead of `open` defaulting to `true`, using a `closed` prop.",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "boolean"
|
|
1567
|
-
}
|
|
1625
|
+
"name": "handleValueChange"
|
|
1568
1626
|
},
|
|
1569
1627
|
{
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1572
|
-
"default": "false",
|
|
1573
|
-
"description": "Whether the content should scroll down from the top when open.",
|
|
1574
|
-
"type": {
|
|
1575
|
-
"text": "boolean"
|
|
1576
|
-
}
|
|
1628
|
+
"kind": "method",
|
|
1629
|
+
"name": "handleOptionsChange"
|
|
1577
1630
|
},
|
|
1578
1631
|
{
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
"default": "false",
|
|
1582
|
-
"description": "Stop fading the content when collapsing/expanding.",
|
|
1632
|
+
"kind": "field",
|
|
1633
|
+
"name": "parsedOptions",
|
|
1583
1634
|
"type": {
|
|
1584
|
-
"text": "
|
|
1585
|
-
}
|
|
1635
|
+
"text": "LeOption[]"
|
|
1636
|
+
},
|
|
1637
|
+
"privacy": "private",
|
|
1638
|
+
"readonly": true
|
|
1586
1639
|
},
|
|
1587
1640
|
{
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"description": "If true, collapse/expand based on the nearest header shrink event.",
|
|
1592
|
-
"type": {
|
|
1593
|
-
"text": "boolean"
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
],
|
|
1597
|
-
"tagName": "le-collapse",
|
|
1598
|
-
"events": [],
|
|
1599
|
-
"customElement": true
|
|
1600
|
-
}
|
|
1601
|
-
],
|
|
1602
|
-
"exports": [
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "js",
|
|
1605
|
-
"name": "LeCollapse",
|
|
1606
|
-
"declaration": {
|
|
1607
|
-
"name": "LeCollapse",
|
|
1608
|
-
"module": "src/components/le-collapse/le-collapse.tsx"
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"kind": "custom-element-definition",
|
|
1613
|
-
"name": "le-collapse",
|
|
1614
|
-
"declaration": {
|
|
1615
|
-
"name": "LeCollapse",
|
|
1616
|
-
"module": "src/components/le-collapse/le-collapse.tsx"
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
]
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "javascript-module",
|
|
1623
|
-
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
1624
|
-
"declarations": [
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "class",
|
|
1627
|
-
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
1628
|
-
"name": "LeCheckbox",
|
|
1629
|
-
"cssProperties": [
|
|
1630
|
-
{
|
|
1631
|
-
"description": "Size of the checkbox input",
|
|
1632
|
-
"name": "--le-checkbox-size"
|
|
1641
|
+
"kind": "method",
|
|
1642
|
+
"name": "updateSelectedOption",
|
|
1643
|
+
"privacy": "private"
|
|
1633
1644
|
},
|
|
1634
1645
|
{
|
|
1635
|
-
"
|
|
1636
|
-
"name": "
|
|
1646
|
+
"kind": "field",
|
|
1647
|
+
"name": "filterOption",
|
|
1648
|
+
"privacy": "private"
|
|
1637
1649
|
},
|
|
1638
1650
|
{
|
|
1639
|
-
"
|
|
1640
|
-
"name": "
|
|
1651
|
+
"kind": "field",
|
|
1652
|
+
"name": "handleOptionSelect",
|
|
1653
|
+
"privacy": "private"
|
|
1641
1654
|
},
|
|
1642
1655
|
{
|
|
1643
|
-
"
|
|
1644
|
-
"name": "
|
|
1645
|
-
|
|
1646
|
-
],
|
|
1647
|
-
"slots": [
|
|
1648
|
-
{
|
|
1649
|
-
"description": "The label text for the checkbox",
|
|
1650
|
-
"name": ""
|
|
1656
|
+
"kind": "field",
|
|
1657
|
+
"name": "handleDropdownOpen",
|
|
1658
|
+
"privacy": "private"
|
|
1651
1659
|
},
|
|
1652
|
-
{
|
|
1653
|
-
"description": "Additional description text displayed below the label",
|
|
1654
|
-
"name": "description"
|
|
1655
|
-
}
|
|
1656
|
-
],
|
|
1657
|
-
"members": [
|
|
1658
1660
|
{
|
|
1659
1661
|
"kind": "field",
|
|
1660
|
-
"name": "
|
|
1661
|
-
"
|
|
1662
|
-
"text": "HTMLElement"
|
|
1663
|
-
}
|
|
1662
|
+
"name": "handleDropdownClose",
|
|
1663
|
+
"privacy": "private"
|
|
1664
1664
|
},
|
|
1665
1665
|
{
|
|
1666
1666
|
"kind": "field",
|
|
1667
|
-
"name": "
|
|
1668
|
-
"
|
|
1669
|
-
"text": "boolean"
|
|
1670
|
-
},
|
|
1671
|
-
"default": "false",
|
|
1672
|
-
"description": "Whether the checkbox is checked"
|
|
1667
|
+
"name": "handleInputChange",
|
|
1668
|
+
"privacy": "private"
|
|
1673
1669
|
},
|
|
1674
1670
|
{
|
|
1675
1671
|
"kind": "field",
|
|
1676
|
-
"name": "
|
|
1677
|
-
"
|
|
1678
|
-
"text": "boolean"
|
|
1679
|
-
},
|
|
1680
|
-
"default": "false",
|
|
1681
|
-
"description": "Whether the checkbox is disabled"
|
|
1672
|
+
"name": "handleInputFocus",
|
|
1673
|
+
"privacy": "private"
|
|
1682
1674
|
},
|
|
1683
1675
|
{
|
|
1684
1676
|
"kind": "field",
|
|
1685
|
-
"name": "
|
|
1686
|
-
"
|
|
1687
|
-
"text": "string"
|
|
1688
|
-
},
|
|
1689
|
-
"description": "The name of the checkbox input"
|
|
1677
|
+
"name": "handleInputKeyDown",
|
|
1678
|
+
"privacy": "private"
|
|
1690
1679
|
},
|
|
1691
1680
|
{
|
|
1692
1681
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1694
|
-
"
|
|
1695
|
-
"text": "string"
|
|
1696
|
-
},
|
|
1697
|
-
"description": "The value of the checkbox input"
|
|
1682
|
+
"name": "handleClear",
|
|
1683
|
+
"privacy": "private"
|
|
1698
1684
|
},
|
|
1699
1685
|
{
|
|
1700
|
-
"kind": "
|
|
1701
|
-
"name": "
|
|
1702
|
-
"
|
|
1703
|
-
"text": "string"
|
|
1704
|
-
},
|
|
1705
|
-
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)"
|
|
1686
|
+
"kind": "method",
|
|
1687
|
+
"name": "showDropdown",
|
|
1688
|
+
"description": "Opens the dropdown."
|
|
1706
1689
|
},
|
|
1707
1690
|
{
|
|
1708
|
-
"kind": "
|
|
1709
|
-
"name": "
|
|
1710
|
-
"
|
|
1691
|
+
"kind": "method",
|
|
1692
|
+
"name": "hideDropdown",
|
|
1693
|
+
"description": "Closes the dropdown."
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"kind": "method",
|
|
1697
|
+
"name": "focusInput",
|
|
1698
|
+
"description": "Focuses the input element."
|
|
1711
1699
|
},
|
|
1712
1700
|
{
|
|
1713
1701
|
"kind": "method",
|
|
@@ -1716,19 +1704,45 @@
|
|
|
1716
1704
|
],
|
|
1717
1705
|
"attributes": [
|
|
1718
1706
|
{
|
|
1719
|
-
"name": "
|
|
1720
|
-
"fieldName": "
|
|
1721
|
-
"default": "
|
|
1722
|
-
"description": "
|
|
1707
|
+
"name": "options",
|
|
1708
|
+
"fieldName": "options",
|
|
1709
|
+
"default": "[]",
|
|
1710
|
+
"description": "The options to display in the dropdown.",
|
|
1723
1711
|
"type": {
|
|
1724
|
-
"text": "
|
|
1712
|
+
"text": "LeOption[] | string"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"name": "value",
|
|
1717
|
+
"fieldName": "value",
|
|
1718
|
+
"description": "The currently selected value.",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "LeOptionValue"
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "placeholder",
|
|
1725
|
+
"fieldName": "placeholder",
|
|
1726
|
+
"default": "'Type to search...'",
|
|
1727
|
+
"description": "Placeholder text for the input.",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "string"
|
|
1725
1730
|
}
|
|
1726
1731
|
},
|
|
1727
1732
|
{
|
|
1728
1733
|
"name": "disabled",
|
|
1729
1734
|
"fieldName": "disabled",
|
|
1730
1735
|
"default": "false",
|
|
1731
|
-
"description": "Whether the
|
|
1736
|
+
"description": "Whether the combobox is disabled.",
|
|
1737
|
+
"type": {
|
|
1738
|
+
"text": "boolean"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"name": "required",
|
|
1743
|
+
"fieldName": "required",
|
|
1744
|
+
"default": "false",
|
|
1745
|
+
"description": "Whether selection is required.",
|
|
1732
1746
|
"type": {
|
|
1733
1747
|
"text": "boolean"
|
|
1734
1748
|
}
|
|
@@ -1736,36 +1750,95 @@
|
|
|
1736
1750
|
{
|
|
1737
1751
|
"name": "name",
|
|
1738
1752
|
"fieldName": "name",
|
|
1739
|
-
"description": "
|
|
1753
|
+
"description": "Name attribute for form submission.",
|
|
1740
1754
|
"type": {
|
|
1741
1755
|
"text": "string"
|
|
1742
1756
|
}
|
|
1743
1757
|
},
|
|
1744
1758
|
{
|
|
1745
|
-
"name": "
|
|
1746
|
-
"fieldName": "
|
|
1747
|
-
"
|
|
1759
|
+
"name": "full-width",
|
|
1760
|
+
"fieldName": "fullWidth",
|
|
1761
|
+
"default": "false",
|
|
1762
|
+
"description": "Whether the multiselect should take full width of its container.",
|
|
1763
|
+
"type": {
|
|
1764
|
+
"text": "boolean"
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "size",
|
|
1769
|
+
"fieldName": "size",
|
|
1770
|
+
"default": "'medium'",
|
|
1771
|
+
"description": "Size variant of the combobox.",
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"name": "allow-custom",
|
|
1778
|
+
"fieldName": "allowCustom",
|
|
1779
|
+
"default": "false",
|
|
1780
|
+
"description": "Whether to allow custom values not in the options list.",
|
|
1781
|
+
"type": {
|
|
1782
|
+
"text": "boolean"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"name": "min-search-length",
|
|
1787
|
+
"fieldName": "minSearchLength",
|
|
1788
|
+
"default": "0",
|
|
1789
|
+
"description": "Minimum characters before showing filtered results.",
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "number"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "empty-text",
|
|
1796
|
+
"fieldName": "emptyText",
|
|
1797
|
+
"default": "'No results found'",
|
|
1798
|
+
"description": "Text to show when no options match the search.",
|
|
1748
1799
|
"type": {
|
|
1749
1800
|
"text": "string"
|
|
1750
1801
|
}
|
|
1751
1802
|
},
|
|
1752
1803
|
{
|
|
1753
|
-
"name": "
|
|
1754
|
-
"fieldName": "
|
|
1755
|
-
"
|
|
1804
|
+
"name": "open",
|
|
1805
|
+
"fieldName": "open",
|
|
1806
|
+
"default": "false",
|
|
1807
|
+
"description": "Whether the dropdown is currently open.",
|
|
1756
1808
|
"type": {
|
|
1757
|
-
"text": "
|
|
1809
|
+
"text": "boolean"
|
|
1758
1810
|
}
|
|
1759
1811
|
}
|
|
1760
1812
|
],
|
|
1761
|
-
"tagName": "le-
|
|
1813
|
+
"tagName": "le-combobox",
|
|
1762
1814
|
"events": [
|
|
1763
1815
|
{
|
|
1764
|
-
"name": "
|
|
1816
|
+
"name": "leChange",
|
|
1765
1817
|
"type": {
|
|
1766
|
-
"text": "EventEmitter<
|
|
1818
|
+
"text": "EventEmitter<LeOptionSelectDetail>"
|
|
1767
1819
|
},
|
|
1768
|
-
"description": "Emitted when the
|
|
1820
|
+
"description": "Emitted when the selected value changes."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"name": "leInput",
|
|
1824
|
+
"type": {
|
|
1825
|
+
"text": "EventEmitter<{ value: string }>"
|
|
1826
|
+
},
|
|
1827
|
+
"description": "Emitted when the input value changes (for custom values)."
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"name": "leOpen",
|
|
1831
|
+
"type": {
|
|
1832
|
+
"text": "EventEmitter<void>"
|
|
1833
|
+
},
|
|
1834
|
+
"description": "Emitted when the dropdown opens."
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"name": "leClose",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "EventEmitter<void>"
|
|
1840
|
+
},
|
|
1841
|
+
"description": "Emitted when the dropdown closes."
|
|
1769
1842
|
}
|
|
1770
1843
|
],
|
|
1771
1844
|
"customElement": true
|
|
@@ -1774,18 +1847,18 @@
|
|
|
1774
1847
|
"exports": [
|
|
1775
1848
|
{
|
|
1776
1849
|
"kind": "js",
|
|
1777
|
-
"name": "
|
|
1850
|
+
"name": "LeCombobox",
|
|
1778
1851
|
"declaration": {
|
|
1779
|
-
"name": "
|
|
1780
|
-
"module": "src/components/le-
|
|
1852
|
+
"name": "LeCombobox",
|
|
1853
|
+
"module": "src/components/le-combobox/le-combobox.tsx"
|
|
1781
1854
|
}
|
|
1782
1855
|
},
|
|
1783
1856
|
{
|
|
1784
1857
|
"kind": "custom-element-definition",
|
|
1785
|
-
"name": "le-
|
|
1858
|
+
"name": "le-combobox",
|
|
1786
1859
|
"declaration": {
|
|
1787
|
-
"name": "
|
|
1788
|
-
"module": "src/components/le-
|
|
1860
|
+
"name": "LeCombobox",
|
|
1861
|
+
"module": "src/components/le-combobox/le-combobox.tsx"
|
|
1789
1862
|
}
|
|
1790
1863
|
}
|
|
1791
1864
|
]
|
|
@@ -2091,247 +2164,119 @@
|
|
|
2091
2164
|
},
|
|
2092
2165
|
{
|
|
2093
2166
|
"kind": "javascript-module",
|
|
2094
|
-
"path": "src/components/le-
|
|
2167
|
+
"path": "src/components/le-collapse/le-collapse.tsx",
|
|
2095
2168
|
"declarations": [
|
|
2096
2169
|
{
|
|
2097
2170
|
"kind": "class",
|
|
2098
|
-
"description": "
|
|
2099
|
-
"name": "
|
|
2100
|
-
"
|
|
2171
|
+
"description": "Animated show/hide wrapper.\n\nSupports height collapse (auto->0) and/or fading.\nCan optionally listen to the nearest `le-header` shrink events.",
|
|
2172
|
+
"name": "LeCollapse",
|
|
2173
|
+
"cssProperties": [
|
|
2101
2174
|
{
|
|
2102
|
-
"
|
|
2103
|
-
"name": "
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
},
|
|
2175
|
+
"description": "Transition duration",
|
|
2176
|
+
"name": "--le-collapse-duration"
|
|
2177
|
+
}
|
|
2178
|
+
],
|
|
2179
|
+
"cssParts": [
|
|
2108
2180
|
{
|
|
2109
|
-
"
|
|
2110
|
-
"name": "
|
|
2111
|
-
"type": {
|
|
2112
|
-
"text": "LeOption[] | string"
|
|
2113
|
-
},
|
|
2114
|
-
"default": "[]",
|
|
2115
|
-
"description": "The options to display in the dropdown."
|
|
2181
|
+
"description": "Collapsible region",
|
|
2182
|
+
"name": "region"
|
|
2116
2183
|
},
|
|
2117
2184
|
{
|
|
2118
|
-
"
|
|
2119
|
-
"name": "
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
"description": "The currently selected value."
|
|
2124
|
-
},
|
|
2185
|
+
"description": "Inner content",
|
|
2186
|
+
"name": "content"
|
|
2187
|
+
}
|
|
2188
|
+
],
|
|
2189
|
+
"slots": [
|
|
2125
2190
|
{
|
|
2126
|
-
"
|
|
2127
|
-
"name": "
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
"default": "'Type to search...'",
|
|
2132
|
-
"description": "Placeholder text for the input."
|
|
2133
|
-
},
|
|
2191
|
+
"description": "Content to animate",
|
|
2192
|
+
"name": ""
|
|
2193
|
+
}
|
|
2194
|
+
],
|
|
2195
|
+
"members": [
|
|
2134
2196
|
{
|
|
2135
2197
|
"kind": "field",
|
|
2136
|
-
"name": "
|
|
2198
|
+
"name": "el",
|
|
2137
2199
|
"type": {
|
|
2138
|
-
"text": "
|
|
2139
|
-
}
|
|
2140
|
-
"default": "false",
|
|
2141
|
-
"description": "Whether the combobox is disabled."
|
|
2200
|
+
"text": "HTMLElement"
|
|
2201
|
+
}
|
|
2142
2202
|
},
|
|
2143
2203
|
{
|
|
2144
2204
|
"kind": "field",
|
|
2145
|
-
"name": "
|
|
2205
|
+
"name": "closed",
|
|
2146
2206
|
"type": {
|
|
2147
2207
|
"text": "boolean"
|
|
2148
2208
|
},
|
|
2149
2209
|
"default": "false",
|
|
2150
|
-
"description": "
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"kind": "field",
|
|
2154
|
-
"name": "name",
|
|
2155
|
-
"type": {
|
|
2156
|
-
"text": "string | undefined"
|
|
2157
|
-
},
|
|
2158
|
-
"description": "Name attribute for form submission."
|
|
2210
|
+
"description": "Since Stencil boolean props default to `false` when the attribute is missing.\ninstead of `open` defaulting to `true`, using a `closed` prop."
|
|
2159
2211
|
},
|
|
2160
2212
|
{
|
|
2161
2213
|
"kind": "field",
|
|
2162
|
-
"name": "
|
|
2214
|
+
"name": "scrollDown",
|
|
2163
2215
|
"type": {
|
|
2164
2216
|
"text": "boolean"
|
|
2165
2217
|
},
|
|
2166
2218
|
"default": "false",
|
|
2167
|
-
"description": "Whether the
|
|
2168
|
-
},
|
|
2169
|
-
{
|
|
2170
|
-
"kind": "field",
|
|
2171
|
-
"name": "size",
|
|
2172
|
-
"type": {
|
|
2173
|
-
"text": "'small' | 'medium' | 'large'"
|
|
2174
|
-
},
|
|
2175
|
-
"default": "'medium'",
|
|
2176
|
-
"description": "Size variant of the combobox."
|
|
2219
|
+
"description": "Whether the content should scroll down from the top when open."
|
|
2177
2220
|
},
|
|
2178
2221
|
{
|
|
2179
2222
|
"kind": "field",
|
|
2180
|
-
"name": "
|
|
2223
|
+
"name": "noFading",
|
|
2181
2224
|
"type": {
|
|
2182
2225
|
"text": "boolean"
|
|
2183
2226
|
},
|
|
2184
2227
|
"default": "false",
|
|
2185
|
-
"description": "
|
|
2186
|
-
},
|
|
2187
|
-
{
|
|
2188
|
-
"kind": "field",
|
|
2189
|
-
"name": "minSearchLength",
|
|
2190
|
-
"type": {
|
|
2191
|
-
"text": "number"
|
|
2192
|
-
},
|
|
2193
|
-
"default": "0",
|
|
2194
|
-
"description": "Minimum characters before showing filtered results."
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"kind": "field",
|
|
2198
|
-
"name": "emptyText",
|
|
2199
|
-
"type": {
|
|
2200
|
-
"text": "string"
|
|
2201
|
-
},
|
|
2202
|
-
"default": "'No results found'",
|
|
2203
|
-
"description": "Text to show when no options match the search."
|
|
2228
|
+
"description": "Stop fading the content when collapsing/expanding."
|
|
2204
2229
|
},
|
|
2205
2230
|
{
|
|
2206
2231
|
"kind": "field",
|
|
2207
|
-
"name": "
|
|
2232
|
+
"name": "collapseOnHeaderShrink",
|
|
2208
2233
|
"type": {
|
|
2209
2234
|
"text": "boolean"
|
|
2210
|
-
},
|
|
2211
|
-
"default": "false",
|
|
2212
|
-
"description": "
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
"kind": "method",
|
|
2216
|
-
"name": "handleWindowClick",
|
|
2217
|
-
"parameters": [
|
|
2218
|
-
{
|
|
2219
|
-
"name": "event",
|
|
2220
|
-
"type": {
|
|
2221
|
-
"text": "MouseEvent"
|
|
2222
|
-
}
|
|
2223
|
-
}
|
|
2224
|
-
]
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "field",
|
|
2228
|
-
"name": "inputValue",
|
|
2229
|
-
"type": {
|
|
2230
|
-
"text": "string"
|
|
2231
|
-
},
|
|
2232
|
-
"privacy": "private",
|
|
2233
|
-
"default": "''"
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
"kind": "field",
|
|
2237
|
-
"name": "selectedOption",
|
|
2238
|
-
"type": {
|
|
2239
|
-
"text": "LeOption | undefined"
|
|
2240
|
-
},
|
|
2241
|
-
"privacy": "private"
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "field",
|
|
2245
|
-
"name": "dropdownEl",
|
|
2246
|
-
"type": {
|
|
2247
|
-
"text": "HTMLLeDropdownBaseElement | undefined"
|
|
2248
|
-
},
|
|
2249
|
-
"privacy": "private"
|
|
2250
|
-
},
|
|
2251
|
-
{
|
|
2252
|
-
"kind": "field",
|
|
2253
|
-
"name": "inputEl",
|
|
2254
|
-
"type": {
|
|
2255
|
-
"text": "HTMLInputElement | undefined"
|
|
2256
|
-
},
|
|
2257
|
-
"privacy": "private"
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
"kind": "method",
|
|
2261
|
-
"name": "handleValueChange"
|
|
2262
|
-
},
|
|
2263
|
-
{
|
|
2264
|
-
"kind": "method",
|
|
2265
|
-
"name": "handleOptionsChange"
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
"kind": "field",
|
|
2269
|
-
"name": "parsedOptions",
|
|
2270
|
-
"type": {
|
|
2271
|
-
"text": "LeOption[]"
|
|
2272
|
-
},
|
|
2273
|
-
"privacy": "private",
|
|
2274
|
-
"readonly": true
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"kind": "method",
|
|
2278
|
-
"name": "updateSelectedOption",
|
|
2279
|
-
"privacy": "private"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"kind": "field",
|
|
2283
|
-
"name": "filterOption",
|
|
2284
|
-
"privacy": "private"
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"kind": "field",
|
|
2288
|
-
"name": "handleOptionSelect",
|
|
2289
|
-
"privacy": "private"
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "field",
|
|
2293
|
-
"name": "handleDropdownOpen",
|
|
2294
|
-
"privacy": "private"
|
|
2295
|
-
},
|
|
2296
|
-
{
|
|
2297
|
-
"kind": "field",
|
|
2298
|
-
"name": "handleDropdownClose",
|
|
2299
|
-
"privacy": "private"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"kind": "field",
|
|
2303
|
-
"name": "handleInputChange",
|
|
2304
|
-
"privacy": "private"
|
|
2235
|
+
},
|
|
2236
|
+
"default": "false",
|
|
2237
|
+
"description": "If true, collapse/expand based on the nearest header shrink event."
|
|
2305
2238
|
},
|
|
2306
2239
|
{
|
|
2307
|
-
"kind": "
|
|
2308
|
-
"name": "
|
|
2309
|
-
"
|
|
2240
|
+
"kind": "method",
|
|
2241
|
+
"name": "handleHeaderShrink",
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "ev",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "Event"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
],
|
|
2250
|
+
"description": "Handles `leHeaderShrinkChange` events from the `le-header`.\nIn case multiple headers are present, only the nearest one in the DOM tree is used."
|
|
2310
2251
|
},
|
|
2311
2252
|
{
|
|
2312
2253
|
"kind": "field",
|
|
2313
|
-
"name": "
|
|
2314
|
-
"
|
|
2254
|
+
"name": "headerShrunk",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "boolean"
|
|
2257
|
+
},
|
|
2258
|
+
"privacy": "private",
|
|
2259
|
+
"default": "false"
|
|
2315
2260
|
},
|
|
2316
2261
|
{
|
|
2317
|
-
"kind": "
|
|
2318
|
-
"name": "
|
|
2319
|
-
"privacy": "
|
|
2262
|
+
"kind": "method",
|
|
2263
|
+
"name": "onOpenChange",
|
|
2264
|
+
"privacy": "protected"
|
|
2320
2265
|
},
|
|
2321
2266
|
{
|
|
2322
2267
|
"kind": "method",
|
|
2323
|
-
"name": "
|
|
2324
|
-
"
|
|
2268
|
+
"name": "onDrivenStateChange",
|
|
2269
|
+
"privacy": "protected"
|
|
2325
2270
|
},
|
|
2326
2271
|
{
|
|
2327
2272
|
"kind": "method",
|
|
2328
|
-
"name": "
|
|
2329
|
-
"
|
|
2273
|
+
"name": "shouldBeOpen",
|
|
2274
|
+
"privacy": "private"
|
|
2330
2275
|
},
|
|
2331
2276
|
{
|
|
2332
2277
|
"kind": "method",
|
|
2333
|
-
"name": "
|
|
2334
|
-
"
|
|
2278
|
+
"name": "applyOpenState",
|
|
2279
|
+
"privacy": "private"
|
|
2335
2280
|
},
|
|
2336
2281
|
{
|
|
2337
2282
|
"kind": "method",
|
|
@@ -2340,141 +2285,214 @@
|
|
|
2340
2285
|
],
|
|
2341
2286
|
"attributes": [
|
|
2342
2287
|
{
|
|
2343
|
-
"name": "
|
|
2344
|
-
"fieldName": "
|
|
2345
|
-
"default": "
|
|
2346
|
-
"description": "
|
|
2347
|
-
"type": {
|
|
2348
|
-
"text": "LeOption[] | string"
|
|
2349
|
-
}
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"name": "value",
|
|
2353
|
-
"fieldName": "value",
|
|
2354
|
-
"description": "The currently selected value.",
|
|
2288
|
+
"name": "closed",
|
|
2289
|
+
"fieldName": "closed",
|
|
2290
|
+
"default": "false",
|
|
2291
|
+
"description": "Since Stencil boolean props default to `false` when the attribute is missing.\ninstead of `open` defaulting to `true`, using a `closed` prop.",
|
|
2355
2292
|
"type": {
|
|
2356
|
-
"text": "
|
|
2293
|
+
"text": "boolean"
|
|
2357
2294
|
}
|
|
2358
2295
|
},
|
|
2359
2296
|
{
|
|
2360
|
-
"name": "
|
|
2361
|
-
"fieldName": "
|
|
2362
|
-
"default": "
|
|
2363
|
-
"description": "
|
|
2297
|
+
"name": "scroll-down",
|
|
2298
|
+
"fieldName": "scrollDown",
|
|
2299
|
+
"default": "false",
|
|
2300
|
+
"description": "Whether the content should scroll down from the top when open.",
|
|
2364
2301
|
"type": {
|
|
2365
|
-
"text": "
|
|
2302
|
+
"text": "boolean"
|
|
2366
2303
|
}
|
|
2367
2304
|
},
|
|
2368
2305
|
{
|
|
2369
|
-
"name": "
|
|
2370
|
-
"fieldName": "
|
|
2306
|
+
"name": "no-fading",
|
|
2307
|
+
"fieldName": "noFading",
|
|
2371
2308
|
"default": "false",
|
|
2372
|
-
"description": "
|
|
2309
|
+
"description": "Stop fading the content when collapsing/expanding.",
|
|
2373
2310
|
"type": {
|
|
2374
2311
|
"text": "boolean"
|
|
2375
2312
|
}
|
|
2376
2313
|
},
|
|
2377
2314
|
{
|
|
2378
|
-
"name": "
|
|
2379
|
-
"fieldName": "
|
|
2315
|
+
"name": "collapse-on-header-shrink",
|
|
2316
|
+
"fieldName": "collapseOnHeaderShrink",
|
|
2380
2317
|
"default": "false",
|
|
2381
|
-
"description": "
|
|
2318
|
+
"description": "If true, collapse/expand based on the nearest header shrink event.",
|
|
2382
2319
|
"type": {
|
|
2383
2320
|
"text": "boolean"
|
|
2384
2321
|
}
|
|
2322
|
+
}
|
|
2323
|
+
],
|
|
2324
|
+
"tagName": "le-collapse",
|
|
2325
|
+
"events": [],
|
|
2326
|
+
"customElement": true
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"exports": [
|
|
2330
|
+
{
|
|
2331
|
+
"kind": "js",
|
|
2332
|
+
"name": "LeCollapse",
|
|
2333
|
+
"declaration": {
|
|
2334
|
+
"name": "LeCollapse",
|
|
2335
|
+
"module": "src/components/le-collapse/le-collapse.tsx"
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"kind": "custom-element-definition",
|
|
2340
|
+
"name": "le-collapse",
|
|
2341
|
+
"declaration": {
|
|
2342
|
+
"name": "LeCollapse",
|
|
2343
|
+
"module": "src/components/le-collapse/le-collapse.tsx"
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
]
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"kind": "javascript-module",
|
|
2350
|
+
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
2351
|
+
"declarations": [
|
|
2352
|
+
{
|
|
2353
|
+
"kind": "class",
|
|
2354
|
+
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
2355
|
+
"name": "LeCheckbox",
|
|
2356
|
+
"cssProperties": [
|
|
2357
|
+
{
|
|
2358
|
+
"description": "Size of the checkbox input",
|
|
2359
|
+
"name": "--le-checkbox-size"
|
|
2385
2360
|
},
|
|
2386
2361
|
{
|
|
2387
|
-
"
|
|
2388
|
-
"
|
|
2389
|
-
|
|
2362
|
+
"description": "Color of the checkbox when checked",
|
|
2363
|
+
"name": "--le-checkbox-color"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"description": "Color of the label text",
|
|
2367
|
+
"name": "--le-checkbox-label-color"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"description": "Color of the description text",
|
|
2371
|
+
"name": "--le-checkbox-desc-color"
|
|
2372
|
+
}
|
|
2373
|
+
],
|
|
2374
|
+
"slots": [
|
|
2375
|
+
{
|
|
2376
|
+
"description": "The label text for the checkbox",
|
|
2377
|
+
"name": ""
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"description": "Additional description text displayed below the label",
|
|
2381
|
+
"name": "description"
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"members": [
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "field",
|
|
2387
|
+
"name": "el",
|
|
2390
2388
|
"type": {
|
|
2391
|
-
"text": "
|
|
2389
|
+
"text": "HTMLElement"
|
|
2392
2390
|
}
|
|
2393
2391
|
},
|
|
2394
2392
|
{
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2397
|
-
"default": "false",
|
|
2398
|
-
"description": "Whether the multiselect should take full width of its container.",
|
|
2393
|
+
"kind": "field",
|
|
2394
|
+
"name": "checked",
|
|
2399
2395
|
"type": {
|
|
2400
2396
|
"text": "boolean"
|
|
2401
|
-
}
|
|
2397
|
+
},
|
|
2398
|
+
"default": "false",
|
|
2399
|
+
"description": "Whether the checkbox is checked"
|
|
2402
2400
|
},
|
|
2403
2401
|
{
|
|
2404
|
-
"
|
|
2405
|
-
"
|
|
2406
|
-
"default": "'medium'",
|
|
2407
|
-
"description": "Size variant of the combobox.",
|
|
2402
|
+
"kind": "field",
|
|
2403
|
+
"name": "disabled",
|
|
2408
2404
|
"type": {
|
|
2409
|
-
"text": "
|
|
2410
|
-
}
|
|
2405
|
+
"text": "boolean"
|
|
2406
|
+
},
|
|
2407
|
+
"default": "false",
|
|
2408
|
+
"description": "Whether the checkbox is disabled"
|
|
2411
2409
|
},
|
|
2412
2410
|
{
|
|
2413
|
-
"
|
|
2414
|
-
"
|
|
2415
|
-
"default": "false",
|
|
2416
|
-
"description": "Whether to allow custom values not in the options list.",
|
|
2411
|
+
"kind": "field",
|
|
2412
|
+
"name": "name",
|
|
2417
2413
|
"type": {
|
|
2418
|
-
"text": "
|
|
2419
|
-
}
|
|
2414
|
+
"text": "string"
|
|
2415
|
+
},
|
|
2416
|
+
"description": "The name of the checkbox input"
|
|
2420
2417
|
},
|
|
2421
2418
|
{
|
|
2422
|
-
"
|
|
2423
|
-
"
|
|
2424
|
-
"default": "0",
|
|
2425
|
-
"description": "Minimum characters before showing filtered results.",
|
|
2419
|
+
"kind": "field",
|
|
2420
|
+
"name": "value",
|
|
2426
2421
|
"type": {
|
|
2427
|
-
"text": "
|
|
2428
|
-
}
|
|
2422
|
+
"text": "string"
|
|
2423
|
+
},
|
|
2424
|
+
"description": "The value of the checkbox input"
|
|
2429
2425
|
},
|
|
2430
2426
|
{
|
|
2431
|
-
"
|
|
2432
|
-
"
|
|
2433
|
-
"default": "'No results found'",
|
|
2434
|
-
"description": "Text to show when no options match the search.",
|
|
2427
|
+
"kind": "field",
|
|
2428
|
+
"name": "externalId",
|
|
2435
2429
|
"type": {
|
|
2436
2430
|
"text": "string"
|
|
2431
|
+
},
|
|
2432
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)"
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"kind": "field",
|
|
2436
|
+
"name": "handleChange",
|
|
2437
|
+
"privacy": "private"
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "method",
|
|
2441
|
+
"name": "render"
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"attributes": [
|
|
2445
|
+
{
|
|
2446
|
+
"name": "checked",
|
|
2447
|
+
"fieldName": "checked",
|
|
2448
|
+
"default": "false",
|
|
2449
|
+
"description": "Whether the checkbox is checked",
|
|
2450
|
+
"type": {
|
|
2451
|
+
"text": "boolean"
|
|
2437
2452
|
}
|
|
2438
2453
|
},
|
|
2439
2454
|
{
|
|
2440
|
-
"name": "
|
|
2441
|
-
"fieldName": "
|
|
2455
|
+
"name": "disabled",
|
|
2456
|
+
"fieldName": "disabled",
|
|
2442
2457
|
"default": "false",
|
|
2443
|
-
"description": "Whether the
|
|
2458
|
+
"description": "Whether the checkbox is disabled",
|
|
2444
2459
|
"type": {
|
|
2445
2460
|
"text": "boolean"
|
|
2446
2461
|
}
|
|
2447
|
-
}
|
|
2448
|
-
],
|
|
2449
|
-
"tagName": "le-combobox",
|
|
2450
|
-
"events": [
|
|
2462
|
+
},
|
|
2451
2463
|
{
|
|
2452
|
-
"name": "
|
|
2464
|
+
"name": "name",
|
|
2465
|
+
"fieldName": "name",
|
|
2466
|
+
"description": "The name of the checkbox input",
|
|
2453
2467
|
"type": {
|
|
2454
|
-
"text": "
|
|
2455
|
-
}
|
|
2456
|
-
"description": "Emitted when the selected value changes."
|
|
2468
|
+
"text": "string"
|
|
2469
|
+
}
|
|
2457
2470
|
},
|
|
2458
2471
|
{
|
|
2459
|
-
"name": "
|
|
2472
|
+
"name": "value",
|
|
2473
|
+
"fieldName": "value",
|
|
2474
|
+
"description": "The value of the checkbox input",
|
|
2460
2475
|
"type": {
|
|
2461
|
-
"text": "
|
|
2462
|
-
}
|
|
2463
|
-
"description": "Emitted when the input value changes (for custom values)."
|
|
2476
|
+
"text": "string"
|
|
2477
|
+
}
|
|
2464
2478
|
},
|
|
2465
2479
|
{
|
|
2466
|
-
"name": "
|
|
2480
|
+
"name": "external-id",
|
|
2481
|
+
"fieldName": "externalId",
|
|
2482
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)",
|
|
2467
2483
|
"type": {
|
|
2468
|
-
"text": "
|
|
2469
|
-
}
|
|
2470
|
-
|
|
2471
|
-
|
|
2484
|
+
"text": "string"
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
],
|
|
2488
|
+
"tagName": "le-checkbox",
|
|
2489
|
+
"events": [
|
|
2472
2490
|
{
|
|
2473
|
-
"name": "
|
|
2491
|
+
"name": "change",
|
|
2474
2492
|
"type": {
|
|
2475
|
-
"text": "EventEmitter<
|
|
2493
|
+
"text": "EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>"
|
|
2476
2494
|
},
|
|
2477
|
-
"description": "Emitted when the
|
|
2495
|
+
"description": "Emitted when the checked state changes"
|
|
2478
2496
|
}
|
|
2479
2497
|
],
|
|
2480
2498
|
"customElement": true
|
|
@@ -2483,18 +2501,18 @@
|
|
|
2483
2501
|
"exports": [
|
|
2484
2502
|
{
|
|
2485
2503
|
"kind": "js",
|
|
2486
|
-
"name": "
|
|
2504
|
+
"name": "LeCheckbox",
|
|
2487
2505
|
"declaration": {
|
|
2488
|
-
"name": "
|
|
2489
|
-
"module": "src/components/le-
|
|
2506
|
+
"name": "LeCheckbox",
|
|
2507
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
2490
2508
|
}
|
|
2491
2509
|
},
|
|
2492
2510
|
{
|
|
2493
2511
|
"kind": "custom-element-definition",
|
|
2494
|
-
"name": "le-
|
|
2512
|
+
"name": "le-checkbox",
|
|
2495
2513
|
"declaration": {
|
|
2496
|
-
"name": "
|
|
2497
|
-
"module": "src/components/le-
|
|
2514
|
+
"name": "LeCheckbox",
|
|
2515
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
2498
2516
|
}
|
|
2499
2517
|
}
|
|
2500
2518
|
]
|
|
@@ -7250,7 +7268,7 @@
|
|
|
7250
7268
|
"tagName": "le-select",
|
|
7251
7269
|
"events": [
|
|
7252
7270
|
{
|
|
7253
|
-
"name": "
|
|
7271
|
+
"name": "change",
|
|
7254
7272
|
"type": {
|
|
7255
7273
|
"text": "EventEmitter<LeOptionSelectDetail>"
|
|
7256
7274
|
},
|
|
@@ -9079,263 +9097,36 @@
|
|
|
9079
9097
|
"type": {
|
|
9080
9098
|
"text": "boolean"
|
|
9081
9099
|
}
|
|
9082
|
-
}
|
|
9083
|
-
],
|
|
9084
|
-
"tagName": "le-tab-bar",
|
|
9085
|
-
"events": [
|
|
9086
|
-
{
|
|
9087
|
-
"name": "leTabChange",
|
|
9088
|
-
"type": {
|
|
9089
|
-
"text": "EventEmitter<LeOptionSelectDetail>"
|
|
9090
|
-
},
|
|
9091
|
-
"description": "Emitted when the selected tab changes."
|
|
9092
|
-
}
|
|
9093
|
-
],
|
|
9094
|
-
"customElement": true
|
|
9095
|
-
}
|
|
9096
|
-
],
|
|
9097
|
-
"exports": [
|
|
9098
|
-
{
|
|
9099
|
-
"kind": "js",
|
|
9100
|
-
"name": "LeTabBar",
|
|
9101
|
-
"declaration": {
|
|
9102
|
-
"name": "LeTabBar",
|
|
9103
|
-
"module": "src/components/le-tab-bar/le-tab-bar.tsx"
|
|
9104
|
-
}
|
|
9105
|
-
},
|
|
9106
|
-
{
|
|
9107
|
-
"kind": "custom-element-definition",
|
|
9108
|
-
"name": "le-tab-bar",
|
|
9109
|
-
"declaration": {
|
|
9110
|
-
"name": "LeTabBar",
|
|
9111
|
-
"module": "src/components/le-tab-bar/le-tab-bar.tsx"
|
|
9112
|
-
}
|
|
9113
|
-
}
|
|
9114
|
-
]
|
|
9115
|
-
},
|
|
9116
|
-
{
|
|
9117
|
-
"kind": "javascript-module",
|
|
9118
|
-
"path": "src/components/le-tab-panel/le-tab-panel.tsx",
|
|
9119
|
-
"declarations": [
|
|
9120
|
-
{
|
|
9121
|
-
"kind": "class",
|
|
9122
|
-
"description": "A tab panel component used as a child of le-tabs.\n\nEach le-tab-panel defines both the tab button label and the panel content.\nThe parent le-tabs component automatically reads these panels and creates\nthe tab interface.",
|
|
9123
|
-
"name": "LeTabPanel",
|
|
9124
|
-
"slots": [
|
|
9125
|
-
{
|
|
9126
|
-
"description": "Default slot for panel content",
|
|
9127
|
-
"name": ""
|
|
9128
|
-
}
|
|
9129
|
-
],
|
|
9130
|
-
"members": [
|
|
9131
|
-
{
|
|
9132
|
-
"kind": "field",
|
|
9133
|
-
"name": "el",
|
|
9134
|
-
"type": {
|
|
9135
|
-
"text": "HTMLLeTabPanelElement"
|
|
9136
|
-
}
|
|
9137
|
-
},
|
|
9138
|
-
{
|
|
9139
|
-
"kind": "field",
|
|
9140
|
-
"name": "label",
|
|
9141
|
-
"type": {
|
|
9142
|
-
"text": "string"
|
|
9143
|
-
},
|
|
9144
|
-
"description": "The label displayed in the tab button."
|
|
9145
|
-
},
|
|
9146
|
-
{
|
|
9147
|
-
"kind": "field",
|
|
9148
|
-
"name": "value",
|
|
9149
|
-
"type": {
|
|
9150
|
-
"text": "string | undefined"
|
|
9151
|
-
},
|
|
9152
|
-
"description": "The value used to identify this tab.\nDefaults to the label if not provided."
|
|
9153
|
-
},
|
|
9154
|
-
{
|
|
9155
|
-
"kind": "field",
|
|
9156
|
-
"name": "iconStart",
|
|
9157
|
-
"type": {
|
|
9158
|
-
"text": "string | undefined"
|
|
9159
|
-
},
|
|
9160
|
-
"description": "Icon displayed at the start of the tab button.\nCan be an emoji, URL, or icon class."
|
|
9161
|
-
},
|
|
9162
|
-
{
|
|
9163
|
-
"kind": "field",
|
|
9164
|
-
"name": "iconEnd",
|
|
9165
|
-
"type": {
|
|
9166
|
-
"text": "string | undefined"
|
|
9167
|
-
},
|
|
9168
|
-
"description": "Icon displayed at the end of the tab button."
|
|
9169
|
-
},
|
|
9170
|
-
{
|
|
9171
|
-
"kind": "field",
|
|
9172
|
-
"name": "disabled",
|
|
9173
|
-
"type": {
|
|
9174
|
-
"text": "boolean"
|
|
9175
|
-
},
|
|
9176
|
-
"default": "false",
|
|
9177
|
-
"description": "Whether this tab is disabled."
|
|
9178
|
-
},
|
|
9179
|
-
{
|
|
9180
|
-
"kind": "field",
|
|
9181
|
-
"name": "lazy",
|
|
9182
|
-
"type": {
|
|
9183
|
-
"text": "boolean"
|
|
9184
|
-
},
|
|
9185
|
-
"default": "false",
|
|
9186
|
-
"description": "Whether to render the panel content only when active (lazy loading).\nWhen true, content is not rendered until the tab is first selected.\nWhen false (default), content is always in DOM but hidden when inactive."
|
|
9187
|
-
},
|
|
9188
|
-
{
|
|
9189
|
-
"kind": "field",
|
|
9190
|
-
"name": "active",
|
|
9191
|
-
"type": {
|
|
9192
|
-
"text": "boolean"
|
|
9193
|
-
},
|
|
9194
|
-
"default": "false",
|
|
9195
|
-
"description": "Internal: Whether this panel is currently active (set by parent le-tabs)"
|
|
9196
|
-
},
|
|
9197
|
-
{
|
|
9198
|
-
"kind": "field",
|
|
9199
|
-
"name": "hasBeenActive",
|
|
9200
|
-
"type": {
|
|
9201
|
-
"text": "boolean"
|
|
9202
|
-
},
|
|
9203
|
-
"default": "false",
|
|
9204
|
-
"description": "Internal: Track if panel has ever been activated (for lazy rendering)"
|
|
9205
|
-
},
|
|
9206
|
-
{
|
|
9207
|
-
"kind": "method",
|
|
9208
|
-
"name": "activeChanged",
|
|
9209
|
-
"parameters": [
|
|
9210
|
-
{
|
|
9211
|
-
"name": "isActive",
|
|
9212
|
-
"type": {
|
|
9213
|
-
"text": "boolean"
|
|
9214
|
-
}
|
|
9215
|
-
}
|
|
9216
|
-
]
|
|
9217
|
-
},
|
|
9218
|
-
{
|
|
9219
|
-
"kind": "method",
|
|
9220
|
-
"name": "getValue",
|
|
9221
|
-
"return": {
|
|
9222
|
-
"type": {
|
|
9223
|
-
"text": "Promise<string>"
|
|
9224
|
-
}
|
|
9225
|
-
},
|
|
9226
|
-
"description": "Get the effective value (value or label as fallback)"
|
|
9227
|
-
},
|
|
9228
|
-
{
|
|
9229
|
-
"kind": "method",
|
|
9230
|
-
"name": "getTabConfig",
|
|
9231
|
-
"return": {
|
|
9232
|
-
"type": {
|
|
9233
|
-
"text": "Promise<{\n label: string;\n value: string;\n iconStart?: string;\n iconEnd?: string;\n disabled: boolean;\n }>"
|
|
9234
|
-
}
|
|
9235
|
-
},
|
|
9236
|
-
"description": "Get tab configuration for parent component"
|
|
9237
|
-
},
|
|
9238
|
-
{
|
|
9239
|
-
"kind": "method",
|
|
9240
|
-
"name": "setActive",
|
|
9241
|
-
"parameters": [
|
|
9242
|
-
{
|
|
9243
|
-
"name": "isActive",
|
|
9244
|
-
"type": {
|
|
9245
|
-
"text": "boolean"
|
|
9246
|
-
}
|
|
9247
|
-
}
|
|
9248
|
-
],
|
|
9249
|
-
"description": "Set the active state (called by parent le-tabs)"
|
|
9250
|
-
},
|
|
9251
|
-
{
|
|
9252
|
-
"kind": "method",
|
|
9253
|
-
"name": "shouldRenderContent",
|
|
9254
|
-
"privacy": "private",
|
|
9255
|
-
"return": {
|
|
9256
|
-
"type": {
|
|
9257
|
-
"text": "boolean"
|
|
9258
|
-
}
|
|
9259
|
-
},
|
|
9260
|
-
"description": "Check if panel should render content"
|
|
9261
|
-
},
|
|
9262
|
-
{
|
|
9263
|
-
"kind": "method",
|
|
9264
|
-
"name": "render"
|
|
9265
|
-
}
|
|
9266
|
-
],
|
|
9267
|
-
"attributes": [
|
|
9268
|
-
{
|
|
9269
|
-
"name": "label",
|
|
9270
|
-
"fieldName": "label",
|
|
9271
|
-
"description": "The label displayed in the tab button.",
|
|
9272
|
-
"type": {
|
|
9273
|
-
"text": "string"
|
|
9274
|
-
}
|
|
9275
|
-
},
|
|
9276
|
-
{
|
|
9277
|
-
"name": "value",
|
|
9278
|
-
"fieldName": "value",
|
|
9279
|
-
"description": "The value used to identify this tab.\nDefaults to the label if not provided.",
|
|
9280
|
-
"type": {
|
|
9281
|
-
"text": "string"
|
|
9282
|
-
}
|
|
9283
|
-
},
|
|
9284
|
-
{
|
|
9285
|
-
"name": "icon-start",
|
|
9286
|
-
"fieldName": "iconStart",
|
|
9287
|
-
"description": "Icon displayed at the start of the tab button.\nCan be an emoji, URL, or icon class.",
|
|
9288
|
-
"type": {
|
|
9289
|
-
"text": "string"
|
|
9290
|
-
}
|
|
9291
|
-
},
|
|
9292
|
-
{
|
|
9293
|
-
"name": "icon-end",
|
|
9294
|
-
"fieldName": "iconEnd",
|
|
9295
|
-
"description": "Icon displayed at the end of the tab button.",
|
|
9296
|
-
"type": {
|
|
9297
|
-
"text": "string"
|
|
9298
|
-
}
|
|
9299
|
-
},
|
|
9300
|
-
{
|
|
9301
|
-
"name": "disabled",
|
|
9302
|
-
"fieldName": "disabled",
|
|
9303
|
-
"default": "false",
|
|
9304
|
-
"description": "Whether this tab is disabled.",
|
|
9305
|
-
"type": {
|
|
9306
|
-
"text": "boolean"
|
|
9307
|
-
}
|
|
9308
|
-
},
|
|
9100
|
+
}
|
|
9101
|
+
],
|
|
9102
|
+
"tagName": "le-tab-bar",
|
|
9103
|
+
"events": [
|
|
9309
9104
|
{
|
|
9310
|
-
"name": "
|
|
9311
|
-
"fieldName": "lazy",
|
|
9312
|
-
"default": "false",
|
|
9313
|
-
"description": "Whether to render the panel content only when active (lazy loading).\nWhen true, content is not rendered until the tab is first selected.\nWhen false (default), content is always in DOM but hidden when inactive.",
|
|
9105
|
+
"name": "leTabChange",
|
|
9314
9106
|
"type": {
|
|
9315
|
-
"text": "
|
|
9316
|
-
}
|
|
9107
|
+
"text": "EventEmitter<LeOptionSelectDetail>"
|
|
9108
|
+
},
|
|
9109
|
+
"description": "Emitted when the selected tab changes."
|
|
9317
9110
|
}
|
|
9318
9111
|
],
|
|
9319
|
-
"tagName": "le-tab-panel",
|
|
9320
|
-
"events": [],
|
|
9321
9112
|
"customElement": true
|
|
9322
9113
|
}
|
|
9323
9114
|
],
|
|
9324
9115
|
"exports": [
|
|
9325
9116
|
{
|
|
9326
9117
|
"kind": "js",
|
|
9327
|
-
"name": "
|
|
9118
|
+
"name": "LeTabBar",
|
|
9328
9119
|
"declaration": {
|
|
9329
|
-
"name": "
|
|
9330
|
-
"module": "src/components/le-tab-
|
|
9120
|
+
"name": "LeTabBar",
|
|
9121
|
+
"module": "src/components/le-tab-bar/le-tab-bar.tsx"
|
|
9331
9122
|
}
|
|
9332
9123
|
},
|
|
9333
9124
|
{
|
|
9334
9125
|
"kind": "custom-element-definition",
|
|
9335
|
-
"name": "le-tab-
|
|
9126
|
+
"name": "le-tab-bar",
|
|
9336
9127
|
"declaration": {
|
|
9337
|
-
"name": "
|
|
9338
|
-
"module": "src/components/le-tab-
|
|
9128
|
+
"name": "LeTabBar",
|
|
9129
|
+
"module": "src/components/le-tab-bar/le-tab-bar.tsx"
|
|
9339
9130
|
}
|
|
9340
9131
|
}
|
|
9341
9132
|
]
|
|
@@ -9751,6 +9542,233 @@
|
|
|
9751
9542
|
}
|
|
9752
9543
|
]
|
|
9753
9544
|
},
|
|
9545
|
+
{
|
|
9546
|
+
"kind": "javascript-module",
|
|
9547
|
+
"path": "src/components/le-tab-panel/le-tab-panel.tsx",
|
|
9548
|
+
"declarations": [
|
|
9549
|
+
{
|
|
9550
|
+
"kind": "class",
|
|
9551
|
+
"description": "A tab panel component used as a child of le-tabs.\n\nEach le-tab-panel defines both the tab button label and the panel content.\nThe parent le-tabs component automatically reads these panels and creates\nthe tab interface.",
|
|
9552
|
+
"name": "LeTabPanel",
|
|
9553
|
+
"slots": [
|
|
9554
|
+
{
|
|
9555
|
+
"description": "Default slot for panel content",
|
|
9556
|
+
"name": ""
|
|
9557
|
+
}
|
|
9558
|
+
],
|
|
9559
|
+
"members": [
|
|
9560
|
+
{
|
|
9561
|
+
"kind": "field",
|
|
9562
|
+
"name": "el",
|
|
9563
|
+
"type": {
|
|
9564
|
+
"text": "HTMLLeTabPanelElement"
|
|
9565
|
+
}
|
|
9566
|
+
},
|
|
9567
|
+
{
|
|
9568
|
+
"kind": "field",
|
|
9569
|
+
"name": "label",
|
|
9570
|
+
"type": {
|
|
9571
|
+
"text": "string"
|
|
9572
|
+
},
|
|
9573
|
+
"description": "The label displayed in the tab button."
|
|
9574
|
+
},
|
|
9575
|
+
{
|
|
9576
|
+
"kind": "field",
|
|
9577
|
+
"name": "value",
|
|
9578
|
+
"type": {
|
|
9579
|
+
"text": "string | undefined"
|
|
9580
|
+
},
|
|
9581
|
+
"description": "The value used to identify this tab.\nDefaults to the label if not provided."
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
"kind": "field",
|
|
9585
|
+
"name": "iconStart",
|
|
9586
|
+
"type": {
|
|
9587
|
+
"text": "string | undefined"
|
|
9588
|
+
},
|
|
9589
|
+
"description": "Icon displayed at the start of the tab button.\nCan be an emoji, URL, or icon class."
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
"kind": "field",
|
|
9593
|
+
"name": "iconEnd",
|
|
9594
|
+
"type": {
|
|
9595
|
+
"text": "string | undefined"
|
|
9596
|
+
},
|
|
9597
|
+
"description": "Icon displayed at the end of the tab button."
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
"kind": "field",
|
|
9601
|
+
"name": "disabled",
|
|
9602
|
+
"type": {
|
|
9603
|
+
"text": "boolean"
|
|
9604
|
+
},
|
|
9605
|
+
"default": "false",
|
|
9606
|
+
"description": "Whether this tab is disabled."
|
|
9607
|
+
},
|
|
9608
|
+
{
|
|
9609
|
+
"kind": "field",
|
|
9610
|
+
"name": "lazy",
|
|
9611
|
+
"type": {
|
|
9612
|
+
"text": "boolean"
|
|
9613
|
+
},
|
|
9614
|
+
"default": "false",
|
|
9615
|
+
"description": "Whether to render the panel content only when active (lazy loading).\nWhen true, content is not rendered until the tab is first selected.\nWhen false (default), content is always in DOM but hidden when inactive."
|
|
9616
|
+
},
|
|
9617
|
+
{
|
|
9618
|
+
"kind": "field",
|
|
9619
|
+
"name": "active",
|
|
9620
|
+
"type": {
|
|
9621
|
+
"text": "boolean"
|
|
9622
|
+
},
|
|
9623
|
+
"default": "false",
|
|
9624
|
+
"description": "Internal: Whether this panel is currently active (set by parent le-tabs)"
|
|
9625
|
+
},
|
|
9626
|
+
{
|
|
9627
|
+
"kind": "field",
|
|
9628
|
+
"name": "hasBeenActive",
|
|
9629
|
+
"type": {
|
|
9630
|
+
"text": "boolean"
|
|
9631
|
+
},
|
|
9632
|
+
"default": "false",
|
|
9633
|
+
"description": "Internal: Track if panel has ever been activated (for lazy rendering)"
|
|
9634
|
+
},
|
|
9635
|
+
{
|
|
9636
|
+
"kind": "method",
|
|
9637
|
+
"name": "activeChanged",
|
|
9638
|
+
"parameters": [
|
|
9639
|
+
{
|
|
9640
|
+
"name": "isActive",
|
|
9641
|
+
"type": {
|
|
9642
|
+
"text": "boolean"
|
|
9643
|
+
}
|
|
9644
|
+
}
|
|
9645
|
+
]
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
"kind": "method",
|
|
9649
|
+
"name": "getValue",
|
|
9650
|
+
"return": {
|
|
9651
|
+
"type": {
|
|
9652
|
+
"text": "Promise<string>"
|
|
9653
|
+
}
|
|
9654
|
+
},
|
|
9655
|
+
"description": "Get the effective value (value or label as fallback)"
|
|
9656
|
+
},
|
|
9657
|
+
{
|
|
9658
|
+
"kind": "method",
|
|
9659
|
+
"name": "getTabConfig",
|
|
9660
|
+
"return": {
|
|
9661
|
+
"type": {
|
|
9662
|
+
"text": "Promise<{\n label: string;\n value: string;\n iconStart?: string;\n iconEnd?: string;\n disabled: boolean;\n }>"
|
|
9663
|
+
}
|
|
9664
|
+
},
|
|
9665
|
+
"description": "Get tab configuration for parent component"
|
|
9666
|
+
},
|
|
9667
|
+
{
|
|
9668
|
+
"kind": "method",
|
|
9669
|
+
"name": "setActive",
|
|
9670
|
+
"parameters": [
|
|
9671
|
+
{
|
|
9672
|
+
"name": "isActive",
|
|
9673
|
+
"type": {
|
|
9674
|
+
"text": "boolean"
|
|
9675
|
+
}
|
|
9676
|
+
}
|
|
9677
|
+
],
|
|
9678
|
+
"description": "Set the active state (called by parent le-tabs)"
|
|
9679
|
+
},
|
|
9680
|
+
{
|
|
9681
|
+
"kind": "method",
|
|
9682
|
+
"name": "shouldRenderContent",
|
|
9683
|
+
"privacy": "private",
|
|
9684
|
+
"return": {
|
|
9685
|
+
"type": {
|
|
9686
|
+
"text": "boolean"
|
|
9687
|
+
}
|
|
9688
|
+
},
|
|
9689
|
+
"description": "Check if panel should render content"
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
"kind": "method",
|
|
9693
|
+
"name": "render"
|
|
9694
|
+
}
|
|
9695
|
+
],
|
|
9696
|
+
"attributes": [
|
|
9697
|
+
{
|
|
9698
|
+
"name": "label",
|
|
9699
|
+
"fieldName": "label",
|
|
9700
|
+
"description": "The label displayed in the tab button.",
|
|
9701
|
+
"type": {
|
|
9702
|
+
"text": "string"
|
|
9703
|
+
}
|
|
9704
|
+
},
|
|
9705
|
+
{
|
|
9706
|
+
"name": "value",
|
|
9707
|
+
"fieldName": "value",
|
|
9708
|
+
"description": "The value used to identify this tab.\nDefaults to the label if not provided.",
|
|
9709
|
+
"type": {
|
|
9710
|
+
"text": "string"
|
|
9711
|
+
}
|
|
9712
|
+
},
|
|
9713
|
+
{
|
|
9714
|
+
"name": "icon-start",
|
|
9715
|
+
"fieldName": "iconStart",
|
|
9716
|
+
"description": "Icon displayed at the start of the tab button.\nCan be an emoji, URL, or icon class.",
|
|
9717
|
+
"type": {
|
|
9718
|
+
"text": "string"
|
|
9719
|
+
}
|
|
9720
|
+
},
|
|
9721
|
+
{
|
|
9722
|
+
"name": "icon-end",
|
|
9723
|
+
"fieldName": "iconEnd",
|
|
9724
|
+
"description": "Icon displayed at the end of the tab button.",
|
|
9725
|
+
"type": {
|
|
9726
|
+
"text": "string"
|
|
9727
|
+
}
|
|
9728
|
+
},
|
|
9729
|
+
{
|
|
9730
|
+
"name": "disabled",
|
|
9731
|
+
"fieldName": "disabled",
|
|
9732
|
+
"default": "false",
|
|
9733
|
+
"description": "Whether this tab is disabled.",
|
|
9734
|
+
"type": {
|
|
9735
|
+
"text": "boolean"
|
|
9736
|
+
}
|
|
9737
|
+
},
|
|
9738
|
+
{
|
|
9739
|
+
"name": "lazy",
|
|
9740
|
+
"fieldName": "lazy",
|
|
9741
|
+
"default": "false",
|
|
9742
|
+
"description": "Whether to render the panel content only when active (lazy loading).\nWhen true, content is not rendered until the tab is first selected.\nWhen false (default), content is always in DOM but hidden when inactive.",
|
|
9743
|
+
"type": {
|
|
9744
|
+
"text": "boolean"
|
|
9745
|
+
}
|
|
9746
|
+
}
|
|
9747
|
+
],
|
|
9748
|
+
"tagName": "le-tab-panel",
|
|
9749
|
+
"events": [],
|
|
9750
|
+
"customElement": true
|
|
9751
|
+
}
|
|
9752
|
+
],
|
|
9753
|
+
"exports": [
|
|
9754
|
+
{
|
|
9755
|
+
"kind": "js",
|
|
9756
|
+
"name": "LeTabPanel",
|
|
9757
|
+
"declaration": {
|
|
9758
|
+
"name": "LeTabPanel",
|
|
9759
|
+
"module": "src/components/le-tab-panel/le-tab-panel.tsx"
|
|
9760
|
+
}
|
|
9761
|
+
},
|
|
9762
|
+
{
|
|
9763
|
+
"kind": "custom-element-definition",
|
|
9764
|
+
"name": "le-tab-panel",
|
|
9765
|
+
"declaration": {
|
|
9766
|
+
"name": "LeTabPanel",
|
|
9767
|
+
"module": "src/components/le-tab-panel/le-tab-panel.tsx"
|
|
9768
|
+
}
|
|
9769
|
+
}
|
|
9770
|
+
]
|
|
9771
|
+
},
|
|
9754
9772
|
{
|
|
9755
9773
|
"kind": "javascript-module",
|
|
9756
9774
|
"path": "src/components/le-tag/le-tag.tsx",
|