le-kit 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-pT2cVC5w.js → index-CNRmviSz.js} +4 -2
- package/dist/cjs/{index-pT2cVC5w.js.map → index-CNRmviSz.js.map} +1 -1
- package/dist/cjs/index.cjs.js +3 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/le-box.cjs.entry.js +2 -2
- package/dist/cjs/le-button_13.cjs.entry.js +2 -2
- package/dist/cjs/le-card.cjs.entry.js +2 -2
- package/dist/cjs/le-combobox.cjs.entry.js +1 -1
- package/dist/cjs/le-header-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/le-icon.cjs.entry.js +4 -2
- package/dist/cjs/le-kit.cjs.js +2 -2
- package/dist/cjs/le-multiselect.cjs.entry.js +1 -1
- package/dist/cjs/le-navigation.cjs.entry.js +16 -11
- package/dist/cjs/le-number-input.cjs.entry.js +2 -2
- package/dist/cjs/le-round-progress.cjs.entry.js +1 -1
- package/dist/cjs/le-segmented-control.cjs.entry.js +1 -1
- package/dist/cjs/le-stack.cjs.entry.js +2 -2
- package/dist/cjs/le-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/le-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/le-tab.cjs.entry.js +2 -2
- package/dist/cjs/le-tabs.cjs.entry.js +2 -2
- package/dist/cjs/le-tag.cjs.entry.js +1 -1
- package/dist/cjs/le-text.cjs.entry.js +2 -2
- package/dist/cjs/le-turntable.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-ByTskwtC.js → utils-CZG22_vQ.js} +3 -3
- package/dist/cjs/{utils-ByTskwtC.js.map → utils-CZG22_vQ.js.map} +1 -1
- package/dist/collection/components/le-icon/le-icon.js +3 -1
- package/dist/collection/components/le-icon/le-icon.js.map +1 -1
- package/dist/collection/components/le-navigation/le-navigation.css +9 -1
- package/dist/collection/components/le-navigation/le-navigation.js +18 -13
- package/dist/collection/components/le-navigation/le-navigation.js.map +1 -1
- package/dist/collection/dist/components/assets/custom-elements.json +942 -942
- package/dist/collection/index.js +2 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/assets/custom-elements.json +942 -942
- package/dist/components/le-icon2.js +3 -1
- package/dist/components/le-icon2.js.map +1 -1
- package/dist/components/le-navigation.js +15 -10
- package/dist/components/le-navigation.js.map +1 -1
- package/dist/docs.json +32 -24
- package/dist/esm/{index-CNv6tzAt.js → index-BqH-zsXr.js} +4 -3
- package/dist/esm/{index-CNv6tzAt.js.map → index-BqH-zsXr.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/le-box.entry.js +2 -2
- package/dist/esm/le-button_13.entry.js +2 -2
- package/dist/esm/le-card.entry.js +2 -2
- package/dist/esm/le-combobox.entry.js +1 -1
- package/dist/esm/le-header-placeholder.entry.js +1 -1
- package/dist/esm/le-icon.entry.js +4 -2
- package/dist/esm/le-icon.entry.js.map +1 -1
- package/dist/esm/le-kit.js +3 -3
- package/dist/esm/le-multiselect.entry.js +1 -1
- package/dist/esm/le-navigation.entry.js +16 -11
- package/dist/esm/le-navigation.entry.js.map +1 -1
- package/dist/esm/le-number-input.entry.js +2 -2
- package/dist/esm/le-round-progress.entry.js +1 -1
- package/dist/esm/le-segmented-control.entry.js +1 -1
- package/dist/esm/le-stack.entry.js +2 -2
- package/dist/esm/le-tab-bar.entry.js +1 -1
- package/dist/esm/le-tab-panel.entry.js +1 -1
- package/dist/esm/le-tab.entry.js +2 -2
- package/dist/esm/le-tabs.entry.js +2 -2
- package/dist/esm/le-tag.entry.js +1 -1
- package/dist/esm/le-text.entry.js +2 -2
- package/dist/esm/le-turntable.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-BzC2tvPX.js → utils-CdBk0DdF.js} +3 -3
- package/dist/esm/{utils-BzC2tvPX.js.map → utils-CdBk0DdF.js.map} +1 -1
- package/dist/le-kit/dist/components/assets/custom-elements.json +942 -942
- package/dist/le-kit/index.esm.js +1 -1
- package/dist/le-kit/le-kit.esm.js +1 -1
- package/dist/le-kit/{p-e24d3e33.entry.js → p-00cd6dc4.entry.js} +2 -2
- package/dist/le-kit/p-02699578.entry.js +2 -0
- package/dist/le-kit/p-02699578.entry.js.map +1 -0
- package/dist/le-kit/{p-9a3bdbe1.entry.js → p-0aab5747.entry.js} +2 -2
- package/dist/le-kit/{p-a8963634.entry.js → p-0b5ab6ec.entry.js} +2 -2
- package/dist/le-kit/{p-f4f2c3e7.entry.js → p-17ace252.entry.js} +2 -2
- package/dist/le-kit/{p-8a78110f.entry.js → p-2db32332.entry.js} +2 -2
- package/dist/le-kit/{p-df9389f0.entry.js → p-348a4e39.entry.js} +2 -2
- package/dist/le-kit/{p-aaec0169.entry.js → p-43f87acb.entry.js} +2 -2
- package/dist/le-kit/{p-b1dc7e06.entry.js → p-509caf7f.entry.js} +2 -2
- package/dist/le-kit/{p-0ac4397c.entry.js → p-65fa68c3.entry.js} +2 -2
- package/dist/le-kit/{p-58120921.entry.js → p-76d03b1e.entry.js} +2 -2
- package/dist/le-kit/{p-de5638c9.entry.js → p-8907cf95.entry.js} +2 -2
- package/dist/le-kit/{p-511fbb63.entry.js → p-91421993.entry.js} +2 -2
- package/dist/le-kit/{p-5ceb06d8.entry.js → p-995f6de8.entry.js} +2 -2
- package/dist/le-kit/{p-a0d2c580.entry.js → p-9f409d74.entry.js} +2 -2
- package/dist/le-kit/p-BqH-zsXr.js +3 -0
- package/dist/le-kit/{p-CNv6tzAt.js.map → p-BqH-zsXr.js.map} +1 -1
- package/dist/le-kit/{p-W4FbLlut.js → p-VG5nXRzT.js} +2 -2
- package/dist/le-kit/{p-W4FbLlut.js.map → p-VG5nXRzT.js.map} +1 -1
- package/dist/le-kit/p-a1c26c46.entry.js +2 -0
- package/dist/le-kit/p-a1c26c46.entry.js.map +1 -0
- package/dist/le-kit/{p-25a29e69.entry.js → p-a5e21c8e.entry.js} +2 -2
- package/dist/le-kit/{p-ec20e438.entry.js → p-b4dcb4df.entry.js} +2 -2
- package/dist/le-kit/p-ccf4c548.entry.js +2 -0
- package/dist/types/components/le-navigation/le-navigation.d.ts +2 -2
- package/dist/types/components.d.ts +10 -10
- package/dist/types/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/le-kit/dist/components/themes/base.css +0 -89
- package/dist/le-kit/dist/components/themes/dark.css +0 -103
- package/dist/le-kit/dist/components/themes/default.css +0 -111
- package/dist/le-kit/dist/components/themes/gradient.css +0 -103
- package/dist/le-kit/dist/components/themes/index.css +0 -76
- package/dist/le-kit/dist/components/themes/minimal.css +0 -103
- package/dist/le-kit/dist/components/themes/warm.css +0 -103
- package/dist/le-kit/p-2ec60692.entry.js +0 -2
- package/dist/le-kit/p-CNv6tzAt.js +0 -3
- package/dist/le-kit/p-bb160082.entry.js +0 -2
- package/dist/le-kit/p-bb160082.entry.js.map +0 -1
- package/dist/le-kit/p-c08fcb00.entry.js +0 -2
- package/dist/le-kit/p-c08fcb00.entry.js.map +0 -1
- /package/dist/collection/dist/{components/themes → themes}/base.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/dark.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/default.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/gradient.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/index.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/minimal.css +0 -0
- /package/dist/collection/dist/{components/themes → themes}/warm.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/base.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/dark.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/default.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/gradient.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/index.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/minimal.css +0 -0
- /package/dist/{components → le-kit/dist}/themes/warm.css +0 -0
- /package/dist/le-kit/{p-e24d3e33.entry.js.map → p-00cd6dc4.entry.js.map} +0 -0
- /package/dist/le-kit/{p-9a3bdbe1.entry.js.map → p-0aab5747.entry.js.map} +0 -0
- /package/dist/le-kit/{p-a8963634.entry.js.map → p-0b5ab6ec.entry.js.map} +0 -0
- /package/dist/le-kit/{p-f4f2c3e7.entry.js.map → p-17ace252.entry.js.map} +0 -0
- /package/dist/le-kit/{p-8a78110f.entry.js.map → p-2db32332.entry.js.map} +0 -0
- /package/dist/le-kit/{p-df9389f0.entry.js.map → p-348a4e39.entry.js.map} +0 -0
- /package/dist/le-kit/{p-aaec0169.entry.js.map → p-43f87acb.entry.js.map} +0 -0
- /package/dist/le-kit/{p-b1dc7e06.entry.js.map → p-509caf7f.entry.js.map} +0 -0
- /package/dist/le-kit/{p-0ac4397c.entry.js.map → p-65fa68c3.entry.js.map} +0 -0
- /package/dist/le-kit/{p-58120921.entry.js.map → p-76d03b1e.entry.js.map} +0 -0
- /package/dist/le-kit/{p-de5638c9.entry.js.map → p-8907cf95.entry.js.map} +0 -0
- /package/dist/le-kit/{p-511fbb63.entry.js.map → p-91421993.entry.js.map} +0 -0
- /package/dist/le-kit/{p-5ceb06d8.entry.js.map → p-995f6de8.entry.js.map} +0 -0
- /package/dist/le-kit/{p-a0d2c580.entry.js.map → p-9f409d74.entry.js.map} +0 -0
- /package/dist/le-kit/{p-25a29e69.entry.js.map → p-a5e21c8e.entry.js.map} +0 -0
- /package/dist/le-kit/{p-ec20e438.entry.js.map → p-b4dcb4df.entry.js.map} +0 -0
- /package/dist/le-kit/{p-2ec60692.entry.js.map → p-ccf4c548.entry.js.map} +0 -0
|
@@ -797,60 +797,38 @@
|
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
799
|
"kind": "javascript-module",
|
|
800
|
-
"path": "src/components/le-
|
|
800
|
+
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
801
801
|
"declarations": [
|
|
802
802
|
{
|
|
803
803
|
"kind": "class",
|
|
804
|
-
"description": "A
|
|
805
|
-
"name": "
|
|
804
|
+
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
805
|
+
"name": "LeCheckbox",
|
|
806
806
|
"cssProperties": [
|
|
807
807
|
{
|
|
808
|
-
"description": "
|
|
809
|
-
"name": "--le-
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"description": "Card border radius",
|
|
813
|
-
"name": "--le-card-border-radius"
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"description": "Card box shadow",
|
|
817
|
-
"name": "--le-card-shadow"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"description": "Card content padding",
|
|
821
|
-
"name": "--le-card-padding"
|
|
822
|
-
}
|
|
823
|
-
],
|
|
824
|
-
"cssParts": [
|
|
825
|
-
{
|
|
826
|
-
"description": "The main card container",
|
|
827
|
-
"name": "card"
|
|
808
|
+
"description": "Size of the checkbox input",
|
|
809
|
+
"name": "--le-checkbox-size"
|
|
828
810
|
},
|
|
829
811
|
{
|
|
830
|
-
"description": "
|
|
831
|
-
"name": "
|
|
812
|
+
"description": "Color of the checkbox when checked",
|
|
813
|
+
"name": "--le-checkbox-color"
|
|
832
814
|
},
|
|
833
815
|
{
|
|
834
|
-
"description": "
|
|
835
|
-
"name": "
|
|
816
|
+
"description": "Color of the label text",
|
|
817
|
+
"name": "--le-checkbox-label-color"
|
|
836
818
|
},
|
|
837
819
|
{
|
|
838
|
-
"description": "
|
|
839
|
-
"name": "
|
|
820
|
+
"description": "Color of the description text",
|
|
821
|
+
"name": "--le-checkbox-desc-color"
|
|
840
822
|
}
|
|
841
823
|
],
|
|
842
824
|
"slots": [
|
|
843
825
|
{
|
|
844
|
-
"description": "
|
|
845
|
-
"name": "header"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"description": "Default slot for main card content",
|
|
826
|
+
"description": "The label text for the checkbox",
|
|
849
827
|
"name": ""
|
|
850
828
|
},
|
|
851
829
|
{
|
|
852
|
-
"description": "
|
|
853
|
-
"name": "
|
|
830
|
+
"description": "Additional description text displayed below the label",
|
|
831
|
+
"name": "description"
|
|
854
832
|
}
|
|
855
833
|
],
|
|
856
834
|
"members": [
|
|
@@ -863,21 +841,50 @@
|
|
|
863
841
|
},
|
|
864
842
|
{
|
|
865
843
|
"kind": "field",
|
|
866
|
-
"name": "
|
|
844
|
+
"name": "checked",
|
|
867
845
|
"type": {
|
|
868
|
-
"text": "
|
|
846
|
+
"text": "boolean"
|
|
869
847
|
},
|
|
870
|
-
"default": "
|
|
871
|
-
"description": "
|
|
848
|
+
"default": "false",
|
|
849
|
+
"description": "Whether the checkbox is checked"
|
|
872
850
|
},
|
|
873
851
|
{
|
|
874
852
|
"kind": "field",
|
|
875
|
-
"name": "
|
|
853
|
+
"name": "disabled",
|
|
876
854
|
"type": {
|
|
877
855
|
"text": "boolean"
|
|
878
856
|
},
|
|
879
857
|
"default": "false",
|
|
880
|
-
"description": "Whether the
|
|
858
|
+
"description": "Whether the checkbox is disabled"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"kind": "field",
|
|
862
|
+
"name": "name",
|
|
863
|
+
"type": {
|
|
864
|
+
"text": "string"
|
|
865
|
+
},
|
|
866
|
+
"description": "The name of the checkbox input"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"kind": "field",
|
|
870
|
+
"name": "value",
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "string"
|
|
873
|
+
},
|
|
874
|
+
"description": "The value of the checkbox input"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"kind": "field",
|
|
878
|
+
"name": "externalId",
|
|
879
|
+
"type": {
|
|
880
|
+
"text": "string"
|
|
881
|
+
},
|
|
882
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"kind": "field",
|
|
886
|
+
"name": "handleChange",
|
|
887
|
+
"privacy": "private"
|
|
881
888
|
},
|
|
882
889
|
{
|
|
883
890
|
"kind": "method",
|
|
@@ -886,44 +893,76 @@
|
|
|
886
893
|
],
|
|
887
894
|
"attributes": [
|
|
888
895
|
{
|
|
889
|
-
"name": "
|
|
890
|
-
"fieldName": "
|
|
891
|
-
"default": "
|
|
892
|
-
"description": "
|
|
896
|
+
"name": "checked",
|
|
897
|
+
"fieldName": "checked",
|
|
898
|
+
"default": "false",
|
|
899
|
+
"description": "Whether the checkbox is checked",
|
|
893
900
|
"type": {
|
|
894
|
-
"text": "
|
|
901
|
+
"text": "boolean"
|
|
895
902
|
}
|
|
896
903
|
},
|
|
897
904
|
{
|
|
898
|
-
"name": "
|
|
899
|
-
"fieldName": "
|
|
905
|
+
"name": "disabled",
|
|
906
|
+
"fieldName": "disabled",
|
|
900
907
|
"default": "false",
|
|
901
|
-
"description": "Whether the
|
|
908
|
+
"description": "Whether the checkbox is disabled",
|
|
902
909
|
"type": {
|
|
903
910
|
"text": "boolean"
|
|
904
911
|
}
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "name",
|
|
915
|
+
"fieldName": "name",
|
|
916
|
+
"description": "The name of the checkbox input",
|
|
917
|
+
"type": {
|
|
918
|
+
"text": "string"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "value",
|
|
923
|
+
"fieldName": "value",
|
|
924
|
+
"description": "The value of the checkbox input",
|
|
925
|
+
"type": {
|
|
926
|
+
"text": "string"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "external-id",
|
|
931
|
+
"fieldName": "externalId",
|
|
932
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)",
|
|
933
|
+
"type": {
|
|
934
|
+
"text": "string"
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
],
|
|
938
|
+
"tagName": "le-checkbox",
|
|
939
|
+
"events": [
|
|
940
|
+
{
|
|
941
|
+
"name": "change",
|
|
942
|
+
"type": {
|
|
943
|
+
"text": "EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>"
|
|
944
|
+
},
|
|
945
|
+
"description": "Emitted when the checked state changes"
|
|
905
946
|
}
|
|
906
947
|
],
|
|
907
|
-
"tagName": "le-card",
|
|
908
|
-
"events": [],
|
|
909
948
|
"customElement": true
|
|
910
949
|
}
|
|
911
950
|
],
|
|
912
951
|
"exports": [
|
|
913
952
|
{
|
|
914
953
|
"kind": "js",
|
|
915
|
-
"name": "
|
|
954
|
+
"name": "LeCheckbox",
|
|
916
955
|
"declaration": {
|
|
917
|
-
"name": "
|
|
918
|
-
"module": "src/components/le-
|
|
956
|
+
"name": "LeCheckbox",
|
|
957
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
919
958
|
}
|
|
920
959
|
},
|
|
921
960
|
{
|
|
922
961
|
"kind": "custom-element-definition",
|
|
923
|
-
"name": "le-
|
|
962
|
+
"name": "le-checkbox",
|
|
924
963
|
"declaration": {
|
|
925
|
-
"name": "
|
|
926
|
-
"module": "src/components/le-
|
|
964
|
+
"name": "LeCheckbox",
|
|
965
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
927
966
|
}
|
|
928
967
|
}
|
|
929
968
|
]
|
|
@@ -1113,38 +1152,16 @@
|
|
|
1113
1152
|
},
|
|
1114
1153
|
{
|
|
1115
1154
|
"kind": "javascript-module",
|
|
1116
|
-
"path": "src/components/le-
|
|
1155
|
+
"path": "src/components/le-component/le-component.tsx",
|
|
1117
1156
|
"declarations": [
|
|
1118
1157
|
{
|
|
1119
1158
|
"kind": "class",
|
|
1120
|
-
"description": "
|
|
1121
|
-
"name": "
|
|
1122
|
-
"cssProperties": [
|
|
1123
|
-
{
|
|
1124
|
-
"description": "Size of the checkbox input",
|
|
1125
|
-
"name": "--le-checkbox-size"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"description": "Color of the checkbox when checked",
|
|
1129
|
-
"name": "--le-checkbox-color"
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"description": "Color of the label text",
|
|
1133
|
-
"name": "--le-checkbox-label-color"
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"description": "Color of the description text",
|
|
1137
|
-
"name": "--le-checkbox-desc-color"
|
|
1138
|
-
}
|
|
1139
|
-
],
|
|
1159
|
+
"description": "Component wrapper for admin mode editing.\n\nThis component is used internally by other components to provide admin-mode\nediting capabilities. It wraps the component's rendered output and shows\na settings popover for editing properties.\n\nIn default mode, it acts as a simple passthrough (display: contents).\nIn admin mode, it shows a border, component name header, and settings popover.\n\nThe host element is found automatically by traversing up through the shadow DOM.\n\nUsage inside a component's render method:\n```tsx\nrender() {\n return (\n <le-component component=\"le-card\">\n <Host>...</Host>\n </le-component>\n );\n}\n```",
|
|
1160
|
+
"name": "LeComponent",
|
|
1140
1161
|
"slots": [
|
|
1141
1162
|
{
|
|
1142
|
-
"description": "The
|
|
1163
|
+
"description": "The component's rendered content",
|
|
1143
1164
|
"name": ""
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"description": "Additional description text displayed below the label",
|
|
1147
|
-
"name": "description"
|
|
1148
1165
|
}
|
|
1149
1166
|
],
|
|
1150
1167
|
"members": [
|
|
@@ -1157,218 +1174,68 @@
|
|
|
1157
1174
|
},
|
|
1158
1175
|
{
|
|
1159
1176
|
"kind": "field",
|
|
1160
|
-
"name": "
|
|
1177
|
+
"name": "component",
|
|
1161
1178
|
"type": {
|
|
1162
|
-
"text": "
|
|
1179
|
+
"text": "string"
|
|
1163
1180
|
},
|
|
1164
|
-
"
|
|
1165
|
-
"description": "Whether the checkbox is checked"
|
|
1181
|
+
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name."
|
|
1166
1182
|
},
|
|
1167
1183
|
{
|
|
1168
1184
|
"kind": "field",
|
|
1169
|
-
"name": "
|
|
1185
|
+
"name": "displayName",
|
|
1170
1186
|
"type": {
|
|
1171
|
-
"text": "
|
|
1187
|
+
"text": "string | undefined"
|
|
1172
1188
|
},
|
|
1173
|
-
"
|
|
1174
|
-
"description": "Whether the checkbox is disabled"
|
|
1189
|
+
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name."
|
|
1175
1190
|
},
|
|
1176
1191
|
{
|
|
1177
1192
|
"kind": "field",
|
|
1178
|
-
"name": "
|
|
1193
|
+
"name": "hostClass",
|
|
1179
1194
|
"type": {
|
|
1180
|
-
"text": "string"
|
|
1195
|
+
"text": "string | undefined"
|
|
1181
1196
|
},
|
|
1182
|
-
"description": "
|
|
1197
|
+
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes."
|
|
1183
1198
|
},
|
|
1184
1199
|
{
|
|
1185
1200
|
"kind": "field",
|
|
1186
|
-
"name": "
|
|
1201
|
+
"name": "hostStyle",
|
|
1187
1202
|
"type": {
|
|
1188
|
-
"text": "string"
|
|
1203
|
+
"text": "{ [key: string]: string } | undefined"
|
|
1189
1204
|
},
|
|
1190
|
-
"description": "
|
|
1205
|
+
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties)."
|
|
1191
1206
|
},
|
|
1192
1207
|
{
|
|
1193
1208
|
"kind": "field",
|
|
1194
|
-
"name": "
|
|
1209
|
+
"name": "hostElement",
|
|
1195
1210
|
"type": {
|
|
1196
|
-
"text": "
|
|
1211
|
+
"text": "HTMLElement | undefined"
|
|
1197
1212
|
},
|
|
1198
|
-
"
|
|
1213
|
+
"privacy": "private",
|
|
1214
|
+
"description": "Reference to the host element (found automatically from parent)"
|
|
1199
1215
|
},
|
|
1200
1216
|
{
|
|
1201
1217
|
"kind": "field",
|
|
1202
|
-
"name": "
|
|
1203
|
-
"privacy": "private"
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"kind": "method",
|
|
1207
|
-
"name": "render"
|
|
1208
|
-
}
|
|
1209
|
-
],
|
|
1210
|
-
"attributes": [
|
|
1211
|
-
{
|
|
1212
|
-
"name": "checked",
|
|
1213
|
-
"fieldName": "checked",
|
|
1214
|
-
"default": "false",
|
|
1215
|
-
"description": "Whether the checkbox is checked",
|
|
1218
|
+
"name": "adminMode",
|
|
1216
1219
|
"type": {
|
|
1217
1220
|
"text": "boolean"
|
|
1218
|
-
}
|
|
1221
|
+
},
|
|
1222
|
+
"privacy": "private",
|
|
1223
|
+
"default": "false",
|
|
1224
|
+
"description": "Internal state to track admin mode"
|
|
1219
1225
|
},
|
|
1220
1226
|
{
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"default": "false",
|
|
1224
|
-
"description": "Whether the checkbox is disabled",
|
|
1227
|
+
"kind": "field",
|
|
1228
|
+
"name": "componentMeta",
|
|
1225
1229
|
"type": {
|
|
1226
|
-
"text": "
|
|
1227
|
-
}
|
|
1230
|
+
"text": "ComponentMetadata | null"
|
|
1231
|
+
},
|
|
1232
|
+
"privacy": "private",
|
|
1233
|
+
"default": "null",
|
|
1234
|
+
"description": "Component metadata loaded from Custom Elements Manifest"
|
|
1228
1235
|
},
|
|
1229
1236
|
{
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"description": "The name of the checkbox input",
|
|
1233
|
-
"type": {
|
|
1234
|
-
"text": "string"
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "value",
|
|
1239
|
-
"fieldName": "value",
|
|
1240
|
-
"description": "The value of the checkbox input",
|
|
1241
|
-
"type": {
|
|
1242
|
-
"text": "string"
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
"name": "external-id",
|
|
1247
|
-
"fieldName": "externalId",
|
|
1248
|
-
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)",
|
|
1249
|
-
"type": {
|
|
1250
|
-
"text": "string"
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
],
|
|
1254
|
-
"tagName": "le-checkbox",
|
|
1255
|
-
"events": [
|
|
1256
|
-
{
|
|
1257
|
-
"name": "change",
|
|
1258
|
-
"type": {
|
|
1259
|
-
"text": "EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>"
|
|
1260
|
-
},
|
|
1261
|
-
"description": "Emitted when the checked state changes"
|
|
1262
|
-
}
|
|
1263
|
-
],
|
|
1264
|
-
"customElement": true
|
|
1265
|
-
}
|
|
1266
|
-
],
|
|
1267
|
-
"exports": [
|
|
1268
|
-
{
|
|
1269
|
-
"kind": "js",
|
|
1270
|
-
"name": "LeCheckbox",
|
|
1271
|
-
"declaration": {
|
|
1272
|
-
"name": "LeCheckbox",
|
|
1273
|
-
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
"kind": "custom-element-definition",
|
|
1278
|
-
"name": "le-checkbox",
|
|
1279
|
-
"declaration": {
|
|
1280
|
-
"name": "LeCheckbox",
|
|
1281
|
-
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
]
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
"kind": "javascript-module",
|
|
1288
|
-
"path": "src/components/le-component/le-component.tsx",
|
|
1289
|
-
"declarations": [
|
|
1290
|
-
{
|
|
1291
|
-
"kind": "class",
|
|
1292
|
-
"description": "Component wrapper for admin mode editing.\n\nThis component is used internally by other components to provide admin-mode\nediting capabilities. It wraps the component's rendered output and shows\na settings popover for editing properties.\n\nIn default mode, it acts as a simple passthrough (display: contents).\nIn admin mode, it shows a border, component name header, and settings popover.\n\nThe host element is found automatically by traversing up through the shadow DOM.\n\nUsage inside a component's render method:\n```tsx\nrender() {\n return (\n <le-component component=\"le-card\">\n <Host>...</Host>\n </le-component>\n );\n}\n```",
|
|
1293
|
-
"name": "LeComponent",
|
|
1294
|
-
"slots": [
|
|
1295
|
-
{
|
|
1296
|
-
"description": "The component's rendered content",
|
|
1297
|
-
"name": ""
|
|
1298
|
-
}
|
|
1299
|
-
],
|
|
1300
|
-
"members": [
|
|
1301
|
-
{
|
|
1302
|
-
"kind": "field",
|
|
1303
|
-
"name": "el",
|
|
1304
|
-
"type": {
|
|
1305
|
-
"text": "HTMLElement"
|
|
1306
|
-
}
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"kind": "field",
|
|
1310
|
-
"name": "component",
|
|
1311
|
-
"type": {
|
|
1312
|
-
"text": "string"
|
|
1313
|
-
},
|
|
1314
|
-
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name."
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
"kind": "field",
|
|
1318
|
-
"name": "displayName",
|
|
1319
|
-
"type": {
|
|
1320
|
-
"text": "string | undefined"
|
|
1321
|
-
},
|
|
1322
|
-
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name."
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"kind": "field",
|
|
1326
|
-
"name": "hostClass",
|
|
1327
|
-
"type": {
|
|
1328
|
-
"text": "string | undefined"
|
|
1329
|
-
},
|
|
1330
|
-
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes."
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"kind": "field",
|
|
1334
|
-
"name": "hostStyle",
|
|
1335
|
-
"type": {
|
|
1336
|
-
"text": "{ [key: string]: string } | undefined"
|
|
1337
|
-
},
|
|
1338
|
-
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties)."
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"kind": "field",
|
|
1342
|
-
"name": "hostElement",
|
|
1343
|
-
"type": {
|
|
1344
|
-
"text": "HTMLElement | undefined"
|
|
1345
|
-
},
|
|
1346
|
-
"privacy": "private",
|
|
1347
|
-
"description": "Reference to the host element (found automatically from parent)"
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
"kind": "field",
|
|
1351
|
-
"name": "adminMode",
|
|
1352
|
-
"type": {
|
|
1353
|
-
"text": "boolean"
|
|
1354
|
-
},
|
|
1355
|
-
"privacy": "private",
|
|
1356
|
-
"default": "false",
|
|
1357
|
-
"description": "Internal state to track admin mode"
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
"kind": "field",
|
|
1361
|
-
"name": "componentMeta",
|
|
1362
|
-
"type": {
|
|
1363
|
-
"text": "ComponentMetadata | null"
|
|
1364
|
-
},
|
|
1365
|
-
"privacy": "private",
|
|
1366
|
-
"default": "null",
|
|
1367
|
-
"description": "Component metadata loaded from Custom Elements Manifest"
|
|
1368
|
-
},
|
|
1369
|
-
{
|
|
1370
|
-
"kind": "field",
|
|
1371
|
-
"name": "propertyValues",
|
|
1237
|
+
"kind": "field",
|
|
1238
|
+
"name": "propertyValues",
|
|
1372
1239
|
"type": {
|
|
1373
1240
|
"text": "Record<string, any>"
|
|
1374
1241
|
},
|
|
@@ -1584,108 +1451,241 @@
|
|
|
1584
1451
|
},
|
|
1585
1452
|
{
|
|
1586
1453
|
"kind": "javascript-module",
|
|
1587
|
-
"path": "src/components/le-
|
|
1454
|
+
"path": "src/components/le-card/le-card.tsx",
|
|
1588
1455
|
"declarations": [
|
|
1589
1456
|
{
|
|
1590
1457
|
"kind": "class",
|
|
1591
|
-
"description": "A
|
|
1592
|
-
"name": "
|
|
1593
|
-
"
|
|
1458
|
+
"description": "A flexible card component with header, content, and footer slots.\n\nThe card uses le-slot wrappers for each slot area. In admin mode,\nle-slot shows placeholders for CMS editing. In default mode,\nle-slot acts as a transparent passthrough.",
|
|
1459
|
+
"name": "LeCard",
|
|
1460
|
+
"cssProperties": [
|
|
1594
1461
|
{
|
|
1595
|
-
"
|
|
1596
|
-
"name": "
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "HTMLElement"
|
|
1599
|
-
}
|
|
1462
|
+
"description": "Card background color",
|
|
1463
|
+
"name": "--le-card-bg"
|
|
1600
1464
|
},
|
|
1601
1465
|
{
|
|
1602
|
-
"
|
|
1603
|
-
"name": "
|
|
1604
|
-
"type": {
|
|
1605
|
-
"text": "LeOption[] | string"
|
|
1606
|
-
},
|
|
1607
|
-
"default": "[]",
|
|
1608
|
-
"description": "The options to display in the dropdown."
|
|
1466
|
+
"description": "Card border radius",
|
|
1467
|
+
"name": "--le-card-border-radius"
|
|
1609
1468
|
},
|
|
1610
1469
|
{
|
|
1611
|
-
"
|
|
1612
|
-
"name": "
|
|
1613
|
-
"type": {
|
|
1614
|
-
"text": "LeOptionValue | undefined"
|
|
1615
|
-
},
|
|
1616
|
-
"description": "The currently selected value."
|
|
1470
|
+
"description": "Card box shadow",
|
|
1471
|
+
"name": "--le-card-shadow"
|
|
1617
1472
|
},
|
|
1618
1473
|
{
|
|
1619
|
-
"
|
|
1620
|
-
"name": "
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
"description": "
|
|
1474
|
+
"description": "Card content padding",
|
|
1475
|
+
"name": "--le-card-padding"
|
|
1476
|
+
}
|
|
1477
|
+
],
|
|
1478
|
+
"cssParts": [
|
|
1479
|
+
{
|
|
1480
|
+
"description": "The main card container",
|
|
1481
|
+
"name": "card"
|
|
1626
1482
|
},
|
|
1627
1483
|
{
|
|
1628
|
-
"
|
|
1629
|
-
"name": "
|
|
1630
|
-
"type": {
|
|
1631
|
-
"text": "boolean"
|
|
1632
|
-
},
|
|
1633
|
-
"default": "false",
|
|
1634
|
-
"description": "Whether the combobox is disabled."
|
|
1484
|
+
"description": "The card header section",
|
|
1485
|
+
"name": "header"
|
|
1635
1486
|
},
|
|
1636
1487
|
{
|
|
1637
|
-
"
|
|
1638
|
-
"name": "
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "boolean"
|
|
1641
|
-
},
|
|
1642
|
-
"default": "false",
|
|
1643
|
-
"description": "Whether selection is required."
|
|
1488
|
+
"description": "The card content section",
|
|
1489
|
+
"name": "content"
|
|
1644
1490
|
},
|
|
1645
1491
|
{
|
|
1646
|
-
"
|
|
1647
|
-
"name": "
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1492
|
+
"description": "The card footer section",
|
|
1493
|
+
"name": "footer"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"slots": [
|
|
1497
|
+
{
|
|
1498
|
+
"description": "Card header content (title, actions)",
|
|
1499
|
+
"name": "header"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"description": "Default slot for main card content",
|
|
1503
|
+
"name": ""
|
|
1652
1504
|
},
|
|
1505
|
+
{
|
|
1506
|
+
"description": "Card footer content (buttons, links)",
|
|
1507
|
+
"name": "footer"
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"members": [
|
|
1653
1511
|
{
|
|
1654
1512
|
"kind": "field",
|
|
1655
|
-
"name": "
|
|
1513
|
+
"name": "el",
|
|
1656
1514
|
"type": {
|
|
1657
|
-
"text": "
|
|
1658
|
-
}
|
|
1659
|
-
"default": "false",
|
|
1660
|
-
"description": "Whether the multiselect should take full width of its container."
|
|
1515
|
+
"text": "HTMLElement"
|
|
1516
|
+
}
|
|
1661
1517
|
},
|
|
1662
1518
|
{
|
|
1663
1519
|
"kind": "field",
|
|
1664
|
-
"name": "
|
|
1520
|
+
"name": "variant",
|
|
1665
1521
|
"type": {
|
|
1666
|
-
"text": "'
|
|
1522
|
+
"text": "'default' | 'outlined' | 'elevated'"
|
|
1667
1523
|
},
|
|
1668
|
-
"default": "'
|
|
1669
|
-
"description": "
|
|
1524
|
+
"default": "'default'",
|
|
1525
|
+
"description": "Card variant style"
|
|
1670
1526
|
},
|
|
1671
1527
|
{
|
|
1672
1528
|
"kind": "field",
|
|
1673
|
-
"name": "
|
|
1529
|
+
"name": "interactive",
|
|
1674
1530
|
"type": {
|
|
1675
1531
|
"text": "boolean"
|
|
1676
1532
|
},
|
|
1677
1533
|
"default": "false",
|
|
1678
|
-
"description": "Whether
|
|
1534
|
+
"description": "Whether the card is interactive (clickable)"
|
|
1679
1535
|
},
|
|
1680
1536
|
{
|
|
1681
|
-
"kind": "
|
|
1682
|
-
"name": "
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
"
|
|
1688
|
-
|
|
1537
|
+
"kind": "method",
|
|
1538
|
+
"name": "render"
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
"attributes": [
|
|
1542
|
+
{
|
|
1543
|
+
"name": "variant",
|
|
1544
|
+
"fieldName": "variant",
|
|
1545
|
+
"default": "'default'",
|
|
1546
|
+
"description": "Card variant style",
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "'default' | 'outlined' | 'elevated'"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"name": "interactive",
|
|
1553
|
+
"fieldName": "interactive",
|
|
1554
|
+
"default": "false",
|
|
1555
|
+
"description": "Whether the card is interactive (clickable)",
|
|
1556
|
+
"type": {
|
|
1557
|
+
"text": "boolean"
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
],
|
|
1561
|
+
"tagName": "le-card",
|
|
1562
|
+
"events": [],
|
|
1563
|
+
"customElement": true
|
|
1564
|
+
}
|
|
1565
|
+
],
|
|
1566
|
+
"exports": [
|
|
1567
|
+
{
|
|
1568
|
+
"kind": "js",
|
|
1569
|
+
"name": "LeCard",
|
|
1570
|
+
"declaration": {
|
|
1571
|
+
"name": "LeCard",
|
|
1572
|
+
"module": "src/components/le-card/le-card.tsx"
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"kind": "custom-element-definition",
|
|
1577
|
+
"name": "le-card",
|
|
1578
|
+
"declaration": {
|
|
1579
|
+
"name": "LeCard",
|
|
1580
|
+
"module": "src/components/le-card/le-card.tsx"
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
]
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "javascript-module",
|
|
1587
|
+
"path": "src/components/le-combobox/le-combobox.tsx",
|
|
1588
|
+
"declarations": [
|
|
1589
|
+
{
|
|
1590
|
+
"kind": "class",
|
|
1591
|
+
"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.",
|
|
1592
|
+
"name": "LeCombobox",
|
|
1593
|
+
"members": [
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "field",
|
|
1596
|
+
"name": "el",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "HTMLElement"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"kind": "field",
|
|
1603
|
+
"name": "options",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "LeOption[] | string"
|
|
1606
|
+
},
|
|
1607
|
+
"default": "[]",
|
|
1608
|
+
"description": "The options to display in the dropdown."
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"kind": "field",
|
|
1612
|
+
"name": "value",
|
|
1613
|
+
"type": {
|
|
1614
|
+
"text": "LeOptionValue | undefined"
|
|
1615
|
+
},
|
|
1616
|
+
"description": "The currently selected value."
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"kind": "field",
|
|
1620
|
+
"name": "placeholder",
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": "string"
|
|
1623
|
+
},
|
|
1624
|
+
"default": "'Type to search...'",
|
|
1625
|
+
"description": "Placeholder text for the input."
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"kind": "field",
|
|
1629
|
+
"name": "disabled",
|
|
1630
|
+
"type": {
|
|
1631
|
+
"text": "boolean"
|
|
1632
|
+
},
|
|
1633
|
+
"default": "false",
|
|
1634
|
+
"description": "Whether the combobox is disabled."
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"kind": "field",
|
|
1638
|
+
"name": "required",
|
|
1639
|
+
"type": {
|
|
1640
|
+
"text": "boolean"
|
|
1641
|
+
},
|
|
1642
|
+
"default": "false",
|
|
1643
|
+
"description": "Whether selection is required."
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "field",
|
|
1647
|
+
"name": "name",
|
|
1648
|
+
"type": {
|
|
1649
|
+
"text": "string | undefined"
|
|
1650
|
+
},
|
|
1651
|
+
"description": "Name attribute for form submission."
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "field",
|
|
1655
|
+
"name": "fullWidth",
|
|
1656
|
+
"type": {
|
|
1657
|
+
"text": "boolean"
|
|
1658
|
+
},
|
|
1659
|
+
"default": "false",
|
|
1660
|
+
"description": "Whether the multiselect should take full width of its container."
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"kind": "field",
|
|
1664
|
+
"name": "size",
|
|
1665
|
+
"type": {
|
|
1666
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1667
|
+
},
|
|
1668
|
+
"default": "'medium'",
|
|
1669
|
+
"description": "Size variant of the combobox."
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"kind": "field",
|
|
1673
|
+
"name": "allowCustom",
|
|
1674
|
+
"type": {
|
|
1675
|
+
"text": "boolean"
|
|
1676
|
+
},
|
|
1677
|
+
"default": "false",
|
|
1678
|
+
"description": "Whether to allow custom values not in the options list."
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"kind": "field",
|
|
1682
|
+
"name": "minSearchLength",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "number"
|
|
1685
|
+
},
|
|
1686
|
+
"default": "0",
|
|
1687
|
+
"description": "Minimum characters before showing filtered results."
|
|
1688
|
+
},
|
|
1689
1689
|
{
|
|
1690
1690
|
"kind": "field",
|
|
1691
1691
|
"name": "emptyText",
|
|
@@ -3796,12 +3796,12 @@
|
|
|
3796
3796
|
},
|
|
3797
3797
|
{
|
|
3798
3798
|
"kind": "field",
|
|
3799
|
-
"name": "
|
|
3799
|
+
"name": "align",
|
|
3800
3800
|
"type": {
|
|
3801
|
-
"text": "'start' | 'end'"
|
|
3801
|
+
"text": "'start' | 'end' | 'center' | 'space-between'"
|
|
3802
3802
|
},
|
|
3803
3803
|
"default": "'start'",
|
|
3804
|
-
"description": "Alignment of the
|
|
3804
|
+
"description": "Alignment of the menu items within the navigation bar."
|
|
3805
3805
|
},
|
|
3806
3806
|
{
|
|
3807
3807
|
"kind": "field",
|
|
@@ -4366,12 +4366,12 @@
|
|
|
4366
4366
|
}
|
|
4367
4367
|
},
|
|
4368
4368
|
{
|
|
4369
|
-
"name": "
|
|
4370
|
-
"fieldName": "
|
|
4369
|
+
"name": "align",
|
|
4370
|
+
"fieldName": "align",
|
|
4371
4371
|
"default": "'start'",
|
|
4372
|
-
"description": "Alignment of the
|
|
4372
|
+
"description": "Alignment of the menu items within the navigation bar.",
|
|
4373
4373
|
"type": {
|
|
4374
|
-
"text": "'start' | 'end'"
|
|
4374
|
+
"text": "'start' | 'end' | 'center' | 'space-between'"
|
|
4375
4375
|
}
|
|
4376
4376
|
},
|
|
4377
4377
|
{
|
|
@@ -6894,15 +6894,27 @@
|
|
|
6894
6894
|
},
|
|
6895
6895
|
{
|
|
6896
6896
|
"kind": "javascript-module",
|
|
6897
|
-
"path": "src/components/le-
|
|
6897
|
+
"path": "src/components/le-stack/le-stack.tsx",
|
|
6898
6898
|
"declarations": [
|
|
6899
6899
|
{
|
|
6900
6900
|
"kind": "class",
|
|
6901
|
-
"description": "
|
|
6902
|
-
"name": "
|
|
6901
|
+
"description": "A flexible stack layout component using CSS flexbox.\n\n`le-stack` arranges its children in a row (horizontal) or column (vertical)\nwith configurable spacing, alignment, and wrapping behavior. Perfect for\ncreating responsive layouts.",
|
|
6902
|
+
"name": "LeStack",
|
|
6903
|
+
"cssProperties": [
|
|
6904
|
+
{
|
|
6905
|
+
"description": "Gap between items (defaults to var(--le-space-md))",
|
|
6906
|
+
"name": "--le-stack-gap"
|
|
6907
|
+
}
|
|
6908
|
+
],
|
|
6909
|
+
"cssParts": [
|
|
6910
|
+
{
|
|
6911
|
+
"description": "The main stack container",
|
|
6912
|
+
"name": "stack"
|
|
6913
|
+
}
|
|
6914
|
+
],
|
|
6903
6915
|
"slots": [
|
|
6904
6916
|
{
|
|
6905
|
-
"description": "Default slot for
|
|
6917
|
+
"description": "Default slot for stack items (le-box components recommended)",
|
|
6906
6918
|
"name": ""
|
|
6907
6919
|
}
|
|
6908
6920
|
],
|
|
@@ -6916,676 +6928,664 @@
|
|
|
6916
6928
|
},
|
|
6917
6929
|
{
|
|
6918
6930
|
"kind": "field",
|
|
6919
|
-
"name": "
|
|
6920
|
-
"type": {
|
|
6921
|
-
"text": "'slot' | 'text' | 'textarea'"
|
|
6922
|
-
},
|
|
6923
|
-
"default": "'slot'",
|
|
6924
|
-
"description": "The type of slot content.\n- `slot`: Default, shows a dropzone for components (default)\n- `text`: Shows a single-line text input\n- `textarea`: Shows a multi-line text area"
|
|
6925
|
-
},
|
|
6926
|
-
{
|
|
6927
|
-
"kind": "field",
|
|
6928
|
-
"name": "name",
|
|
6931
|
+
"name": "direction",
|
|
6929
6932
|
"type": {
|
|
6930
|
-
"text": "
|
|
6933
|
+
"text": "'horizontal' | 'vertical'"
|
|
6931
6934
|
},
|
|
6932
|
-
"default": "''",
|
|
6933
|
-
"description": "
|
|
6935
|
+
"default": "'horizontal'",
|
|
6936
|
+
"description": "Direction of the stack layout"
|
|
6934
6937
|
},
|
|
6935
6938
|
{
|
|
6936
6939
|
"kind": "field",
|
|
6937
|
-
"name": "
|
|
6940
|
+
"name": "gap",
|
|
6938
6941
|
"type": {
|
|
6939
6942
|
"text": "string | undefined"
|
|
6940
6943
|
},
|
|
6941
|
-
"description": "
|
|
6944
|
+
"description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')"
|
|
6942
6945
|
},
|
|
6943
6946
|
{
|
|
6944
6947
|
"kind": "field",
|
|
6945
|
-
"name": "
|
|
6948
|
+
"name": "align",
|
|
6946
6949
|
"type": {
|
|
6947
|
-
"text": "
|
|
6950
|
+
"text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
6948
6951
|
},
|
|
6949
|
-
"
|
|
6952
|
+
"default": "'stretch'",
|
|
6953
|
+
"description": "Alignment of items on the cross axis"
|
|
6950
6954
|
},
|
|
6951
6955
|
{
|
|
6952
6956
|
"kind": "field",
|
|
6953
|
-
"name": "
|
|
6957
|
+
"name": "justify",
|
|
6954
6958
|
"type": {
|
|
6955
|
-
"text": "
|
|
6959
|
+
"text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
|
|
6956
6960
|
},
|
|
6957
|
-
"
|
|
6961
|
+
"default": "'start'",
|
|
6962
|
+
"description": "Distribution of items on the main axis"
|
|
6958
6963
|
},
|
|
6959
6964
|
{
|
|
6960
6965
|
"kind": "field",
|
|
6961
|
-
"name": "
|
|
6966
|
+
"name": "wrap",
|
|
6962
6967
|
"type": {
|
|
6963
6968
|
"text": "boolean"
|
|
6964
6969
|
},
|
|
6965
|
-
"default": "
|
|
6966
|
-
"description": "Whether
|
|
6970
|
+
"default": "false",
|
|
6971
|
+
"description": "Whether items should wrap to multiple lines"
|
|
6967
6972
|
},
|
|
6968
6973
|
{
|
|
6969
6974
|
"kind": "field",
|
|
6970
|
-
"name": "
|
|
6975
|
+
"name": "alignContent",
|
|
6971
6976
|
"type": {
|
|
6972
|
-
"text": "
|
|
6977
|
+
"text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
|
|
6973
6978
|
},
|
|
6974
|
-
"default": "
|
|
6975
|
-
"description": "
|
|
6979
|
+
"default": "'stretch'",
|
|
6980
|
+
"description": "Alignment of wrapped lines (only applies when wrap is true)"
|
|
6976
6981
|
},
|
|
6977
6982
|
{
|
|
6978
6983
|
"kind": "field",
|
|
6979
|
-
"name": "
|
|
6984
|
+
"name": "reverse",
|
|
6980
6985
|
"type": {
|
|
6981
|
-
"text": "
|
|
6986
|
+
"text": "boolean"
|
|
6982
6987
|
},
|
|
6983
|
-
"
|
|
6988
|
+
"default": "false",
|
|
6989
|
+
"description": "Whether to reverse the order of items"
|
|
6984
6990
|
},
|
|
6985
6991
|
{
|
|
6986
6992
|
"kind": "field",
|
|
6987
|
-
"name": "
|
|
6993
|
+
"name": "maxItems",
|
|
6988
6994
|
"type": {
|
|
6989
|
-
"text": "
|
|
6995
|
+
"text": "number | undefined"
|
|
6990
6996
|
},
|
|
6991
|
-
"description": "
|
|
6997
|
+
"description": "Maximum number of items allowed in the stack (for CMS validation)"
|
|
6992
6998
|
},
|
|
6993
6999
|
{
|
|
6994
7000
|
"kind": "field",
|
|
6995
|
-
"name": "
|
|
7001
|
+
"name": "fullWidth",
|
|
6996
7002
|
"type": {
|
|
6997
|
-
"text": "
|
|
7003
|
+
"text": "boolean"
|
|
6998
7004
|
},
|
|
6999
|
-
"
|
|
7005
|
+
"default": "false",
|
|
7006
|
+
"description": "Whether the stack should take full width of its container"
|
|
7000
7007
|
},
|
|
7001
7008
|
{
|
|
7002
7009
|
"kind": "field",
|
|
7003
|
-
"name": "
|
|
7010
|
+
"name": "fullHeight",
|
|
7004
7011
|
"type": {
|
|
7005
7012
|
"text": "boolean"
|
|
7006
7013
|
},
|
|
7007
|
-
"privacy": "private",
|
|
7008
7014
|
"default": "false",
|
|
7009
|
-
"description": "
|
|
7015
|
+
"description": "Whether the stack should take full height of its container"
|
|
7010
7016
|
},
|
|
7011
7017
|
{
|
|
7012
7018
|
"kind": "field",
|
|
7013
|
-
"name": "
|
|
7019
|
+
"name": "padding",
|
|
7014
7020
|
"type": {
|
|
7015
|
-
"text": "string"
|
|
7021
|
+
"text": "string | undefined"
|
|
7016
7022
|
},
|
|
7017
|
-
"
|
|
7018
|
-
"default": "''",
|
|
7019
|
-
"description": "Internal state for text input value (synced from slot content)"
|
|
7020
|
-
},
|
|
7021
|
-
{
|
|
7022
|
-
"kind": "field",
|
|
7023
|
-
"name": "isValidHtml",
|
|
7024
|
-
"type": {
|
|
7025
|
-
"text": "boolean"
|
|
7026
|
-
},
|
|
7027
|
-
"privacy": "private",
|
|
7028
|
-
"default": "true",
|
|
7029
|
-
"description": "Whether the current textValue contains valid HTML"
|
|
7030
|
-
},
|
|
7031
|
-
{
|
|
7032
|
-
"kind": "field",
|
|
7033
|
-
"name": "availableComponents",
|
|
7034
|
-
"type": {
|
|
7035
|
-
"text": "ComponentInfo[]"
|
|
7036
|
-
},
|
|
7037
|
-
"privacy": "private",
|
|
7038
|
-
"default": "[]",
|
|
7039
|
-
"description": "Available components loaded from Custom Elements Manifest"
|
|
7040
|
-
},
|
|
7041
|
-
{
|
|
7042
|
-
"kind": "field",
|
|
7043
|
-
"name": "pickerOpen",
|
|
7044
|
-
"type": {
|
|
7045
|
-
"text": "boolean"
|
|
7046
|
-
},
|
|
7047
|
-
"privacy": "private",
|
|
7048
|
-
"default": "false",
|
|
7049
|
-
"description": "Whether the component picker popover is open"
|
|
7050
|
-
},
|
|
7051
|
-
{
|
|
7052
|
-
"kind": "field",
|
|
7053
|
-
"name": "slotRef",
|
|
7054
|
-
"type": {
|
|
7055
|
-
"text": "HTMLSlotElement | undefined"
|
|
7056
|
-
},
|
|
7057
|
-
"privacy": "private",
|
|
7058
|
-
"description": "Reference to the slot element to access assignedNodes"
|
|
7059
|
-
},
|
|
7060
|
-
{
|
|
7061
|
-
"kind": "field",
|
|
7062
|
-
"name": "slottedElement",
|
|
7063
|
-
"type": {
|
|
7064
|
-
"text": "Element | undefined"
|
|
7065
|
-
},
|
|
7066
|
-
"privacy": "private",
|
|
7067
|
-
"description": "The original slotted element (e.g., <h3 slot=\"header\">)"
|
|
7068
|
-
},
|
|
7069
|
-
{
|
|
7070
|
-
"kind": "field",
|
|
7071
|
-
"name": "disconnectModeObserver",
|
|
7072
|
-
"type": {
|
|
7073
|
-
"text": "() => void | undefined"
|
|
7074
|
-
},
|
|
7075
|
-
"privacy": "private"
|
|
7076
|
-
},
|
|
7077
|
-
{
|
|
7078
|
-
"kind": "field",
|
|
7079
|
-
"name": "isUpdating",
|
|
7080
|
-
"type": {
|
|
7081
|
-
"text": "boolean"
|
|
7082
|
-
},
|
|
7083
|
-
"privacy": "private",
|
|
7084
|
-
"default": "false",
|
|
7085
|
-
"description": "Flag to prevent re-reading content right after we updated it"
|
|
7086
|
-
},
|
|
7087
|
-
{
|
|
7088
|
-
"kind": "method",
|
|
7089
|
-
"name": "readSlottedContent",
|
|
7090
|
-
"privacy": "private",
|
|
7091
|
-
"description": "Read content from slotted elements via assignedNodes()"
|
|
7023
|
+
"description": "Padding inside the stack container (CSS value)"
|
|
7092
7024
|
},
|
|
7093
7025
|
{
|
|
7094
7026
|
"kind": "method",
|
|
7095
|
-
"name": "
|
|
7027
|
+
"name": "getFlexDirection",
|
|
7096
7028
|
"privacy": "private",
|
|
7097
7029
|
"return": {
|
|
7098
7030
|
"type": {
|
|
7099
|
-
"text": "
|
|
7100
|
-
}
|
|
7101
|
-
},
|
|
7102
|
-
"parameters": [
|
|
7103
|
-
{
|
|
7104
|
-
"name": "html",
|
|
7105
|
-
"type": {
|
|
7106
|
-
"text": "string"
|
|
7107
|
-
}
|
|
7031
|
+
"text": "string"
|
|
7108
7032
|
}
|
|
7109
|
-
|
|
7110
|
-
"description": "Validates if a string contains valid HTML"
|
|
7111
|
-
},
|
|
7112
|
-
{
|
|
7113
|
-
"kind": "field",
|
|
7114
|
-
"name": "handleTextInput",
|
|
7115
|
-
"privacy": "private"
|
|
7116
|
-
},
|
|
7117
|
-
{
|
|
7118
|
-
"kind": "method",
|
|
7119
|
-
"name": "createSlottedElement",
|
|
7120
|
-
"privacy": "private",
|
|
7121
|
-
"description": "Create a new slotted element when none exists.\nThe element is appended to the host component's light DOM."
|
|
7033
|
+
}
|
|
7122
7034
|
},
|
|
7123
7035
|
{
|
|
7124
7036
|
"kind": "method",
|
|
7125
|
-
"name": "
|
|
7037
|
+
"name": "getAlignItems",
|
|
7126
7038
|
"privacy": "private",
|
|
7127
|
-
"
|
|
7039
|
+
"return": {
|
|
7040
|
+
"type": {
|
|
7041
|
+
"text": "string"
|
|
7042
|
+
}
|
|
7043
|
+
}
|
|
7128
7044
|
},
|
|
7129
7045
|
{
|
|
7130
7046
|
"kind": "method",
|
|
7131
|
-
"name": "
|
|
7047
|
+
"name": "getJustifyContent",
|
|
7132
7048
|
"privacy": "private",
|
|
7133
7049
|
"return": {
|
|
7134
7050
|
"type": {
|
|
7135
7051
|
"text": "string"
|
|
7136
7052
|
}
|
|
7137
|
-
}
|
|
7138
|
-
"parameters": [
|
|
7139
|
-
{
|
|
7140
|
-
"name": "tagName",
|
|
7141
|
-
"type": {
|
|
7142
|
-
"text": "string"
|
|
7143
|
-
}
|
|
7144
|
-
}
|
|
7145
|
-
],
|
|
7146
|
-
"description": "Format a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
7053
|
+
}
|
|
7147
7054
|
},
|
|
7148
7055
|
{
|
|
7149
7056
|
"kind": "method",
|
|
7150
|
-
"name": "
|
|
7057
|
+
"name": "getAlignContent",
|
|
7151
7058
|
"privacy": "private",
|
|
7152
|
-
"
|
|
7153
|
-
{
|
|
7154
|
-
"
|
|
7155
|
-
"type": {
|
|
7156
|
-
"text": "string"
|
|
7157
|
-
}
|
|
7059
|
+
"return": {
|
|
7060
|
+
"type": {
|
|
7061
|
+
"text": "string"
|
|
7158
7062
|
}
|
|
7159
|
-
|
|
7160
|
-
"description": "Add a new component to the slot"
|
|
7161
|
-
},
|
|
7162
|
-
{
|
|
7163
|
-
"kind": "field",
|
|
7164
|
-
"name": "handleSlotChange",
|
|
7165
|
-
"privacy": "private",
|
|
7166
|
-
"description": "Handle slot change event to re-read content when nodes are assigned"
|
|
7063
|
+
}
|
|
7167
7064
|
},
|
|
7168
7065
|
{
|
|
7169
7066
|
"kind": "method",
|
|
7170
7067
|
"name": "render"
|
|
7171
|
-
},
|
|
7172
|
-
{
|
|
7173
|
-
"kind": "method",
|
|
7174
|
-
"name": "renderContent",
|
|
7175
|
-
"privacy": "private"
|
|
7176
7068
|
}
|
|
7177
7069
|
],
|
|
7178
7070
|
"attributes": [
|
|
7179
7071
|
{
|
|
7180
|
-
"name": "
|
|
7181
|
-
"fieldName": "
|
|
7182
|
-
"default": "'
|
|
7183
|
-
"description": "
|
|
7072
|
+
"name": "direction",
|
|
7073
|
+
"fieldName": "direction",
|
|
7074
|
+
"default": "'horizontal'",
|
|
7075
|
+
"description": "Direction of the stack layout",
|
|
7184
7076
|
"type": {
|
|
7185
|
-
"text": "'
|
|
7077
|
+
"text": "'horizontal' | 'vertical'"
|
|
7186
7078
|
}
|
|
7187
7079
|
},
|
|
7188
7080
|
{
|
|
7189
|
-
"name": "
|
|
7190
|
-
"fieldName": "
|
|
7191
|
-
"
|
|
7192
|
-
"description": "The name of the slot this placeholder represents.\nShould match the slot name in the parent component.",
|
|
7081
|
+
"name": "gap",
|
|
7082
|
+
"fieldName": "gap",
|
|
7083
|
+
"description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')",
|
|
7193
7084
|
"type": {
|
|
7194
7085
|
"text": "string"
|
|
7195
7086
|
}
|
|
7196
7087
|
},
|
|
7197
7088
|
{
|
|
7198
|
-
"name": "
|
|
7199
|
-
"fieldName": "
|
|
7200
|
-
"
|
|
7089
|
+
"name": "align",
|
|
7090
|
+
"fieldName": "align",
|
|
7091
|
+
"default": "'stretch'",
|
|
7092
|
+
"description": "Alignment of items on the cross axis",
|
|
7201
7093
|
"type": {
|
|
7202
|
-
"text": "
|
|
7094
|
+
"text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
7203
7095
|
}
|
|
7204
7096
|
},
|
|
7205
7097
|
{
|
|
7206
|
-
"name": "
|
|
7207
|
-
"fieldName": "
|
|
7208
|
-
"
|
|
7098
|
+
"name": "justify",
|
|
7099
|
+
"fieldName": "justify",
|
|
7100
|
+
"default": "'start'",
|
|
7101
|
+
"description": "Distribution of items on the main axis",
|
|
7209
7102
|
"type": {
|
|
7210
|
-
"text": "
|
|
7103
|
+
"text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
|
|
7211
7104
|
}
|
|
7212
7105
|
},
|
|
7213
7106
|
{
|
|
7214
|
-
"name": "
|
|
7215
|
-
"fieldName": "
|
|
7216
|
-
"
|
|
7107
|
+
"name": "wrap",
|
|
7108
|
+
"fieldName": "wrap",
|
|
7109
|
+
"default": "false",
|
|
7110
|
+
"description": "Whether items should wrap to multiple lines",
|
|
7217
7111
|
"type": {
|
|
7218
|
-
"text": "
|
|
7112
|
+
"text": "boolean"
|
|
7219
7113
|
}
|
|
7220
7114
|
},
|
|
7221
7115
|
{
|
|
7222
|
-
"name": "
|
|
7223
|
-
"fieldName": "
|
|
7224
|
-
"default": "
|
|
7225
|
-
"description": "
|
|
7116
|
+
"name": "align-content",
|
|
7117
|
+
"fieldName": "alignContent",
|
|
7118
|
+
"default": "'stretch'",
|
|
7119
|
+
"description": "Alignment of wrapped lines (only applies when wrap is true)",
|
|
7226
7120
|
"type": {
|
|
7227
|
-
"text": "
|
|
7121
|
+
"text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
|
|
7228
7122
|
}
|
|
7229
7123
|
},
|
|
7230
7124
|
{
|
|
7231
|
-
"name": "
|
|
7232
|
-
"fieldName": "
|
|
7125
|
+
"name": "reverse",
|
|
7126
|
+
"fieldName": "reverse",
|
|
7233
7127
|
"default": "false",
|
|
7234
|
-
"description": "Whether
|
|
7128
|
+
"description": "Whether to reverse the order of items",
|
|
7235
7129
|
"type": {
|
|
7236
7130
|
"text": "boolean"
|
|
7237
7131
|
}
|
|
7238
7132
|
},
|
|
7239
7133
|
{
|
|
7240
|
-
"name": "
|
|
7241
|
-
"fieldName": "
|
|
7242
|
-
"description": "
|
|
7134
|
+
"name": "max-items",
|
|
7135
|
+
"fieldName": "maxItems",
|
|
7136
|
+
"description": "Maximum number of items allowed in the stack (for CMS validation)",
|
|
7243
7137
|
"type": {
|
|
7244
|
-
"text": "
|
|
7138
|
+
"text": "number"
|
|
7245
7139
|
}
|
|
7246
7140
|
},
|
|
7247
7141
|
{
|
|
7248
|
-
"name": "
|
|
7249
|
-
"fieldName": "
|
|
7250
|
-
"
|
|
7142
|
+
"name": "full-width",
|
|
7143
|
+
"fieldName": "fullWidth",
|
|
7144
|
+
"default": "false",
|
|
7145
|
+
"description": "Whether the stack should take full width of its container",
|
|
7251
7146
|
"type": {
|
|
7252
|
-
"text": "
|
|
7147
|
+
"text": "boolean"
|
|
7253
7148
|
}
|
|
7254
7149
|
},
|
|
7255
7150
|
{
|
|
7256
|
-
"name": "
|
|
7257
|
-
"fieldName": "
|
|
7258
|
-
"
|
|
7151
|
+
"name": "full-height",
|
|
7152
|
+
"fieldName": "fullHeight",
|
|
7153
|
+
"default": "false",
|
|
7154
|
+
"description": "Whether the stack should take full height of its container",
|
|
7259
7155
|
"type": {
|
|
7260
|
-
"text": "
|
|
7156
|
+
"text": "boolean"
|
|
7261
7157
|
}
|
|
7262
|
-
}
|
|
7263
|
-
],
|
|
7264
|
-
"tagName": "le-slot",
|
|
7265
|
-
"events": [
|
|
7158
|
+
},
|
|
7266
7159
|
{
|
|
7267
|
-
"name": "
|
|
7160
|
+
"name": "padding",
|
|
7161
|
+
"fieldName": "padding",
|
|
7162
|
+
"description": "Padding inside the stack container (CSS value)",
|
|
7268
7163
|
"type": {
|
|
7269
|
-
"text": "
|
|
7270
|
-
}
|
|
7271
|
-
"description": "Emitted when text content changes in admin mode.\nThe event detail contains the new text value and validity."
|
|
7164
|
+
"text": "string"
|
|
7165
|
+
}
|
|
7272
7166
|
}
|
|
7273
7167
|
],
|
|
7168
|
+
"tagName": "le-stack",
|
|
7169
|
+
"events": [],
|
|
7274
7170
|
"customElement": true
|
|
7275
7171
|
}
|
|
7276
7172
|
],
|
|
7277
7173
|
"exports": [
|
|
7278
7174
|
{
|
|
7279
7175
|
"kind": "js",
|
|
7280
|
-
"name": "
|
|
7176
|
+
"name": "LeStack",
|
|
7281
7177
|
"declaration": {
|
|
7282
|
-
"name": "
|
|
7283
|
-
"module": "src/components/le-
|
|
7178
|
+
"name": "LeStack",
|
|
7179
|
+
"module": "src/components/le-stack/le-stack.tsx"
|
|
7284
7180
|
}
|
|
7285
7181
|
},
|
|
7286
7182
|
{
|
|
7287
7183
|
"kind": "custom-element-definition",
|
|
7288
|
-
"name": "le-
|
|
7184
|
+
"name": "le-stack",
|
|
7289
7185
|
"declaration": {
|
|
7290
|
-
"name": "
|
|
7291
|
-
"module": "src/components/le-
|
|
7186
|
+
"name": "LeStack",
|
|
7187
|
+
"module": "src/components/le-stack/le-stack.tsx"
|
|
7292
7188
|
}
|
|
7293
7189
|
}
|
|
7294
7190
|
]
|
|
7295
7191
|
},
|
|
7296
7192
|
{
|
|
7297
7193
|
"kind": "javascript-module",
|
|
7298
|
-
"path": "src/components/le-
|
|
7194
|
+
"path": "src/components/le-slot/le-slot.tsx",
|
|
7299
7195
|
"declarations": [
|
|
7300
7196
|
{
|
|
7301
7197
|
"kind": "class",
|
|
7302
|
-
"description": "
|
|
7303
|
-
"name": "
|
|
7304
|
-
"cssProperties": [
|
|
7305
|
-
{
|
|
7306
|
-
"description": "Gap between items (defaults to var(--le-space-md))",
|
|
7307
|
-
"name": "--le-stack-gap"
|
|
7308
|
-
}
|
|
7309
|
-
],
|
|
7310
|
-
"cssParts": [
|
|
7311
|
-
{
|
|
7312
|
-
"description": "The main stack container",
|
|
7313
|
-
"name": "stack"
|
|
7314
|
-
}
|
|
7315
|
-
],
|
|
7198
|
+
"description": "Slot placeholder component for admin/CMS mode.\n\nThis component renders a visual placeholder for slots when in admin mode,\nallowing CMS systems to show available drop zones for content or inline editing.\n\nIn non-admin mode, this component renders nothing and acts as a passthrough.",
|
|
7199
|
+
"name": "LeSlot",
|
|
7316
7200
|
"slots": [
|
|
7317
7201
|
{
|
|
7318
|
-
"description": "Default slot for
|
|
7202
|
+
"description": "Default slot for placeholder content or drop zone UI",
|
|
7319
7203
|
"name": ""
|
|
7320
7204
|
}
|
|
7321
7205
|
],
|
|
7322
7206
|
"members": [
|
|
7323
7207
|
{
|
|
7324
7208
|
"kind": "field",
|
|
7325
|
-
"name": "el",
|
|
7209
|
+
"name": "el",
|
|
7210
|
+
"type": {
|
|
7211
|
+
"text": "HTMLElement"
|
|
7212
|
+
}
|
|
7213
|
+
},
|
|
7214
|
+
{
|
|
7215
|
+
"kind": "field",
|
|
7216
|
+
"name": "type",
|
|
7217
|
+
"type": {
|
|
7218
|
+
"text": "'slot' | 'text' | 'textarea'"
|
|
7219
|
+
},
|
|
7220
|
+
"default": "'slot'",
|
|
7221
|
+
"description": "The type of slot content.\n- `slot`: Default, shows a dropzone for components (default)\n- `text`: Shows a single-line text input\n- `textarea`: Shows a multi-line text area"
|
|
7222
|
+
},
|
|
7223
|
+
{
|
|
7224
|
+
"kind": "field",
|
|
7225
|
+
"name": "name",
|
|
7226
|
+
"type": {
|
|
7227
|
+
"text": "string"
|
|
7228
|
+
},
|
|
7229
|
+
"default": "''",
|
|
7230
|
+
"description": "The name of the slot this placeholder represents.\nShould match the slot name in the parent component."
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
"kind": "field",
|
|
7234
|
+
"name": "label",
|
|
7235
|
+
"type": {
|
|
7236
|
+
"text": "string | undefined"
|
|
7237
|
+
},
|
|
7238
|
+
"description": "Label to display in admin mode.\nIf not provided, the slot name will be used."
|
|
7239
|
+
},
|
|
7240
|
+
{
|
|
7241
|
+
"kind": "field",
|
|
7242
|
+
"name": "description",
|
|
7243
|
+
"type": {
|
|
7244
|
+
"text": "string | undefined"
|
|
7245
|
+
},
|
|
7246
|
+
"description": "Description of what content this slot accepts.\nShown in admin mode to guide content editors."
|
|
7247
|
+
},
|
|
7248
|
+
{
|
|
7249
|
+
"kind": "field",
|
|
7250
|
+
"name": "allowedComponents",
|
|
7251
|
+
"type": {
|
|
7252
|
+
"text": "string | undefined"
|
|
7253
|
+
},
|
|
7254
|
+
"description": "Comma-separated list of allowed component tags for this slot.\nUsed by CMS to filter available components."
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
"kind": "field",
|
|
7258
|
+
"name": "multiple",
|
|
7259
|
+
"type": {
|
|
7260
|
+
"text": "boolean"
|
|
7261
|
+
},
|
|
7262
|
+
"default": "true",
|
|
7263
|
+
"description": "Whether multiple components can be dropped in this slot."
|
|
7264
|
+
},
|
|
7265
|
+
{
|
|
7266
|
+
"kind": "field",
|
|
7267
|
+
"name": "required",
|
|
7326
7268
|
"type": {
|
|
7327
|
-
"text": "
|
|
7328
|
-
}
|
|
7269
|
+
"text": "boolean"
|
|
7270
|
+
},
|
|
7271
|
+
"default": "false",
|
|
7272
|
+
"description": "Whether this slot is required to have content."
|
|
7329
7273
|
},
|
|
7330
7274
|
{
|
|
7331
7275
|
"kind": "field",
|
|
7332
|
-
"name": "
|
|
7276
|
+
"name": "placeholder",
|
|
7333
7277
|
"type": {
|
|
7334
|
-
"text": "
|
|
7278
|
+
"text": "string | undefined"
|
|
7335
7279
|
},
|
|
7336
|
-
"
|
|
7337
|
-
"description": "Direction of the stack layout"
|
|
7280
|
+
"description": "Placeholder text for text/textarea inputs in admin mode."
|
|
7338
7281
|
},
|
|
7339
7282
|
{
|
|
7340
7283
|
"kind": "field",
|
|
7341
|
-
"name": "
|
|
7284
|
+
"name": "tag",
|
|
7342
7285
|
"type": {
|
|
7343
7286
|
"text": "string | undefined"
|
|
7344
7287
|
},
|
|
7345
|
-
"description": "
|
|
7288
|
+
"description": "The HTML tag to create when there's no slotted element.\nUsed with type=\"text\" or type=\"textarea\" to auto-create elements."
|
|
7346
7289
|
},
|
|
7347
7290
|
{
|
|
7348
7291
|
"kind": "field",
|
|
7349
|
-
"name": "
|
|
7292
|
+
"name": "slotStyle",
|
|
7350
7293
|
"type": {
|
|
7351
|
-
"text": "
|
|
7294
|
+
"text": "string | undefined"
|
|
7352
7295
|
},
|
|
7353
|
-
"
|
|
7354
|
-
"description": "Alignment of items on the cross axis"
|
|
7296
|
+
"description": "CSS styles for the slot dropzone container.\nUseful for layouts - e.g., \"flex-direction: row\" for horizontal stacks.\nOnly applies in admin mode for type=\"slot\"."
|
|
7355
7297
|
},
|
|
7356
7298
|
{
|
|
7357
7299
|
"kind": "field",
|
|
7358
|
-
"name": "
|
|
7300
|
+
"name": "adminMode",
|
|
7359
7301
|
"type": {
|
|
7360
|
-
"text": "
|
|
7302
|
+
"text": "boolean"
|
|
7361
7303
|
},
|
|
7362
|
-
"
|
|
7363
|
-
"
|
|
7304
|
+
"privacy": "private",
|
|
7305
|
+
"default": "false",
|
|
7306
|
+
"description": "Internal state to track admin mode"
|
|
7364
7307
|
},
|
|
7365
7308
|
{
|
|
7366
7309
|
"kind": "field",
|
|
7367
|
-
"name": "
|
|
7310
|
+
"name": "textValue",
|
|
7311
|
+
"type": {
|
|
7312
|
+
"text": "string"
|
|
7313
|
+
},
|
|
7314
|
+
"privacy": "private",
|
|
7315
|
+
"default": "''",
|
|
7316
|
+
"description": "Internal state for text input value (synced from slot content)"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"kind": "field",
|
|
7320
|
+
"name": "isValidHtml",
|
|
7368
7321
|
"type": {
|
|
7369
7322
|
"text": "boolean"
|
|
7370
7323
|
},
|
|
7371
|
-
"
|
|
7372
|
-
"
|
|
7324
|
+
"privacy": "private",
|
|
7325
|
+
"default": "true",
|
|
7326
|
+
"description": "Whether the current textValue contains valid HTML"
|
|
7373
7327
|
},
|
|
7374
7328
|
{
|
|
7375
7329
|
"kind": "field",
|
|
7376
|
-
"name": "
|
|
7330
|
+
"name": "availableComponents",
|
|
7377
7331
|
"type": {
|
|
7378
|
-
"text": "
|
|
7332
|
+
"text": "ComponentInfo[]"
|
|
7379
7333
|
},
|
|
7380
|
-
"
|
|
7381
|
-
"
|
|
7334
|
+
"privacy": "private",
|
|
7335
|
+
"default": "[]",
|
|
7336
|
+
"description": "Available components loaded from Custom Elements Manifest"
|
|
7382
7337
|
},
|
|
7383
7338
|
{
|
|
7384
7339
|
"kind": "field",
|
|
7385
|
-
"name": "
|
|
7340
|
+
"name": "pickerOpen",
|
|
7386
7341
|
"type": {
|
|
7387
7342
|
"text": "boolean"
|
|
7388
7343
|
},
|
|
7344
|
+
"privacy": "private",
|
|
7389
7345
|
"default": "false",
|
|
7390
|
-
"description": "Whether
|
|
7346
|
+
"description": "Whether the component picker popover is open"
|
|
7391
7347
|
},
|
|
7392
7348
|
{
|
|
7393
7349
|
"kind": "field",
|
|
7394
|
-
"name": "
|
|
7350
|
+
"name": "slotRef",
|
|
7395
7351
|
"type": {
|
|
7396
|
-
"text": "
|
|
7352
|
+
"text": "HTMLSlotElement | undefined"
|
|
7397
7353
|
},
|
|
7398
|
-
"
|
|
7354
|
+
"privacy": "private",
|
|
7355
|
+
"description": "Reference to the slot element to access assignedNodes"
|
|
7399
7356
|
},
|
|
7400
7357
|
{
|
|
7401
7358
|
"kind": "field",
|
|
7402
|
-
"name": "
|
|
7359
|
+
"name": "slottedElement",
|
|
7403
7360
|
"type": {
|
|
7404
|
-
"text": "
|
|
7361
|
+
"text": "Element | undefined"
|
|
7405
7362
|
},
|
|
7406
|
-
"
|
|
7407
|
-
"description": "
|
|
7363
|
+
"privacy": "private",
|
|
7364
|
+
"description": "The original slotted element (e.g., <h3 slot=\"header\">)"
|
|
7408
7365
|
},
|
|
7409
7366
|
{
|
|
7410
7367
|
"kind": "field",
|
|
7411
|
-
"name": "
|
|
7368
|
+
"name": "disconnectModeObserver",
|
|
7412
7369
|
"type": {
|
|
7413
|
-
"text": "
|
|
7370
|
+
"text": "() => void | undefined"
|
|
7414
7371
|
},
|
|
7415
|
-
"
|
|
7416
|
-
"description": "Whether the stack should take full height of its container"
|
|
7372
|
+
"privacy": "private"
|
|
7417
7373
|
},
|
|
7418
7374
|
{
|
|
7419
7375
|
"kind": "field",
|
|
7420
|
-
"name": "
|
|
7376
|
+
"name": "isUpdating",
|
|
7421
7377
|
"type": {
|
|
7422
|
-
"text": "
|
|
7378
|
+
"text": "boolean"
|
|
7423
7379
|
},
|
|
7424
|
-
"
|
|
7380
|
+
"privacy": "private",
|
|
7381
|
+
"default": "false",
|
|
7382
|
+
"description": "Flag to prevent re-reading content right after we updated it"
|
|
7425
7383
|
},
|
|
7426
7384
|
{
|
|
7427
7385
|
"kind": "method",
|
|
7428
|
-
"name": "
|
|
7386
|
+
"name": "readSlottedContent",
|
|
7429
7387
|
"privacy": "private",
|
|
7430
|
-
"
|
|
7431
|
-
"type": {
|
|
7432
|
-
"text": "string"
|
|
7433
|
-
}
|
|
7434
|
-
}
|
|
7388
|
+
"description": "Read content from slotted elements via assignedNodes()"
|
|
7435
7389
|
},
|
|
7436
7390
|
{
|
|
7437
7391
|
"kind": "method",
|
|
7438
|
-
"name": "
|
|
7392
|
+
"name": "validateHtml",
|
|
7439
7393
|
"privacy": "private",
|
|
7440
7394
|
"return": {
|
|
7441
7395
|
"type": {
|
|
7442
|
-
"text": "
|
|
7396
|
+
"text": "boolean"
|
|
7443
7397
|
}
|
|
7444
|
-
}
|
|
7398
|
+
},
|
|
7399
|
+
"parameters": [
|
|
7400
|
+
{
|
|
7401
|
+
"name": "html",
|
|
7402
|
+
"type": {
|
|
7403
|
+
"text": "string"
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
],
|
|
7407
|
+
"description": "Validates if a string contains valid HTML"
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
"kind": "field",
|
|
7411
|
+
"name": "handleTextInput",
|
|
7412
|
+
"privacy": "private"
|
|
7445
7413
|
},
|
|
7446
7414
|
{
|
|
7447
7415
|
"kind": "method",
|
|
7448
|
-
"name": "
|
|
7416
|
+
"name": "createSlottedElement",
|
|
7417
|
+
"privacy": "private",
|
|
7418
|
+
"description": "Create a new slotted element when none exists.\nThe element is appended to the host component's light DOM."
|
|
7419
|
+
},
|
|
7420
|
+
{
|
|
7421
|
+
"kind": "method",
|
|
7422
|
+
"name": "loadAvailableComponents",
|
|
7423
|
+
"privacy": "private",
|
|
7424
|
+
"description": "Load available components from Custom Elements Manifest"
|
|
7425
|
+
},
|
|
7426
|
+
{
|
|
7427
|
+
"kind": "method",
|
|
7428
|
+
"name": "formatComponentName",
|
|
7449
7429
|
"privacy": "private",
|
|
7450
7430
|
"return": {
|
|
7451
7431
|
"type": {
|
|
7452
7432
|
"text": "string"
|
|
7453
7433
|
}
|
|
7454
|
-
}
|
|
7434
|
+
},
|
|
7435
|
+
"parameters": [
|
|
7436
|
+
{
|
|
7437
|
+
"name": "tagName",
|
|
7438
|
+
"type": {
|
|
7439
|
+
"text": "string"
|
|
7440
|
+
}
|
|
7441
|
+
}
|
|
7442
|
+
],
|
|
7443
|
+
"description": "Format a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
7455
7444
|
},
|
|
7456
7445
|
{
|
|
7457
7446
|
"kind": "method",
|
|
7458
|
-
"name": "
|
|
7447
|
+
"name": "addComponent",
|
|
7459
7448
|
"privacy": "private",
|
|
7460
|
-
"
|
|
7461
|
-
|
|
7462
|
-
"
|
|
7449
|
+
"parameters": [
|
|
7450
|
+
{
|
|
7451
|
+
"name": "tagName",
|
|
7452
|
+
"type": {
|
|
7453
|
+
"text": "string"
|
|
7454
|
+
}
|
|
7463
7455
|
}
|
|
7464
|
-
|
|
7456
|
+
],
|
|
7457
|
+
"description": "Add a new component to the slot"
|
|
7458
|
+
},
|
|
7459
|
+
{
|
|
7460
|
+
"kind": "field",
|
|
7461
|
+
"name": "handleSlotChange",
|
|
7462
|
+
"privacy": "private",
|
|
7463
|
+
"description": "Handle slot change event to re-read content when nodes are assigned"
|
|
7465
7464
|
},
|
|
7466
7465
|
{
|
|
7467
7466
|
"kind": "method",
|
|
7468
7467
|
"name": "render"
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"kind": "method",
|
|
7471
|
+
"name": "renderContent",
|
|
7472
|
+
"privacy": "private"
|
|
7469
7473
|
}
|
|
7470
7474
|
],
|
|
7471
7475
|
"attributes": [
|
|
7472
7476
|
{
|
|
7473
|
-
"name": "
|
|
7474
|
-
"fieldName": "
|
|
7475
|
-
"default": "'
|
|
7476
|
-
"description": "
|
|
7477
|
+
"name": "type",
|
|
7478
|
+
"fieldName": "type",
|
|
7479
|
+
"default": "'slot'",
|
|
7480
|
+
"description": "The type of slot content.\n- `slot`: Default, shows a dropzone for components (default)\n- `text`: Shows a single-line text input\n- `textarea`: Shows a multi-line text area",
|
|
7477
7481
|
"type": {
|
|
7478
|
-
"text": "'
|
|
7482
|
+
"text": "'slot' | 'text' | 'textarea'"
|
|
7479
7483
|
}
|
|
7480
7484
|
},
|
|
7481
7485
|
{
|
|
7482
|
-
"name": "
|
|
7483
|
-
"fieldName": "
|
|
7484
|
-
"
|
|
7486
|
+
"name": "name",
|
|
7487
|
+
"fieldName": "name",
|
|
7488
|
+
"default": "''",
|
|
7489
|
+
"description": "The name of the slot this placeholder represents.\nShould match the slot name in the parent component.",
|
|
7485
7490
|
"type": {
|
|
7486
7491
|
"text": "string"
|
|
7487
7492
|
}
|
|
7488
7493
|
},
|
|
7489
7494
|
{
|
|
7490
|
-
"name": "
|
|
7491
|
-
"fieldName": "
|
|
7492
|
-
"
|
|
7493
|
-
"description": "Alignment of items on the cross axis",
|
|
7495
|
+
"name": "label",
|
|
7496
|
+
"fieldName": "label",
|
|
7497
|
+
"description": "Label to display in admin mode.\nIf not provided, the slot name will be used.",
|
|
7494
7498
|
"type": {
|
|
7495
|
-
"text": "
|
|
7499
|
+
"text": "string"
|
|
7496
7500
|
}
|
|
7497
7501
|
},
|
|
7498
7502
|
{
|
|
7499
|
-
"name": "
|
|
7500
|
-
"fieldName": "
|
|
7501
|
-
"
|
|
7502
|
-
"description": "Distribution of items on the main axis",
|
|
7503
|
+
"name": "description",
|
|
7504
|
+
"fieldName": "description",
|
|
7505
|
+
"description": "Description of what content this slot accepts.\nShown in admin mode to guide content editors.",
|
|
7503
7506
|
"type": {
|
|
7504
|
-
"text": "
|
|
7507
|
+
"text": "string"
|
|
7505
7508
|
}
|
|
7506
7509
|
},
|
|
7507
7510
|
{
|
|
7508
|
-
"name": "
|
|
7509
|
-
"fieldName": "
|
|
7510
|
-
"
|
|
7511
|
-
"description": "Whether items should wrap to multiple lines",
|
|
7511
|
+
"name": "allowed-components",
|
|
7512
|
+
"fieldName": "allowedComponents",
|
|
7513
|
+
"description": "Comma-separated list of allowed component tags for this slot.\nUsed by CMS to filter available components.",
|
|
7512
7514
|
"type": {
|
|
7513
|
-
"text": "
|
|
7515
|
+
"text": "string"
|
|
7514
7516
|
}
|
|
7515
7517
|
},
|
|
7516
7518
|
{
|
|
7517
|
-
"name": "
|
|
7518
|
-
"fieldName": "
|
|
7519
|
-
"default": "
|
|
7520
|
-
"description": "
|
|
7519
|
+
"name": "multiple",
|
|
7520
|
+
"fieldName": "multiple",
|
|
7521
|
+
"default": "true",
|
|
7522
|
+
"description": "Whether multiple components can be dropped in this slot.",
|
|
7521
7523
|
"type": {
|
|
7522
|
-
"text": "
|
|
7524
|
+
"text": "boolean"
|
|
7523
7525
|
}
|
|
7524
7526
|
},
|
|
7525
7527
|
{
|
|
7526
|
-
"name": "
|
|
7527
|
-
"fieldName": "
|
|
7528
|
+
"name": "required",
|
|
7529
|
+
"fieldName": "required",
|
|
7528
7530
|
"default": "false",
|
|
7529
|
-
"description": "Whether
|
|
7531
|
+
"description": "Whether this slot is required to have content.",
|
|
7530
7532
|
"type": {
|
|
7531
7533
|
"text": "boolean"
|
|
7532
7534
|
}
|
|
7533
7535
|
},
|
|
7534
7536
|
{
|
|
7535
|
-
"name": "
|
|
7536
|
-
"fieldName": "
|
|
7537
|
-
"description": "
|
|
7538
|
-
"type": {
|
|
7539
|
-
"text": "number"
|
|
7540
|
-
}
|
|
7541
|
-
},
|
|
7542
|
-
{
|
|
7543
|
-
"name": "full-width",
|
|
7544
|
-
"fieldName": "fullWidth",
|
|
7545
|
-
"default": "false",
|
|
7546
|
-
"description": "Whether the stack should take full width of its container",
|
|
7537
|
+
"name": "placeholder",
|
|
7538
|
+
"fieldName": "placeholder",
|
|
7539
|
+
"description": "Placeholder text for text/textarea inputs in admin mode.",
|
|
7547
7540
|
"type": {
|
|
7548
|
-
"text": "
|
|
7541
|
+
"text": "string"
|
|
7549
7542
|
}
|
|
7550
7543
|
},
|
|
7551
7544
|
{
|
|
7552
|
-
"name": "
|
|
7553
|
-
"fieldName": "
|
|
7554
|
-
"
|
|
7555
|
-
"description": "Whether the stack should take full height of its container",
|
|
7545
|
+
"name": "tag",
|
|
7546
|
+
"fieldName": "tag",
|
|
7547
|
+
"description": "The HTML tag to create when there's no slotted element.\nUsed with type=\"text\" or type=\"textarea\" to auto-create elements.",
|
|
7556
7548
|
"type": {
|
|
7557
|
-
"text": "
|
|
7549
|
+
"text": "string"
|
|
7558
7550
|
}
|
|
7559
7551
|
},
|
|
7560
7552
|
{
|
|
7561
|
-
"name": "
|
|
7562
|
-
"fieldName": "
|
|
7563
|
-
"description": "
|
|
7553
|
+
"name": "slot-style",
|
|
7554
|
+
"fieldName": "slotStyle",
|
|
7555
|
+
"description": "CSS styles for the slot dropzone container.\nUseful for layouts - e.g., \"flex-direction: row\" for horizontal stacks.\nOnly applies in admin mode for type=\"slot\".",
|
|
7564
7556
|
"type": {
|
|
7565
7557
|
"text": "string"
|
|
7566
7558
|
}
|
|
7567
7559
|
}
|
|
7568
7560
|
],
|
|
7569
|
-
"tagName": "le-
|
|
7570
|
-
"events": [
|
|
7561
|
+
"tagName": "le-slot",
|
|
7562
|
+
"events": [
|
|
7563
|
+
{
|
|
7564
|
+
"name": "leSlotChange",
|
|
7565
|
+
"type": {
|
|
7566
|
+
"text": "EventEmitter<{ name: string; value: string; isValid: boolean }>"
|
|
7567
|
+
},
|
|
7568
|
+
"description": "Emitted when text content changes in admin mode.\nThe event detail contains the new text value and validity."
|
|
7569
|
+
}
|
|
7570
|
+
],
|
|
7571
7571
|
"customElement": true
|
|
7572
7572
|
}
|
|
7573
7573
|
],
|
|
7574
7574
|
"exports": [
|
|
7575
7575
|
{
|
|
7576
7576
|
"kind": "js",
|
|
7577
|
-
"name": "
|
|
7577
|
+
"name": "LeSlot",
|
|
7578
7578
|
"declaration": {
|
|
7579
|
-
"name": "
|
|
7580
|
-
"module": "src/components/le-
|
|
7579
|
+
"name": "LeSlot",
|
|
7580
|
+
"module": "src/components/le-slot/le-slot.tsx"
|
|
7581
7581
|
}
|
|
7582
7582
|
},
|
|
7583
7583
|
{
|
|
7584
7584
|
"kind": "custom-element-definition",
|
|
7585
|
-
"name": "le-
|
|
7585
|
+
"name": "le-slot",
|
|
7586
7586
|
"declaration": {
|
|
7587
|
-
"name": "
|
|
7588
|
-
"module": "src/components/le-
|
|
7587
|
+
"name": "LeSlot",
|
|
7588
|
+
"module": "src/components/le-slot/le-slot.tsx"
|
|
7589
7589
|
}
|
|
7590
7590
|
}
|
|
7591
7591
|
]
|
|
@@ -9489,47 +9489,264 @@
|
|
|
9489
9489
|
"default": "'medium'",
|
|
9490
9490
|
"description": "The size of the tag.",
|
|
9491
9491
|
"type": {
|
|
9492
|
-
"text": "'small' | 'medium' | 'large'"
|
|
9492
|
+
"text": "'small' | 'medium' | 'large'"
|
|
9493
|
+
}
|
|
9494
|
+
},
|
|
9495
|
+
{
|
|
9496
|
+
"name": "variant",
|
|
9497
|
+
"fieldName": "variant",
|
|
9498
|
+
"default": "'default'",
|
|
9499
|
+
"description": "The visual variant of the tag.",
|
|
9500
|
+
"type": {
|
|
9501
|
+
"text": "'default' | 'primary' | 'success' | 'warning' | 'danger'"
|
|
9502
|
+
}
|
|
9503
|
+
}
|
|
9504
|
+
],
|
|
9505
|
+
"tagName": "le-tag",
|
|
9506
|
+
"events": [
|
|
9507
|
+
{
|
|
9508
|
+
"name": "leDismiss",
|
|
9509
|
+
"type": {
|
|
9510
|
+
"text": "EventEmitter<void>"
|
|
9511
|
+
},
|
|
9512
|
+
"description": "Emitted when the dismiss button is clicked."
|
|
9513
|
+
}
|
|
9514
|
+
],
|
|
9515
|
+
"customElement": true
|
|
9516
|
+
}
|
|
9517
|
+
],
|
|
9518
|
+
"exports": [
|
|
9519
|
+
{
|
|
9520
|
+
"kind": "js",
|
|
9521
|
+
"name": "LeTag",
|
|
9522
|
+
"declaration": {
|
|
9523
|
+
"name": "LeTag",
|
|
9524
|
+
"module": "src/components/le-tag/le-tag.tsx"
|
|
9525
|
+
}
|
|
9526
|
+
},
|
|
9527
|
+
{
|
|
9528
|
+
"kind": "custom-element-definition",
|
|
9529
|
+
"name": "le-tag",
|
|
9530
|
+
"declaration": {
|
|
9531
|
+
"name": "LeTag",
|
|
9532
|
+
"module": "src/components/le-tag/le-tag.tsx"
|
|
9533
|
+
}
|
|
9534
|
+
}
|
|
9535
|
+
]
|
|
9536
|
+
},
|
|
9537
|
+
{
|
|
9538
|
+
"kind": "javascript-module",
|
|
9539
|
+
"path": "src/components/le-turntable/le-turntable.tsx",
|
|
9540
|
+
"declarations": [
|
|
9541
|
+
{
|
|
9542
|
+
"kind": "class",
|
|
9543
|
+
"description": "",
|
|
9544
|
+
"name": "LeTurntable",
|
|
9545
|
+
"members": [
|
|
9546
|
+
{
|
|
9547
|
+
"kind": "field",
|
|
9548
|
+
"name": "el",
|
|
9549
|
+
"type": {
|
|
9550
|
+
"text": "HTMLElement"
|
|
9551
|
+
}
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"kind": "field",
|
|
9555
|
+
"name": "center",
|
|
9556
|
+
"type": {
|
|
9557
|
+
"text": "string"
|
|
9558
|
+
},
|
|
9559
|
+
"default": "'center'"
|
|
9560
|
+
},
|
|
9561
|
+
{
|
|
9562
|
+
"kind": "field",
|
|
9563
|
+
"name": "value",
|
|
9564
|
+
"type": {
|
|
9565
|
+
"text": "number"
|
|
9566
|
+
},
|
|
9567
|
+
"default": "0"
|
|
9568
|
+
},
|
|
9569
|
+
{
|
|
9570
|
+
"kind": "method",
|
|
9571
|
+
"name": "updateValue",
|
|
9572
|
+
"parameters": [
|
|
9573
|
+
{
|
|
9574
|
+
"name": "newValue"
|
|
9575
|
+
}
|
|
9576
|
+
]
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"kind": "field",
|
|
9580
|
+
"name": "rotating",
|
|
9581
|
+
"type": {
|
|
9582
|
+
"text": "boolean"
|
|
9583
|
+
},
|
|
9584
|
+
"default": "false",
|
|
9585
|
+
"description": "Internal state\n\nusing properties instead of"
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
"kind": "field",
|
|
9589
|
+
"name": "centerX",
|
|
9590
|
+
"type": {
|
|
9591
|
+
"text": "number"
|
|
9592
|
+
}
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"kind": "field",
|
|
9596
|
+
"name": "centerY",
|
|
9597
|
+
"type": {
|
|
9598
|
+
"text": "number"
|
|
9599
|
+
}
|
|
9600
|
+
},
|
|
9601
|
+
{
|
|
9602
|
+
"kind": "field",
|
|
9603
|
+
"name": "pageX",
|
|
9604
|
+
"type": {
|
|
9605
|
+
"text": "number"
|
|
9606
|
+
}
|
|
9607
|
+
},
|
|
9608
|
+
{
|
|
9609
|
+
"kind": "field",
|
|
9610
|
+
"name": "pageY",
|
|
9611
|
+
"type": {
|
|
9612
|
+
"text": "number"
|
|
9613
|
+
}
|
|
9614
|
+
},
|
|
9615
|
+
{
|
|
9616
|
+
"kind": "field",
|
|
9617
|
+
"name": "currentAngle",
|
|
9618
|
+
"type": {
|
|
9619
|
+
"text": "number"
|
|
9620
|
+
},
|
|
9621
|
+
"default": "0"
|
|
9622
|
+
},
|
|
9623
|
+
{
|
|
9624
|
+
"kind": "field",
|
|
9625
|
+
"name": "startAngle",
|
|
9626
|
+
"type": {
|
|
9627
|
+
"text": "number"
|
|
9628
|
+
}
|
|
9629
|
+
},
|
|
9630
|
+
{
|
|
9631
|
+
"kind": "method",
|
|
9632
|
+
"name": "handleMouseDown",
|
|
9633
|
+
"parameters": [
|
|
9634
|
+
{
|
|
9635
|
+
"name": "evt",
|
|
9636
|
+
"type": {
|
|
9637
|
+
"text": "MouseEvent"
|
|
9638
|
+
}
|
|
9639
|
+
}
|
|
9640
|
+
],
|
|
9641
|
+
"description": "Event listeners"
|
|
9642
|
+
},
|
|
9643
|
+
{
|
|
9644
|
+
"kind": "method",
|
|
9645
|
+
"name": "handleMouseMove",
|
|
9646
|
+
"parameters": [
|
|
9647
|
+
{
|
|
9648
|
+
"name": "evt",
|
|
9649
|
+
"type": {
|
|
9650
|
+
"text": "MouseEvent"
|
|
9651
|
+
}
|
|
9652
|
+
}
|
|
9653
|
+
],
|
|
9654
|
+
"description": "Fires when the mouse moves\nchecks is the element rotating right now and if it is\nthen calc the current angle and rotate the element\n\nTODO: attach events only after the dragStart?"
|
|
9655
|
+
},
|
|
9656
|
+
{
|
|
9657
|
+
"kind": "method",
|
|
9658
|
+
"name": "handleMouseUp",
|
|
9659
|
+
"parameters": [
|
|
9660
|
+
{
|
|
9661
|
+
"name": "evt",
|
|
9662
|
+
"type": {
|
|
9663
|
+
"text": "MouseEvent"
|
|
9664
|
+
}
|
|
9665
|
+
}
|
|
9666
|
+
]
|
|
9667
|
+
},
|
|
9668
|
+
{
|
|
9669
|
+
"kind": "method",
|
|
9670
|
+
"name": "handleWindowResize"
|
|
9671
|
+
},
|
|
9672
|
+
{
|
|
9673
|
+
"kind": "method",
|
|
9674
|
+
"name": "getTransformOrigin",
|
|
9675
|
+
"description": "Calculates the transform origin of the component\nand the page offset in pixels\n\nWe'll need these values to calculate the angle of pointer event"
|
|
9676
|
+
},
|
|
9677
|
+
{
|
|
9678
|
+
"kind": "method",
|
|
9679
|
+
"name": "getAngle",
|
|
9680
|
+
"parameters": [
|
|
9681
|
+
{
|
|
9682
|
+
"name": "posX",
|
|
9683
|
+
"type": {
|
|
9684
|
+
"text": "number"
|
|
9685
|
+
},
|
|
9686
|
+
"description": "horizontal mouse position"
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"name": "posY",
|
|
9690
|
+
"type": {
|
|
9691
|
+
"text": "number"
|
|
9692
|
+
},
|
|
9693
|
+
"description": "vertical mouse position"
|
|
9694
|
+
}
|
|
9695
|
+
],
|
|
9696
|
+
"description": "Calculates current angle"
|
|
9697
|
+
},
|
|
9698
|
+
{
|
|
9699
|
+
"kind": "method",
|
|
9700
|
+
"name": "setAngle",
|
|
9701
|
+
"parameters": [
|
|
9702
|
+
{
|
|
9703
|
+
"name": "angle"
|
|
9704
|
+
}
|
|
9705
|
+
]
|
|
9706
|
+
},
|
|
9707
|
+
{
|
|
9708
|
+
"kind": "method",
|
|
9709
|
+
"name": "render"
|
|
9710
|
+
}
|
|
9711
|
+
],
|
|
9712
|
+
"attributes": [
|
|
9713
|
+
{
|
|
9714
|
+
"name": "center",
|
|
9715
|
+
"fieldName": "center",
|
|
9716
|
+
"default": "'center'",
|
|
9717
|
+
"type": {
|
|
9718
|
+
"text": "string"
|
|
9493
9719
|
}
|
|
9494
9720
|
},
|
|
9495
9721
|
{
|
|
9496
|
-
"name": "
|
|
9497
|
-
"fieldName": "
|
|
9498
|
-
"default": "
|
|
9499
|
-
"description": "The visual variant of the tag.",
|
|
9722
|
+
"name": "value",
|
|
9723
|
+
"fieldName": "value",
|
|
9724
|
+
"default": "0",
|
|
9500
9725
|
"type": {
|
|
9501
|
-
"text": "
|
|
9726
|
+
"text": "number"
|
|
9502
9727
|
}
|
|
9503
9728
|
}
|
|
9504
9729
|
],
|
|
9505
|
-
"tagName": "le-
|
|
9506
|
-
"events": [
|
|
9507
|
-
{
|
|
9508
|
-
"name": "leDismiss",
|
|
9509
|
-
"type": {
|
|
9510
|
-
"text": "EventEmitter<void>"
|
|
9511
|
-
},
|
|
9512
|
-
"description": "Emitted when the dismiss button is clicked."
|
|
9513
|
-
}
|
|
9514
|
-
],
|
|
9730
|
+
"tagName": "le-turntable",
|
|
9731
|
+
"events": [],
|
|
9515
9732
|
"customElement": true
|
|
9516
9733
|
}
|
|
9517
9734
|
],
|
|
9518
9735
|
"exports": [
|
|
9519
9736
|
{
|
|
9520
9737
|
"kind": "js",
|
|
9521
|
-
"name": "
|
|
9738
|
+
"name": "LeTurntable",
|
|
9522
9739
|
"declaration": {
|
|
9523
|
-
"name": "
|
|
9524
|
-
"module": "src/components/le-
|
|
9740
|
+
"name": "LeTurntable",
|
|
9741
|
+
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
9525
9742
|
}
|
|
9526
9743
|
},
|
|
9527
9744
|
{
|
|
9528
9745
|
"kind": "custom-element-definition",
|
|
9529
|
-
"name": "le-
|
|
9746
|
+
"name": "le-turntable",
|
|
9530
9747
|
"declaration": {
|
|
9531
|
-
"name": "
|
|
9532
|
-
"module": "src/components/le-
|
|
9748
|
+
"name": "LeTurntable",
|
|
9749
|
+
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
9533
9750
|
}
|
|
9534
9751
|
}
|
|
9535
9752
|
]
|
|
@@ -9901,223 +10118,6 @@
|
|
|
9901
10118
|
}
|
|
9902
10119
|
}
|
|
9903
10120
|
]
|
|
9904
|
-
},
|
|
9905
|
-
{
|
|
9906
|
-
"kind": "javascript-module",
|
|
9907
|
-
"path": "src/components/le-turntable/le-turntable.tsx",
|
|
9908
|
-
"declarations": [
|
|
9909
|
-
{
|
|
9910
|
-
"kind": "class",
|
|
9911
|
-
"description": "",
|
|
9912
|
-
"name": "LeTurntable",
|
|
9913
|
-
"members": [
|
|
9914
|
-
{
|
|
9915
|
-
"kind": "field",
|
|
9916
|
-
"name": "el",
|
|
9917
|
-
"type": {
|
|
9918
|
-
"text": "HTMLElement"
|
|
9919
|
-
}
|
|
9920
|
-
},
|
|
9921
|
-
{
|
|
9922
|
-
"kind": "field",
|
|
9923
|
-
"name": "center",
|
|
9924
|
-
"type": {
|
|
9925
|
-
"text": "string"
|
|
9926
|
-
},
|
|
9927
|
-
"default": "'center'"
|
|
9928
|
-
},
|
|
9929
|
-
{
|
|
9930
|
-
"kind": "field",
|
|
9931
|
-
"name": "value",
|
|
9932
|
-
"type": {
|
|
9933
|
-
"text": "number"
|
|
9934
|
-
},
|
|
9935
|
-
"default": "0"
|
|
9936
|
-
},
|
|
9937
|
-
{
|
|
9938
|
-
"kind": "method",
|
|
9939
|
-
"name": "updateValue",
|
|
9940
|
-
"parameters": [
|
|
9941
|
-
{
|
|
9942
|
-
"name": "newValue"
|
|
9943
|
-
}
|
|
9944
|
-
]
|
|
9945
|
-
},
|
|
9946
|
-
{
|
|
9947
|
-
"kind": "field",
|
|
9948
|
-
"name": "rotating",
|
|
9949
|
-
"type": {
|
|
9950
|
-
"text": "boolean"
|
|
9951
|
-
},
|
|
9952
|
-
"default": "false",
|
|
9953
|
-
"description": "Internal state\n\nusing properties instead of"
|
|
9954
|
-
},
|
|
9955
|
-
{
|
|
9956
|
-
"kind": "field",
|
|
9957
|
-
"name": "centerX",
|
|
9958
|
-
"type": {
|
|
9959
|
-
"text": "number"
|
|
9960
|
-
}
|
|
9961
|
-
},
|
|
9962
|
-
{
|
|
9963
|
-
"kind": "field",
|
|
9964
|
-
"name": "centerY",
|
|
9965
|
-
"type": {
|
|
9966
|
-
"text": "number"
|
|
9967
|
-
}
|
|
9968
|
-
},
|
|
9969
|
-
{
|
|
9970
|
-
"kind": "field",
|
|
9971
|
-
"name": "pageX",
|
|
9972
|
-
"type": {
|
|
9973
|
-
"text": "number"
|
|
9974
|
-
}
|
|
9975
|
-
},
|
|
9976
|
-
{
|
|
9977
|
-
"kind": "field",
|
|
9978
|
-
"name": "pageY",
|
|
9979
|
-
"type": {
|
|
9980
|
-
"text": "number"
|
|
9981
|
-
}
|
|
9982
|
-
},
|
|
9983
|
-
{
|
|
9984
|
-
"kind": "field",
|
|
9985
|
-
"name": "currentAngle",
|
|
9986
|
-
"type": {
|
|
9987
|
-
"text": "number"
|
|
9988
|
-
},
|
|
9989
|
-
"default": "0"
|
|
9990
|
-
},
|
|
9991
|
-
{
|
|
9992
|
-
"kind": "field",
|
|
9993
|
-
"name": "startAngle",
|
|
9994
|
-
"type": {
|
|
9995
|
-
"text": "number"
|
|
9996
|
-
}
|
|
9997
|
-
},
|
|
9998
|
-
{
|
|
9999
|
-
"kind": "method",
|
|
10000
|
-
"name": "handleMouseDown",
|
|
10001
|
-
"parameters": [
|
|
10002
|
-
{
|
|
10003
|
-
"name": "evt",
|
|
10004
|
-
"type": {
|
|
10005
|
-
"text": "MouseEvent"
|
|
10006
|
-
}
|
|
10007
|
-
}
|
|
10008
|
-
],
|
|
10009
|
-
"description": "Event listeners"
|
|
10010
|
-
},
|
|
10011
|
-
{
|
|
10012
|
-
"kind": "method",
|
|
10013
|
-
"name": "handleMouseMove",
|
|
10014
|
-
"parameters": [
|
|
10015
|
-
{
|
|
10016
|
-
"name": "evt",
|
|
10017
|
-
"type": {
|
|
10018
|
-
"text": "MouseEvent"
|
|
10019
|
-
}
|
|
10020
|
-
}
|
|
10021
|
-
],
|
|
10022
|
-
"description": "Fires when the mouse moves\nchecks is the element rotating right now and if it is\nthen calc the current angle and rotate the element\n\nTODO: attach events only after the dragStart?"
|
|
10023
|
-
},
|
|
10024
|
-
{
|
|
10025
|
-
"kind": "method",
|
|
10026
|
-
"name": "handleMouseUp",
|
|
10027
|
-
"parameters": [
|
|
10028
|
-
{
|
|
10029
|
-
"name": "evt",
|
|
10030
|
-
"type": {
|
|
10031
|
-
"text": "MouseEvent"
|
|
10032
|
-
}
|
|
10033
|
-
}
|
|
10034
|
-
]
|
|
10035
|
-
},
|
|
10036
|
-
{
|
|
10037
|
-
"kind": "method",
|
|
10038
|
-
"name": "handleWindowResize"
|
|
10039
|
-
},
|
|
10040
|
-
{
|
|
10041
|
-
"kind": "method",
|
|
10042
|
-
"name": "getTransformOrigin",
|
|
10043
|
-
"description": "Calculates the transform origin of the component\nand the page offset in pixels\n\nWe'll need these values to calculate the angle of pointer event"
|
|
10044
|
-
},
|
|
10045
|
-
{
|
|
10046
|
-
"kind": "method",
|
|
10047
|
-
"name": "getAngle",
|
|
10048
|
-
"parameters": [
|
|
10049
|
-
{
|
|
10050
|
-
"name": "posX",
|
|
10051
|
-
"type": {
|
|
10052
|
-
"text": "number"
|
|
10053
|
-
},
|
|
10054
|
-
"description": "horizontal mouse position"
|
|
10055
|
-
},
|
|
10056
|
-
{
|
|
10057
|
-
"name": "posY",
|
|
10058
|
-
"type": {
|
|
10059
|
-
"text": "number"
|
|
10060
|
-
},
|
|
10061
|
-
"description": "vertical mouse position"
|
|
10062
|
-
}
|
|
10063
|
-
],
|
|
10064
|
-
"description": "Calculates current angle"
|
|
10065
|
-
},
|
|
10066
|
-
{
|
|
10067
|
-
"kind": "method",
|
|
10068
|
-
"name": "setAngle",
|
|
10069
|
-
"parameters": [
|
|
10070
|
-
{
|
|
10071
|
-
"name": "angle"
|
|
10072
|
-
}
|
|
10073
|
-
]
|
|
10074
|
-
},
|
|
10075
|
-
{
|
|
10076
|
-
"kind": "method",
|
|
10077
|
-
"name": "render"
|
|
10078
|
-
}
|
|
10079
|
-
],
|
|
10080
|
-
"attributes": [
|
|
10081
|
-
{
|
|
10082
|
-
"name": "center",
|
|
10083
|
-
"fieldName": "center",
|
|
10084
|
-
"default": "'center'",
|
|
10085
|
-
"type": {
|
|
10086
|
-
"text": "string"
|
|
10087
|
-
}
|
|
10088
|
-
},
|
|
10089
|
-
{
|
|
10090
|
-
"name": "value",
|
|
10091
|
-
"fieldName": "value",
|
|
10092
|
-
"default": "0",
|
|
10093
|
-
"type": {
|
|
10094
|
-
"text": "number"
|
|
10095
|
-
}
|
|
10096
|
-
}
|
|
10097
|
-
],
|
|
10098
|
-
"tagName": "le-turntable",
|
|
10099
|
-
"events": [],
|
|
10100
|
-
"customElement": true
|
|
10101
|
-
}
|
|
10102
|
-
],
|
|
10103
|
-
"exports": [
|
|
10104
|
-
{
|
|
10105
|
-
"kind": "js",
|
|
10106
|
-
"name": "LeTurntable",
|
|
10107
|
-
"declaration": {
|
|
10108
|
-
"name": "LeTurntable",
|
|
10109
|
-
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
10110
|
-
}
|
|
10111
|
-
},
|
|
10112
|
-
{
|
|
10113
|
-
"kind": "custom-element-definition",
|
|
10114
|
-
"name": "le-turntable",
|
|
10115
|
-
"declaration": {
|
|
10116
|
-
"name": "LeTurntable",
|
|
10117
|
-
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
10118
|
-
}
|
|
10119
|
-
}
|
|
10120
|
-
]
|
|
10121
10121
|
}
|
|
10122
10122
|
]
|
|
10123
10123
|
}
|