@sankhyatronics/sankhya-cms 0.1.10 → 0.1.11
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/custom-elements.json +1101 -409
- package/dist/attention-panel/index.d.ts +20 -0
- package/dist/attention-panel/index.js +9 -0
- package/dist/attention-panel/index.js.map +1 -0
- package/dist/bar-chart/index.d.ts +43 -0
- package/dist/bar-chart/index.js +9 -0
- package/dist/bar-chart/index.js.map +1 -0
- package/dist/chip/index.d.ts +21 -0
- package/dist/chip/index.js +9 -0
- package/dist/chip/index.js.map +1 -0
- package/dist/chunk-2TPTJN36.js +216 -0
- package/dist/chunk-2TPTJN36.js.map +1 -0
- package/dist/chunk-DAGSL2JV.js +83 -0
- package/dist/chunk-DAGSL2JV.js.map +1 -0
- package/dist/chunk-LGGLQNSU.js +93 -0
- package/dist/chunk-LGGLQNSU.js.map +1 -0
- package/dist/chunk-MG2VTZA4.js +122 -0
- package/dist/chunk-MG2VTZA4.js.map +1 -0
- package/dist/chunk-TVE4EPVK.js +119 -0
- package/dist/chunk-TVE4EPVK.js.map +1 -0
- package/dist/chunk-YLY5DXQE.js +185 -0
- package/dist/chunk-YLY5DXQE.js.map +1 -0
- package/dist/date-tile/index.d.ts +20 -0
- package/dist/date-tile/index.js +9 -0
- package/dist/date-tile/index.js.map +1 -0
- package/dist/index.d.ts +7 -1
- package/dist/index.js +51 -27
- package/dist/kpi-card/index.d.ts +30 -0
- package/dist/kpi-card/index.js +9 -0
- package/dist/kpi-card/index.js.map +1 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +6 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/segmented-control/index.d.ts +30 -0
- package/dist/segmented-control/index.js +9 -0
- package/dist/segmented-control/index.js.map +1 -0
- package/package.json +26 -2
package/custom-elements.json
CHANGED
|
@@ -2,6 +2,226 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/attention-panel/AttentionPanel.ts",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "A tinted panel that calls out the most serious item needing action: an icon, a title, a line of\ndetail and an action link. `tone` picks the colour: `warning` (amber) for things due soon,\n`danger` (red) for overdue or failing items, `accent` (blue) for set-up tips.\n\nSlots: `icon` (a glyph beside the title), default (the detail text), `action` (a link or button).",
|
|
12
|
+
"name": "AttentionPanel",
|
|
13
|
+
"members": [
|
|
14
|
+
{
|
|
15
|
+
"kind": "field",
|
|
16
|
+
"name": "tone",
|
|
17
|
+
"type": {
|
|
18
|
+
"text": "'accent' | 'warning' | 'danger'"
|
|
19
|
+
},
|
|
20
|
+
"default": "'accent'",
|
|
21
|
+
"description": "Colour of the panel: `accent` for tips, `warning` for due soon, `danger` for overdue.",
|
|
22
|
+
"attribute": "tone",
|
|
23
|
+
"reflects": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"kind": "field",
|
|
27
|
+
"name": "heading",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "string"
|
|
30
|
+
},
|
|
31
|
+
"default": "''",
|
|
32
|
+
"description": "Bold line at the top of the panel.",
|
|
33
|
+
"attribute": "heading"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"attributes": [
|
|
37
|
+
{
|
|
38
|
+
"name": "tone",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "'accent' | 'warning' | 'danger'"
|
|
41
|
+
},
|
|
42
|
+
"default": "'accent'",
|
|
43
|
+
"description": "Colour of the panel: `accent` for tips, `warning` for due soon, `danger` for overdue.",
|
|
44
|
+
"fieldName": "tone"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "heading",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "string"
|
|
50
|
+
},
|
|
51
|
+
"default": "''",
|
|
52
|
+
"description": "Bold line at the top of the panel.",
|
|
53
|
+
"fieldName": "heading"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"superclass": {
|
|
57
|
+
"name": "LitElement",
|
|
58
|
+
"package": "lit"
|
|
59
|
+
},
|
|
60
|
+
"tagName": "st-attention-panel",
|
|
61
|
+
"customElement": true
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"exports": [
|
|
65
|
+
{
|
|
66
|
+
"kind": "js",
|
|
67
|
+
"name": "AttentionPanel",
|
|
68
|
+
"declaration": {
|
|
69
|
+
"name": "AttentionPanel",
|
|
70
|
+
"module": "src/attention-panel/AttentionPanel.ts"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"kind": "custom-element-definition",
|
|
75
|
+
"name": "st-attention-panel",
|
|
76
|
+
"declaration": {
|
|
77
|
+
"name": "AttentionPanel",
|
|
78
|
+
"module": "src/attention-panel/AttentionPanel.ts"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "javascript-module",
|
|
85
|
+
"path": "src/bar-chart/BarChart.ts",
|
|
86
|
+
"declarations": [
|
|
87
|
+
{
|
|
88
|
+
"kind": "class",
|
|
89
|
+
"description": "A vertical bar chart for a fixed set of categories: value labels above the bars, gridlines with\nlabels on the left, and category labels underneath. Heights scale to `max`, or to the largest\nbar or tick when `max` is not set. Values are not formatted here: pass `valueLabel` and tick\nlabels already formatted (currency, lakh/crore), so this element stays locale-free.",
|
|
90
|
+
"name": "BarChart",
|
|
91
|
+
"members": [
|
|
92
|
+
{
|
|
93
|
+
"kind": "field",
|
|
94
|
+
"name": "bars",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "BarChartBar[]"
|
|
97
|
+
},
|
|
98
|
+
"default": "[]",
|
|
99
|
+
"description": "The bars, in order from left to right."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "ticks",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "BarChartTick[]"
|
|
106
|
+
},
|
|
107
|
+
"default": "[]",
|
|
108
|
+
"description": "Optional gridlines with labels."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "field",
|
|
112
|
+
"name": "max",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "number | null"
|
|
115
|
+
},
|
|
116
|
+
"default": "null",
|
|
117
|
+
"description": "The value that maps to the top of the plot. Defaults to the largest bar or tick.",
|
|
118
|
+
"attribute": "max"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "field",
|
|
122
|
+
"name": "plotHeight",
|
|
123
|
+
"type": {
|
|
124
|
+
"text": "number"
|
|
125
|
+
},
|
|
126
|
+
"default": "200",
|
|
127
|
+
"description": "Plot height in pixels, excluding category labels.",
|
|
128
|
+
"attribute": "plot-height"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "field",
|
|
132
|
+
"name": "chartLabel",
|
|
133
|
+
"type": {
|
|
134
|
+
"text": "string"
|
|
135
|
+
},
|
|
136
|
+
"default": "''",
|
|
137
|
+
"description": "Accessible name for the chart.",
|
|
138
|
+
"attribute": "chart-label"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "method",
|
|
142
|
+
"name": "topValue",
|
|
143
|
+
"privacy": "private",
|
|
144
|
+
"return": {
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "number"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"kind": "method",
|
|
152
|
+
"name": "heightPct",
|
|
153
|
+
"privacy": "private",
|
|
154
|
+
"return": {
|
|
155
|
+
"type": {
|
|
156
|
+
"text": "number"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"parameters": [
|
|
160
|
+
{
|
|
161
|
+
"name": "value",
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "number | null"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"attributes": [
|
|
170
|
+
{
|
|
171
|
+
"name": "max",
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "number | null"
|
|
174
|
+
},
|
|
175
|
+
"default": "null",
|
|
176
|
+
"description": "The value that maps to the top of the plot. Defaults to the largest bar or tick.",
|
|
177
|
+
"fieldName": "max"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "plot-height",
|
|
181
|
+
"type": {
|
|
182
|
+
"text": "number"
|
|
183
|
+
},
|
|
184
|
+
"default": "200",
|
|
185
|
+
"description": "Plot height in pixels, excluding category labels.",
|
|
186
|
+
"fieldName": "plotHeight"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "chart-label",
|
|
190
|
+
"type": {
|
|
191
|
+
"text": "string"
|
|
192
|
+
},
|
|
193
|
+
"default": "''",
|
|
194
|
+
"description": "Accessible name for the chart.",
|
|
195
|
+
"fieldName": "chartLabel"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"superclass": {
|
|
199
|
+
"name": "LitElement",
|
|
200
|
+
"package": "lit"
|
|
201
|
+
},
|
|
202
|
+
"tagName": "st-bar-chart",
|
|
203
|
+
"customElement": true
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"exports": [
|
|
207
|
+
{
|
|
208
|
+
"kind": "js",
|
|
209
|
+
"name": "BarChart",
|
|
210
|
+
"declaration": {
|
|
211
|
+
"name": "BarChart",
|
|
212
|
+
"module": "src/bar-chart/BarChart.ts"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "custom-element-definition",
|
|
217
|
+
"name": "st-bar-chart",
|
|
218
|
+
"declaration": {
|
|
219
|
+
"name": "BarChart",
|
|
220
|
+
"module": "src/bar-chart/BarChart.ts"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
5
225
|
{
|
|
6
226
|
"kind": "javascript-module",
|
|
7
227
|
"path": "src/bento-grid/BentoGrid.ts",
|
|
@@ -672,375 +892,571 @@
|
|
|
672
892
|
},
|
|
673
893
|
{
|
|
674
894
|
"kind": "javascript-module",
|
|
675
|
-
"path": "src/
|
|
895
|
+
"path": "src/chip/Chip.ts",
|
|
676
896
|
"declarations": [
|
|
677
897
|
{
|
|
678
898
|
"kind": "class",
|
|
679
|
-
"description": "A
|
|
680
|
-
"name": "
|
|
681
|
-
"cssProperties": [
|
|
682
|
-
{
|
|
683
|
-
"description": "Overrides the block's padding.",
|
|
684
|
-
"name": "--st-content-block-padding"
|
|
685
|
-
}
|
|
686
|
-
],
|
|
899
|
+
"description": "A small rounded status pill: text in the default slot, with an optional leading dot. Tones map\nto the theme's status tokens (soft background, text colour on that background), so a chip reads\nthe same in every theme. Use `neutral` for plain labels, `accent` for the brand tint, and the\nstatus tones for meaning only (success = done, warning = due soon, danger = overdue).",
|
|
900
|
+
"name": "Chip",
|
|
687
901
|
"members": [
|
|
688
902
|
{
|
|
689
903
|
"kind": "field",
|
|
690
|
-
"name": "
|
|
904
|
+
"name": "tone",
|
|
691
905
|
"type": {
|
|
692
|
-
"text": "
|
|
906
|
+
"text": "'neutral' | 'accent' | 'success' | 'warning' | 'danger'"
|
|
693
907
|
},
|
|
694
|
-
"default": "''",
|
|
695
|
-
"
|
|
908
|
+
"default": "'neutral'",
|
|
909
|
+
"description": "Colour treatment: a soft tint of the matching theme token.",
|
|
910
|
+
"attribute": "tone",
|
|
911
|
+
"reflects": true
|
|
696
912
|
},
|
|
697
913
|
{
|
|
698
914
|
"kind": "field",
|
|
699
|
-
"name": "
|
|
915
|
+
"name": "size",
|
|
700
916
|
"type": {
|
|
701
|
-
"text": "
|
|
917
|
+
"text": "'md' | 'sm'"
|
|
702
918
|
},
|
|
703
|
-
"default": "''",
|
|
704
|
-
"
|
|
919
|
+
"default": "'md'",
|
|
920
|
+
"description": "`sm` for dense lists and table cells.",
|
|
921
|
+
"attribute": "size",
|
|
922
|
+
"reflects": true
|
|
705
923
|
},
|
|
706
924
|
{
|
|
707
925
|
"kind": "field",
|
|
708
|
-
"name": "
|
|
926
|
+
"name": "dot",
|
|
709
927
|
"type": {
|
|
710
|
-
"text": "
|
|
928
|
+
"text": "boolean"
|
|
711
929
|
},
|
|
712
|
-
"default": "
|
|
713
|
-
"description": "
|
|
714
|
-
"attribute": "
|
|
930
|
+
"default": "false",
|
|
931
|
+
"description": "Shows a leading dot in the chip's text colour.",
|
|
932
|
+
"attribute": "dot",
|
|
933
|
+
"reflects": true
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"attributes": [
|
|
937
|
+
{
|
|
938
|
+
"name": "tone",
|
|
939
|
+
"type": {
|
|
940
|
+
"text": "'neutral' | 'accent' | 'success' | 'warning' | 'danger'"
|
|
941
|
+
},
|
|
942
|
+
"default": "'neutral'",
|
|
943
|
+
"description": "Colour treatment: a soft tint of the matching theme token.",
|
|
944
|
+
"fieldName": "tone"
|
|
715
945
|
},
|
|
716
946
|
{
|
|
717
|
-
"
|
|
718
|
-
"name": "content",
|
|
947
|
+
"name": "size",
|
|
719
948
|
"type": {
|
|
720
|
-
"text": "
|
|
949
|
+
"text": "'md' | 'sm'"
|
|
721
950
|
},
|
|
722
|
-
"default": "''",
|
|
723
|
-
"description": "
|
|
724
|
-
"
|
|
951
|
+
"default": "'md'",
|
|
952
|
+
"description": "`sm` for dense lists and table cells.",
|
|
953
|
+
"fieldName": "size"
|
|
725
954
|
},
|
|
955
|
+
{
|
|
956
|
+
"name": "dot",
|
|
957
|
+
"type": {
|
|
958
|
+
"text": "boolean"
|
|
959
|
+
},
|
|
960
|
+
"default": "false",
|
|
961
|
+
"description": "Shows a leading dot in the chip's text colour.",
|
|
962
|
+
"fieldName": "dot"
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"superclass": {
|
|
966
|
+
"name": "LitElement",
|
|
967
|
+
"package": "lit"
|
|
968
|
+
},
|
|
969
|
+
"tagName": "st-chip",
|
|
970
|
+
"customElement": true
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"exports": [
|
|
974
|
+
{
|
|
975
|
+
"kind": "js",
|
|
976
|
+
"name": "Chip",
|
|
977
|
+
"declaration": {
|
|
978
|
+
"name": "Chip",
|
|
979
|
+
"module": "src/chip/Chip.ts"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"kind": "custom-element-definition",
|
|
984
|
+
"name": "st-chip",
|
|
985
|
+
"declaration": {
|
|
986
|
+
"name": "Chip",
|
|
987
|
+
"module": "src/chip/Chip.ts"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"kind": "javascript-module",
|
|
994
|
+
"path": "src/cookie-consent/CookieConsent.ts",
|
|
995
|
+
"declarations": [
|
|
996
|
+
{
|
|
997
|
+
"kind": "class",
|
|
998
|
+
"description": "Fixed bottom consent bar. The source read/wrote consent through a React `UserContext`; here the\nelement persists the choice itself in localStorage (`storage-key`, default the source's\n`sankhya_ui_cookie_consent`; storage errors are ignored) and renders nothing once a choice\nexists. Fires `cookie-consent-accept` / `cookie-consent-refuse` (detail `{ status }`). The\ndefault slot replaces the message text.",
|
|
999
|
+
"name": "CookieConsent",
|
|
1000
|
+
"cssProperties": [
|
|
1001
|
+
{
|
|
1002
|
+
"description": "Overrides the bar's padding.",
|
|
1003
|
+
"name": "--st-cookie-consent-padding"
|
|
1004
|
+
}
|
|
1005
|
+
],
|
|
1006
|
+
"members": [
|
|
726
1007
|
{
|
|
727
1008
|
"kind": "field",
|
|
728
|
-
"name": "
|
|
1009
|
+
"name": "message",
|
|
729
1010
|
"type": {
|
|
730
1011
|
"text": "string"
|
|
731
1012
|
},
|
|
732
1013
|
"default": "''",
|
|
733
|
-
"attribute": "
|
|
1014
|
+
"attribute": "message"
|
|
734
1015
|
},
|
|
735
1016
|
{
|
|
736
1017
|
"kind": "field",
|
|
737
|
-
"name": "
|
|
1018
|
+
"name": "acceptButtonText",
|
|
738
1019
|
"type": {
|
|
739
1020
|
"text": "string"
|
|
740
1021
|
},
|
|
741
|
-
"default": "''",
|
|
742
|
-
"attribute": "
|
|
1022
|
+
"default": "'Accept'",
|
|
1023
|
+
"attribute": "accept-button-text"
|
|
743
1024
|
},
|
|
744
1025
|
{
|
|
745
1026
|
"kind": "field",
|
|
746
|
-
"name": "
|
|
1027
|
+
"name": "refuseButtonText",
|
|
747
1028
|
"type": {
|
|
748
1029
|
"text": "string"
|
|
749
1030
|
},
|
|
750
|
-
"default": "''",
|
|
751
|
-
"attribute": "
|
|
1031
|
+
"default": "'Refuse'",
|
|
1032
|
+
"attribute": "refuse-button-text"
|
|
752
1033
|
},
|
|
753
1034
|
{
|
|
754
1035
|
"kind": "field",
|
|
755
|
-
"name": "
|
|
756
|
-
"type": {
|
|
757
|
-
"text": "boolean"
|
|
758
|
-
},
|
|
759
|
-
"default": "false",
|
|
760
|
-
"attribute": "inverted",
|
|
761
|
-
"reflects": true
|
|
762
|
-
}
|
|
763
|
-
],
|
|
764
|
-
"attributes": [
|
|
765
|
-
{
|
|
766
|
-
"name": "title",
|
|
1036
|
+
"name": "privacyPolicyLink",
|
|
767
1037
|
"type": {
|
|
768
1038
|
"text": "string"
|
|
769
1039
|
},
|
|
770
1040
|
"default": "''",
|
|
771
|
-
"
|
|
1041
|
+
"attribute": "privacy-policy-link"
|
|
772
1042
|
},
|
|
773
1043
|
{
|
|
774
|
-
"
|
|
1044
|
+
"kind": "field",
|
|
1045
|
+
"name": "privacyPolicyText",
|
|
775
1046
|
"type": {
|
|
776
1047
|
"text": "string"
|
|
777
1048
|
},
|
|
778
|
-
"default": "''",
|
|
779
|
-
"
|
|
1049
|
+
"default": "'Privacy Policy'",
|
|
1050
|
+
"attribute": "privacy-policy-text"
|
|
780
1051
|
},
|
|
781
1052
|
{
|
|
782
|
-
"
|
|
1053
|
+
"kind": "field",
|
|
1054
|
+
"name": "storageKey",
|
|
1055
|
+
"default": "'sankhya_ui_cookie_consent'",
|
|
1056
|
+
"attribute": "storage-key",
|
|
783
1057
|
"type": {
|
|
784
1058
|
"text": "string"
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"kind": "field",
|
|
1063
|
+
"name": "consent",
|
|
1064
|
+
"type": {
|
|
1065
|
+
"text": "CookieConsentStatus | null"
|
|
785
1066
|
},
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"
|
|
1067
|
+
"privacy": "private",
|
|
1068
|
+
"default": "null",
|
|
1069
|
+
"description": "The stored choice, or `null` while undecided (the bar is only shown then)."
|
|
789
1070
|
},
|
|
790
1071
|
{
|
|
791
|
-
"
|
|
1072
|
+
"kind": "method",
|
|
1073
|
+
"name": "readStored",
|
|
1074
|
+
"privacy": "private",
|
|
1075
|
+
"return": {
|
|
1076
|
+
"type": {
|
|
1077
|
+
"text": "CookieConsentStatus | null"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"kind": "method",
|
|
1083
|
+
"name": "choose",
|
|
1084
|
+
"privacy": "private",
|
|
1085
|
+
"return": {
|
|
1086
|
+
"type": {
|
|
1087
|
+
"text": "void"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "status",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "CookieConsentStatus"
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"events": [
|
|
1101
|
+
{
|
|
1102
|
+
"type": {
|
|
1103
|
+
"text": "CustomEvent"
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"attributes": [
|
|
1108
|
+
{
|
|
1109
|
+
"name": "message",
|
|
792
1110
|
"type": {
|
|
793
1111
|
"text": "string"
|
|
794
1112
|
},
|
|
795
1113
|
"default": "''",
|
|
796
|
-
"
|
|
797
|
-
"fieldName": "content"
|
|
1114
|
+
"fieldName": "message"
|
|
798
1115
|
},
|
|
799
1116
|
{
|
|
800
|
-
"name": "
|
|
1117
|
+
"name": "accept-button-text",
|
|
801
1118
|
"type": {
|
|
802
1119
|
"text": "string"
|
|
803
1120
|
},
|
|
804
|
-
"default": "''",
|
|
805
|
-
"fieldName": "
|
|
1121
|
+
"default": "'Accept'",
|
|
1122
|
+
"fieldName": "acceptButtonText"
|
|
806
1123
|
},
|
|
807
1124
|
{
|
|
808
|
-
"name": "
|
|
1125
|
+
"name": "refuse-button-text",
|
|
809
1126
|
"type": {
|
|
810
1127
|
"text": "string"
|
|
811
1128
|
},
|
|
812
|
-
"default": "''",
|
|
813
|
-
"fieldName": "
|
|
1129
|
+
"default": "'Refuse'",
|
|
1130
|
+
"fieldName": "refuseButtonText"
|
|
814
1131
|
},
|
|
815
1132
|
{
|
|
816
|
-
"name": "
|
|
1133
|
+
"name": "privacy-policy-link",
|
|
817
1134
|
"type": {
|
|
818
1135
|
"text": "string"
|
|
819
1136
|
},
|
|
820
1137
|
"default": "''",
|
|
821
|
-
"fieldName": "
|
|
1138
|
+
"fieldName": "privacyPolicyLink"
|
|
822
1139
|
},
|
|
823
1140
|
{
|
|
824
|
-
"name": "
|
|
1141
|
+
"name": "privacy-policy-text",
|
|
825
1142
|
"type": {
|
|
826
|
-
"text": "
|
|
1143
|
+
"text": "string"
|
|
827
1144
|
},
|
|
828
|
-
"default": "
|
|
829
|
-
"fieldName": "
|
|
1145
|
+
"default": "'Privacy Policy'",
|
|
1146
|
+
"fieldName": "privacyPolicyText"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"name": "storage-key",
|
|
1150
|
+
"default": "DEFAULT_STORAGE_KEY",
|
|
1151
|
+
"fieldName": "storageKey"
|
|
830
1152
|
}
|
|
831
1153
|
],
|
|
832
1154
|
"superclass": {
|
|
833
1155
|
"name": "LitElement",
|
|
834
1156
|
"package": "lit"
|
|
835
1157
|
},
|
|
836
|
-
"tagName": "st-
|
|
1158
|
+
"tagName": "st-cookie-consent",
|
|
837
1159
|
"customElement": true
|
|
838
1160
|
}
|
|
839
1161
|
],
|
|
840
1162
|
"exports": [
|
|
841
1163
|
{
|
|
842
1164
|
"kind": "js",
|
|
843
|
-
"name": "
|
|
1165
|
+
"name": "CookieConsent",
|
|
844
1166
|
"declaration": {
|
|
845
|
-
"name": "
|
|
846
|
-
"module": "src/
|
|
1167
|
+
"name": "CookieConsent",
|
|
1168
|
+
"module": "src/cookie-consent/CookieConsent.ts"
|
|
847
1169
|
}
|
|
848
1170
|
},
|
|
849
1171
|
{
|
|
850
1172
|
"kind": "custom-element-definition",
|
|
851
|
-
"name": "st-
|
|
1173
|
+
"name": "st-cookie-consent",
|
|
852
1174
|
"declaration": {
|
|
853
|
-
"name": "
|
|
854
|
-
"module": "src/
|
|
1175
|
+
"name": "CookieConsent",
|
|
1176
|
+
"module": "src/cookie-consent/CookieConsent.ts"
|
|
855
1177
|
}
|
|
856
1178
|
}
|
|
857
1179
|
]
|
|
858
1180
|
},
|
|
859
1181
|
{
|
|
860
1182
|
"kind": "javascript-module",
|
|
861
|
-
"path": "src/
|
|
1183
|
+
"path": "src/content-block/ContentBlock.ts",
|
|
862
1184
|
"declarations": [
|
|
863
1185
|
{
|
|
864
1186
|
"kind": "class",
|
|
865
|
-
"description": "
|
|
866
|
-
"name": "
|
|
1187
|
+
"description": "A long-form article section: centered title/subtitle, an optional featured image with caption,\nthen Markdown body text. Ports `SankhyaUI`'s React `ContentBlock`. The body comes from\n`content-src` (a Markdown URL, as in the source) or an inline `content` string (added so the\nblock works without a fetch); `content-src` wins when both are set.",
|
|
1188
|
+
"name": "ContentBlock",
|
|
867
1189
|
"cssProperties": [
|
|
868
1190
|
{
|
|
869
|
-
"description": "Overrides the
|
|
870
|
-
"name": "--st-
|
|
1191
|
+
"description": "Overrides the block's padding.",
|
|
1192
|
+
"name": "--st-content-block-padding"
|
|
871
1193
|
}
|
|
872
1194
|
],
|
|
873
1195
|
"members": [
|
|
874
1196
|
{
|
|
875
1197
|
"kind": "field",
|
|
876
|
-
"name": "
|
|
1198
|
+
"name": "title",
|
|
877
1199
|
"type": {
|
|
878
1200
|
"text": "string"
|
|
879
1201
|
},
|
|
880
1202
|
"default": "''",
|
|
881
|
-
"attribute": "
|
|
1203
|
+
"attribute": "title"
|
|
882
1204
|
},
|
|
883
1205
|
{
|
|
884
1206
|
"kind": "field",
|
|
885
|
-
"name": "
|
|
1207
|
+
"name": "subtitle",
|
|
886
1208
|
"type": {
|
|
887
1209
|
"text": "string"
|
|
888
1210
|
},
|
|
889
|
-
"default": "'
|
|
890
|
-
"attribute": "
|
|
1211
|
+
"default": "''",
|
|
1212
|
+
"attribute": "subtitle"
|
|
891
1213
|
},
|
|
892
1214
|
{
|
|
893
1215
|
"kind": "field",
|
|
894
|
-
"name": "
|
|
1216
|
+
"name": "contentSrc",
|
|
895
1217
|
"type": {
|
|
896
1218
|
"text": "string"
|
|
897
1219
|
},
|
|
898
|
-
"default": "'
|
|
899
|
-
"
|
|
1220
|
+
"default": "''",
|
|
1221
|
+
"description": "URL of a Markdown file.",
|
|
1222
|
+
"attribute": "content-src"
|
|
900
1223
|
},
|
|
901
1224
|
{
|
|
902
1225
|
"kind": "field",
|
|
903
|
-
"name": "
|
|
1226
|
+
"name": "content",
|
|
904
1227
|
"type": {
|
|
905
1228
|
"text": "string"
|
|
906
1229
|
},
|
|
907
1230
|
"default": "''",
|
|
908
|
-
"
|
|
1231
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
1232
|
+
"attribute": "content"
|
|
909
1233
|
},
|
|
910
1234
|
{
|
|
911
1235
|
"kind": "field",
|
|
912
|
-
"name": "
|
|
1236
|
+
"name": "imageSrc",
|
|
913
1237
|
"type": {
|
|
914
1238
|
"text": "string"
|
|
915
1239
|
},
|
|
916
|
-
"default": "'
|
|
917
|
-
"attribute": "
|
|
1240
|
+
"default": "''",
|
|
1241
|
+
"attribute": "image-src"
|
|
918
1242
|
},
|
|
919
1243
|
{
|
|
920
1244
|
"kind": "field",
|
|
921
|
-
"name": "
|
|
922
|
-
"default": "'sankhya_ui_cookie_consent'",
|
|
923
|
-
"attribute": "storage-key",
|
|
1245
|
+
"name": "imageAlt",
|
|
924
1246
|
"type": {
|
|
925
1247
|
"text": "string"
|
|
926
|
-
}
|
|
1248
|
+
},
|
|
1249
|
+
"default": "''",
|
|
1250
|
+
"attribute": "image-alt"
|
|
927
1251
|
},
|
|
928
1252
|
{
|
|
929
1253
|
"kind": "field",
|
|
930
|
-
"name": "
|
|
1254
|
+
"name": "imageCaption",
|
|
931
1255
|
"type": {
|
|
932
|
-
"text": "
|
|
1256
|
+
"text": "string"
|
|
933
1257
|
},
|
|
934
|
-
"
|
|
935
|
-
"
|
|
936
|
-
"description": "The stored choice, or `null` while undecided (the bar is only shown then)."
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"kind": "method",
|
|
940
|
-
"name": "readStored",
|
|
941
|
-
"privacy": "private",
|
|
942
|
-
"return": {
|
|
943
|
-
"type": {
|
|
944
|
-
"text": "CookieConsentStatus | null"
|
|
945
|
-
}
|
|
946
|
-
}
|
|
1258
|
+
"default": "''",
|
|
1259
|
+
"attribute": "image-caption"
|
|
947
1260
|
},
|
|
948
1261
|
{
|
|
949
|
-
"kind": "
|
|
950
|
-
"name": "
|
|
951
|
-
"
|
|
952
|
-
|
|
953
|
-
"type": {
|
|
954
|
-
"text": "void"
|
|
955
|
-
}
|
|
1262
|
+
"kind": "field",
|
|
1263
|
+
"name": "inverted",
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": "boolean"
|
|
956
1266
|
},
|
|
957
|
-
"
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
"type": {
|
|
961
|
-
"text": "CookieConsentStatus"
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
]
|
|
1267
|
+
"default": "false",
|
|
1268
|
+
"attribute": "inverted",
|
|
1269
|
+
"reflects": true
|
|
965
1270
|
}
|
|
966
1271
|
],
|
|
967
|
-
"
|
|
1272
|
+
"attributes": [
|
|
968
1273
|
{
|
|
1274
|
+
"name": "title",
|
|
969
1275
|
"type": {
|
|
970
|
-
"text": "
|
|
971
|
-
}
|
|
1276
|
+
"text": "string"
|
|
1277
|
+
},
|
|
1278
|
+
"default": "''",
|
|
1279
|
+
"fieldName": "title"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "subtitle",
|
|
1283
|
+
"type": {
|
|
1284
|
+
"text": "string"
|
|
1285
|
+
},
|
|
1286
|
+
"default": "''",
|
|
1287
|
+
"fieldName": "subtitle"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "content-src",
|
|
1291
|
+
"type": {
|
|
1292
|
+
"text": "string"
|
|
1293
|
+
},
|
|
1294
|
+
"default": "''",
|
|
1295
|
+
"description": "URL of a Markdown file.",
|
|
1296
|
+
"fieldName": "contentSrc"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "content",
|
|
1300
|
+
"type": {
|
|
1301
|
+
"text": "string"
|
|
1302
|
+
},
|
|
1303
|
+
"default": "''",
|
|
1304
|
+
"description": "Inline Markdown, used when `content-src` is not set.",
|
|
1305
|
+
"fieldName": "content"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "image-src",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "string"
|
|
1311
|
+
},
|
|
1312
|
+
"default": "''",
|
|
1313
|
+
"fieldName": "imageSrc"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "image-alt",
|
|
1317
|
+
"type": {
|
|
1318
|
+
"text": "string"
|
|
1319
|
+
},
|
|
1320
|
+
"default": "''",
|
|
1321
|
+
"fieldName": "imageAlt"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "image-caption",
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "string"
|
|
1327
|
+
},
|
|
1328
|
+
"default": "''",
|
|
1329
|
+
"fieldName": "imageCaption"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "inverted",
|
|
1333
|
+
"type": {
|
|
1334
|
+
"text": "boolean"
|
|
1335
|
+
},
|
|
1336
|
+
"default": "false",
|
|
1337
|
+
"fieldName": "inverted"
|
|
972
1338
|
}
|
|
973
1339
|
],
|
|
974
|
-
"
|
|
1340
|
+
"superclass": {
|
|
1341
|
+
"name": "LitElement",
|
|
1342
|
+
"package": "lit"
|
|
1343
|
+
},
|
|
1344
|
+
"tagName": "st-content-block",
|
|
1345
|
+
"customElement": true
|
|
1346
|
+
}
|
|
1347
|
+
],
|
|
1348
|
+
"exports": [
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "js",
|
|
1351
|
+
"name": "ContentBlock",
|
|
1352
|
+
"declaration": {
|
|
1353
|
+
"name": "ContentBlock",
|
|
1354
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "custom-element-definition",
|
|
1359
|
+
"name": "st-content-block",
|
|
1360
|
+
"declaration": {
|
|
1361
|
+
"name": "ContentBlock",
|
|
1362
|
+
"module": "src/content-block/ContentBlock.ts"
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
]
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"kind": "javascript-module",
|
|
1369
|
+
"path": "src/date-tile/DateTile.ts",
|
|
1370
|
+
"declarations": [
|
|
1371
|
+
{
|
|
1372
|
+
"kind": "class",
|
|
1373
|
+
"description": "A calendar date tile: a month band over a large day number, as used for due dates. `tone`\ncolours the month band: `default` for a neutral date, `warning` for due soon, `danger` for\noverdue.",
|
|
1374
|
+
"name": "DateTile",
|
|
1375
|
+
"members": [
|
|
975
1376
|
{
|
|
976
|
-
"
|
|
1377
|
+
"kind": "field",
|
|
1378
|
+
"name": "month",
|
|
977
1379
|
"type": {
|
|
978
1380
|
"text": "string"
|
|
979
1381
|
},
|
|
980
1382
|
"default": "''",
|
|
981
|
-
"
|
|
1383
|
+
"description": "Month abbreviation shown in the band (for example \"NOV\").",
|
|
1384
|
+
"attribute": "month"
|
|
982
1385
|
},
|
|
983
1386
|
{
|
|
984
|
-
"
|
|
1387
|
+
"kind": "field",
|
|
1388
|
+
"name": "day",
|
|
985
1389
|
"type": {
|
|
986
1390
|
"text": "string"
|
|
987
1391
|
},
|
|
988
|
-
"default": "'
|
|
989
|
-
"
|
|
1392
|
+
"default": "''",
|
|
1393
|
+
"description": "Day of the month (for example \"11\").",
|
|
1394
|
+
"attribute": "day"
|
|
990
1395
|
},
|
|
991
1396
|
{
|
|
992
|
-
"
|
|
1397
|
+
"kind": "field",
|
|
1398
|
+
"name": "tone",
|
|
993
1399
|
"type": {
|
|
994
|
-
"text": "
|
|
1400
|
+
"text": "'default' | 'warning' | 'danger'"
|
|
995
1401
|
},
|
|
996
|
-
"default": "'
|
|
997
|
-
"
|
|
998
|
-
|
|
1402
|
+
"default": "'default'",
|
|
1403
|
+
"description": "Colour of the month band.",
|
|
1404
|
+
"attribute": "tone",
|
|
1405
|
+
"reflects": true
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"attributes": [
|
|
999
1409
|
{
|
|
1000
|
-
"name": "
|
|
1410
|
+
"name": "month",
|
|
1001
1411
|
"type": {
|
|
1002
1412
|
"text": "string"
|
|
1003
1413
|
},
|
|
1004
1414
|
"default": "''",
|
|
1005
|
-
"
|
|
1415
|
+
"description": "Month abbreviation shown in the band (for example \"NOV\").",
|
|
1416
|
+
"fieldName": "month"
|
|
1006
1417
|
},
|
|
1007
1418
|
{
|
|
1008
|
-
"name": "
|
|
1419
|
+
"name": "day",
|
|
1009
1420
|
"type": {
|
|
1010
1421
|
"text": "string"
|
|
1011
1422
|
},
|
|
1012
|
-
"default": "'
|
|
1013
|
-
"
|
|
1423
|
+
"default": "''",
|
|
1424
|
+
"description": "Day of the month (for example \"11\").",
|
|
1425
|
+
"fieldName": "day"
|
|
1014
1426
|
},
|
|
1015
1427
|
{
|
|
1016
|
-
"name": "
|
|
1017
|
-
"
|
|
1018
|
-
|
|
1428
|
+
"name": "tone",
|
|
1429
|
+
"type": {
|
|
1430
|
+
"text": "'default' | 'warning' | 'danger'"
|
|
1431
|
+
},
|
|
1432
|
+
"default": "'default'",
|
|
1433
|
+
"description": "Colour of the month band.",
|
|
1434
|
+
"fieldName": "tone"
|
|
1019
1435
|
}
|
|
1020
1436
|
],
|
|
1021
1437
|
"superclass": {
|
|
1022
1438
|
"name": "LitElement",
|
|
1023
1439
|
"package": "lit"
|
|
1024
1440
|
},
|
|
1025
|
-
"tagName": "st-
|
|
1441
|
+
"tagName": "st-date-tile",
|
|
1026
1442
|
"customElement": true
|
|
1027
1443
|
}
|
|
1028
1444
|
],
|
|
1029
1445
|
"exports": [
|
|
1030
1446
|
{
|
|
1031
1447
|
"kind": "js",
|
|
1032
|
-
"name": "
|
|
1448
|
+
"name": "DateTile",
|
|
1033
1449
|
"declaration": {
|
|
1034
|
-
"name": "
|
|
1035
|
-
"module": "src/
|
|
1450
|
+
"name": "DateTile",
|
|
1451
|
+
"module": "src/date-tile/DateTile.ts"
|
|
1036
1452
|
}
|
|
1037
1453
|
},
|
|
1038
1454
|
{
|
|
1039
1455
|
"kind": "custom-element-definition",
|
|
1040
|
-
"name": "st-
|
|
1456
|
+
"name": "st-date-tile",
|
|
1041
1457
|
"declaration": {
|
|
1042
|
-
"name": "
|
|
1043
|
-
"module": "src/
|
|
1458
|
+
"name": "DateTile",
|
|
1459
|
+
"module": "src/date-tile/DateTile.ts"
|
|
1044
1460
|
}
|
|
1045
1461
|
}
|
|
1046
1462
|
]
|
|
@@ -1569,72 +1985,270 @@
|
|
|
1569
1985
|
{
|
|
1570
1986
|
"name": "open",
|
|
1571
1987
|
"type": {
|
|
1572
|
-
"text": "boolean"
|
|
1988
|
+
"text": "boolean"
|
|
1989
|
+
},
|
|
1990
|
+
"default": "false",
|
|
1991
|
+
"description": "Whether the panel is showing. Follows user toggles; may also be set from outside.",
|
|
1992
|
+
"fieldName": "open"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"name": "mega",
|
|
1996
|
+
"type": {
|
|
1997
|
+
"text": "boolean"
|
|
1998
|
+
},
|
|
1999
|
+
"default": "false",
|
|
2000
|
+
"description": "Mega-menu panel (okta.com style), typically holding an `st-mega-menu`: the panel spans the\nfull width of the nearest positioned ancestor — `st-header` — right under it, instead of\nhanging off the trigger. In `st-header`'s hamburger layout (`inline`) it slides in over the\nscreen with a Back button rather than opening as an accordion. A click inside the panel only\ncloses it when it lands on a link.",
|
|
2001
|
+
"fieldName": "mega"
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "bar",
|
|
2005
|
+
"type": {
|
|
2006
|
+
"text": "boolean"
|
|
2007
|
+
},
|
|
2008
|
+
"default": "false",
|
|
2009
|
+
"description": "Styles a non-`mega` trigger like a mega one — a pill that turns solid accent while open — so\na plain dropdown (e.g. \"+ New\") lines up with mega triggers in the same header bar.",
|
|
2010
|
+
"fieldName": "bar"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "open-on-hover",
|
|
2014
|
+
"type": {
|
|
2015
|
+
"text": "boolean"
|
|
2016
|
+
},
|
|
2017
|
+
"default": "false",
|
|
2018
|
+
"description": "Opens the panel while a mouse hovers the trigger or panel (touch and keyboard still click). Off while `inline`.",
|
|
2019
|
+
"fieldName": "openOnHover"
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"name": "back-label",
|
|
2023
|
+
"type": {
|
|
2024
|
+
"text": "string"
|
|
2025
|
+
},
|
|
2026
|
+
"default": "'Back'",
|
|
2027
|
+
"description": "Text of the Back button in the `mega` + `inline` drill-down panel.",
|
|
2028
|
+
"fieldName": "backLabel"
|
|
2029
|
+
}
|
|
2030
|
+
],
|
|
2031
|
+
"superclass": {
|
|
2032
|
+
"name": "LitElement",
|
|
2033
|
+
"package": "lit"
|
|
2034
|
+
},
|
|
2035
|
+
"tagName": "st-dropdown",
|
|
2036
|
+
"customElement": true
|
|
2037
|
+
}
|
|
2038
|
+
],
|
|
2039
|
+
"exports": [
|
|
2040
|
+
{
|
|
2041
|
+
"kind": "js",
|
|
2042
|
+
"name": "Dropdown",
|
|
2043
|
+
"declaration": {
|
|
2044
|
+
"name": "Dropdown",
|
|
2045
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"kind": "custom-element-definition",
|
|
2050
|
+
"name": "st-dropdown",
|
|
2051
|
+
"declaration": {
|
|
2052
|
+
"name": "Dropdown",
|
|
2053
|
+
"module": "src/dropdown/Dropdown.ts"
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
]
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"kind": "javascript-module",
|
|
2060
|
+
"path": "src/feature-split/FeatureSplit.ts",
|
|
2061
|
+
"declarations": [
|
|
2062
|
+
{
|
|
2063
|
+
"kind": "class",
|
|
2064
|
+
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
2065
|
+
"name": "FeatureSplit",
|
|
2066
|
+
"cssProperties": [
|
|
2067
|
+
{
|
|
2068
|
+
"description": "Overrides the block's padding.",
|
|
2069
|
+
"name": "--st-feature-split-padding"
|
|
2070
|
+
}
|
|
2071
|
+
],
|
|
2072
|
+
"members": [
|
|
2073
|
+
{
|
|
2074
|
+
"kind": "field",
|
|
2075
|
+
"name": "inverted",
|
|
2076
|
+
"type": {
|
|
2077
|
+
"text": "boolean"
|
|
2078
|
+
},
|
|
2079
|
+
"default": "false",
|
|
2080
|
+
"attribute": "inverted",
|
|
2081
|
+
"reflects": true
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "field",
|
|
2085
|
+
"name": "title",
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "string"
|
|
2088
|
+
},
|
|
2089
|
+
"default": "''",
|
|
2090
|
+
"attribute": "title"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"kind": "field",
|
|
2094
|
+
"name": "subtitle",
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "string"
|
|
2097
|
+
},
|
|
2098
|
+
"default": "''",
|
|
2099
|
+
"description": "Markdown.",
|
|
2100
|
+
"attribute": "subtitle"
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"kind": "field",
|
|
2104
|
+
"name": "items",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "FeatureSplitItem[]"
|
|
2107
|
+
},
|
|
2108
|
+
"default": "[]"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"kind": "field",
|
|
2112
|
+
"name": "imageSrc",
|
|
2113
|
+
"type": {
|
|
2114
|
+
"text": "string"
|
|
2115
|
+
},
|
|
2116
|
+
"default": "''",
|
|
2117
|
+
"attribute": "image-src"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"kind": "field",
|
|
2121
|
+
"name": "imageAlt",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "string"
|
|
2124
|
+
},
|
|
2125
|
+
"default": "''",
|
|
2126
|
+
"attribute": "image-alt"
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"kind": "field",
|
|
2130
|
+
"name": "imagePosition",
|
|
2131
|
+
"type": {
|
|
2132
|
+
"text": "FeatureSplitImagePosition"
|
|
2133
|
+
},
|
|
2134
|
+
"default": "'right'",
|
|
2135
|
+
"attribute": "image-position",
|
|
2136
|
+
"reflects": true
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"kind": "field",
|
|
2140
|
+
"name": "actionLabel",
|
|
2141
|
+
"type": {
|
|
2142
|
+
"text": "string"
|
|
2143
|
+
},
|
|
2144
|
+
"default": "''",
|
|
2145
|
+
"attribute": "action-label"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"kind": "field",
|
|
2149
|
+
"name": "href",
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "string"
|
|
2152
|
+
},
|
|
2153
|
+
"default": "''",
|
|
2154
|
+
"attribute": "href"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"kind": "method",
|
|
2158
|
+
"name": "onAction",
|
|
2159
|
+
"privacy": "private"
|
|
2160
|
+
}
|
|
2161
|
+
],
|
|
2162
|
+
"attributes": [
|
|
2163
|
+
{
|
|
2164
|
+
"name": "inverted",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "boolean"
|
|
2167
|
+
},
|
|
2168
|
+
"default": "false",
|
|
2169
|
+
"fieldName": "inverted"
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"name": "title",
|
|
2173
|
+
"type": {
|
|
2174
|
+
"text": "string"
|
|
2175
|
+
},
|
|
2176
|
+
"default": "''",
|
|
2177
|
+
"fieldName": "title"
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "subtitle",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "string"
|
|
2183
|
+
},
|
|
2184
|
+
"default": "''",
|
|
2185
|
+
"description": "Markdown.",
|
|
2186
|
+
"fieldName": "subtitle"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"name": "image-src",
|
|
2190
|
+
"type": {
|
|
2191
|
+
"text": "string"
|
|
1573
2192
|
},
|
|
1574
|
-
"default": "
|
|
1575
|
-
"
|
|
1576
|
-
"fieldName": "open"
|
|
2193
|
+
"default": "''",
|
|
2194
|
+
"fieldName": "imageSrc"
|
|
1577
2195
|
},
|
|
1578
2196
|
{
|
|
1579
|
-
"name": "
|
|
2197
|
+
"name": "image-alt",
|
|
1580
2198
|
"type": {
|
|
1581
|
-
"text": "
|
|
2199
|
+
"text": "string"
|
|
1582
2200
|
},
|
|
1583
|
-
"default": "
|
|
1584
|
-
"
|
|
1585
|
-
"fieldName": "mega"
|
|
2201
|
+
"default": "''",
|
|
2202
|
+
"fieldName": "imageAlt"
|
|
1586
2203
|
},
|
|
1587
2204
|
{
|
|
1588
|
-
"name": "
|
|
2205
|
+
"name": "image-position",
|
|
1589
2206
|
"type": {
|
|
1590
|
-
"text": "
|
|
2207
|
+
"text": "FeatureSplitImagePosition"
|
|
1591
2208
|
},
|
|
1592
|
-
"default": "
|
|
1593
|
-
"
|
|
1594
|
-
"fieldName": "bar"
|
|
2209
|
+
"default": "'right'",
|
|
2210
|
+
"fieldName": "imagePosition"
|
|
1595
2211
|
},
|
|
1596
2212
|
{
|
|
1597
|
-
"name": "
|
|
2213
|
+
"name": "action-label",
|
|
1598
2214
|
"type": {
|
|
1599
|
-
"text": "
|
|
2215
|
+
"text": "string"
|
|
1600
2216
|
},
|
|
1601
|
-
"default": "
|
|
1602
|
-
"
|
|
1603
|
-
"fieldName": "openOnHover"
|
|
2217
|
+
"default": "''",
|
|
2218
|
+
"fieldName": "actionLabel"
|
|
1604
2219
|
},
|
|
1605
2220
|
{
|
|
1606
|
-
"name": "
|
|
2221
|
+
"name": "href",
|
|
1607
2222
|
"type": {
|
|
1608
2223
|
"text": "string"
|
|
1609
2224
|
},
|
|
1610
|
-
"default": "'
|
|
1611
|
-
"
|
|
1612
|
-
"fieldName": "backLabel"
|
|
2225
|
+
"default": "''",
|
|
2226
|
+
"fieldName": "href"
|
|
1613
2227
|
}
|
|
1614
2228
|
],
|
|
1615
2229
|
"superclass": {
|
|
1616
2230
|
"name": "LitElement",
|
|
1617
2231
|
"package": "lit"
|
|
1618
2232
|
},
|
|
1619
|
-
"tagName": "st-
|
|
2233
|
+
"tagName": "st-feature-split",
|
|
1620
2234
|
"customElement": true
|
|
1621
2235
|
}
|
|
1622
2236
|
],
|
|
1623
2237
|
"exports": [
|
|
1624
2238
|
{
|
|
1625
2239
|
"kind": "js",
|
|
1626
|
-
"name": "
|
|
2240
|
+
"name": "FeatureSplit",
|
|
1627
2241
|
"declaration": {
|
|
1628
|
-
"name": "
|
|
1629
|
-
"module": "src/
|
|
2242
|
+
"name": "FeatureSplit",
|
|
2243
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1630
2244
|
}
|
|
1631
2245
|
},
|
|
1632
2246
|
{
|
|
1633
2247
|
"kind": "custom-element-definition",
|
|
1634
|
-
"name": "st-
|
|
2248
|
+
"name": "st-feature-split",
|
|
1635
2249
|
"declaration": {
|
|
1636
|
-
"name": "
|
|
1637
|
-
"module": "src/
|
|
2250
|
+
"name": "FeatureSplit",
|
|
2251
|
+
"module": "src/feature-split/FeatureSplit.ts"
|
|
1638
2252
|
}
|
|
1639
2253
|
}
|
|
1640
2254
|
]
|
|
@@ -2128,270 +2742,72 @@
|
|
|
2128
2742
|
"fieldName": "copyright"
|
|
2129
2743
|
},
|
|
2130
2744
|
{
|
|
2131
|
-
"name": "powered-by",
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "string"
|
|
2134
|
-
},
|
|
2135
|
-
"default": "''",
|
|
2136
|
-
"fieldName": "poweredBy"
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
"name": "powered-by-link",
|
|
2140
|
-
"type": {
|
|
2141
|
-
"text": "string"
|
|
2142
|
-
},
|
|
2143
|
-
"default": "''",
|
|
2144
|
-
"fieldName": "poweredByLink"
|
|
2145
|
-
},
|
|
2146
|
-
{
|
|
2147
|
-
"name": "version",
|
|
2148
|
-
"type": {
|
|
2149
|
-
"text": "string"
|
|
2150
|
-
},
|
|
2151
|
-
"default": "''",
|
|
2152
|
-
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\nversion in the footer rather than the header title.",
|
|
2153
|
-
"fieldName": "version"
|
|
2154
|
-
},
|
|
2155
|
-
{
|
|
2156
|
-
"name": "image-src",
|
|
2157
|
-
"type": {
|
|
2158
|
-
"text": "string"
|
|
2159
|
-
},
|
|
2160
|
-
"default": "''",
|
|
2161
|
-
"description": "Logo shown in the brand block (site layout).",
|
|
2162
|
-
"fieldName": "imageSrc"
|
|
2163
|
-
},
|
|
2164
|
-
{
|
|
2165
|
-
"name": "description",
|
|
2166
|
-
"type": {
|
|
2167
|
-
"text": "string"
|
|
2168
|
-
},
|
|
2169
|
-
"default": "''",
|
|
2170
|
-
"description": "Short blurb under the logo (site layout).",
|
|
2171
|
-
"fieldName": "description"
|
|
2172
|
-
}
|
|
2173
|
-
],
|
|
2174
|
-
"superclass": {
|
|
2175
|
-
"name": "LitElement",
|
|
2176
|
-
"package": "lit"
|
|
2177
|
-
},
|
|
2178
|
-
"tagName": "st-footer",
|
|
2179
|
-
"customElement": true
|
|
2180
|
-
}
|
|
2181
|
-
],
|
|
2182
|
-
"exports": [
|
|
2183
|
-
{
|
|
2184
|
-
"kind": "js",
|
|
2185
|
-
"name": "Footer",
|
|
2186
|
-
"declaration": {
|
|
2187
|
-
"name": "Footer",
|
|
2188
|
-
"module": "src/footer/Footer.ts"
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
"kind": "custom-element-definition",
|
|
2193
|
-
"name": "st-footer",
|
|
2194
|
-
"declaration": {
|
|
2195
|
-
"name": "Footer",
|
|
2196
|
-
"module": "src/footer/Footer.ts"
|
|
2197
|
-
}
|
|
2198
|
-
}
|
|
2199
|
-
]
|
|
2200
|
-
},
|
|
2201
|
-
{
|
|
2202
|
-
"kind": "javascript-module",
|
|
2203
|
-
"path": "src/feature-split/FeatureSplit.ts",
|
|
2204
|
-
"declarations": [
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "class",
|
|
2207
|
-
"description": "A title/markdown-subtitle/feature-list block beside (or under) an image.",
|
|
2208
|
-
"name": "FeatureSplit",
|
|
2209
|
-
"cssProperties": [
|
|
2210
|
-
{
|
|
2211
|
-
"description": "Overrides the block's padding.",
|
|
2212
|
-
"name": "--st-feature-split-padding"
|
|
2213
|
-
}
|
|
2214
|
-
],
|
|
2215
|
-
"members": [
|
|
2216
|
-
{
|
|
2217
|
-
"kind": "field",
|
|
2218
|
-
"name": "inverted",
|
|
2219
|
-
"type": {
|
|
2220
|
-
"text": "boolean"
|
|
2221
|
-
},
|
|
2222
|
-
"default": "false",
|
|
2223
|
-
"attribute": "inverted",
|
|
2224
|
-
"reflects": true
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "field",
|
|
2228
|
-
"name": "title",
|
|
2229
|
-
"type": {
|
|
2230
|
-
"text": "string"
|
|
2231
|
-
},
|
|
2232
|
-
"default": "''",
|
|
2233
|
-
"attribute": "title"
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
"kind": "field",
|
|
2237
|
-
"name": "subtitle",
|
|
2238
|
-
"type": {
|
|
2239
|
-
"text": "string"
|
|
2240
|
-
},
|
|
2241
|
-
"default": "''",
|
|
2242
|
-
"description": "Markdown.",
|
|
2243
|
-
"attribute": "subtitle"
|
|
2244
|
-
},
|
|
2245
|
-
{
|
|
2246
|
-
"kind": "field",
|
|
2247
|
-
"name": "items",
|
|
2248
|
-
"type": {
|
|
2249
|
-
"text": "FeatureSplitItem[]"
|
|
2250
|
-
},
|
|
2251
|
-
"default": "[]"
|
|
2252
|
-
},
|
|
2253
|
-
{
|
|
2254
|
-
"kind": "field",
|
|
2255
|
-
"name": "imageSrc",
|
|
2256
|
-
"type": {
|
|
2257
|
-
"text": "string"
|
|
2258
|
-
},
|
|
2259
|
-
"default": "''",
|
|
2260
|
-
"attribute": "image-src"
|
|
2261
|
-
},
|
|
2262
|
-
{
|
|
2263
|
-
"kind": "field",
|
|
2264
|
-
"name": "imageAlt",
|
|
2265
|
-
"type": {
|
|
2266
|
-
"text": "string"
|
|
2267
|
-
},
|
|
2268
|
-
"default": "''",
|
|
2269
|
-
"attribute": "image-alt"
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
"kind": "field",
|
|
2273
|
-
"name": "imagePosition",
|
|
2274
|
-
"type": {
|
|
2275
|
-
"text": "FeatureSplitImagePosition"
|
|
2276
|
-
},
|
|
2277
|
-
"default": "'right'",
|
|
2278
|
-
"attribute": "image-position",
|
|
2279
|
-
"reflects": true
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"kind": "field",
|
|
2283
|
-
"name": "actionLabel",
|
|
2284
|
-
"type": {
|
|
2285
|
-
"text": "string"
|
|
2286
|
-
},
|
|
2287
|
-
"default": "''",
|
|
2288
|
-
"attribute": "action-label"
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
"kind": "field",
|
|
2292
|
-
"name": "href",
|
|
2293
|
-
"type": {
|
|
2294
|
-
"text": "string"
|
|
2295
|
-
},
|
|
2296
|
-
"default": "''",
|
|
2297
|
-
"attribute": "href"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"kind": "method",
|
|
2301
|
-
"name": "onAction",
|
|
2302
|
-
"privacy": "private"
|
|
2303
|
-
}
|
|
2304
|
-
],
|
|
2305
|
-
"attributes": [
|
|
2306
|
-
{
|
|
2307
|
-
"name": "inverted",
|
|
2308
|
-
"type": {
|
|
2309
|
-
"text": "boolean"
|
|
2310
|
-
},
|
|
2311
|
-
"default": "false",
|
|
2312
|
-
"fieldName": "inverted"
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
"name": "title",
|
|
2316
|
-
"type": {
|
|
2317
|
-
"text": "string"
|
|
2318
|
-
},
|
|
2319
|
-
"default": "''",
|
|
2320
|
-
"fieldName": "title"
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"name": "subtitle",
|
|
2324
|
-
"type": {
|
|
2325
|
-
"text": "string"
|
|
2326
|
-
},
|
|
2327
|
-
"default": "''",
|
|
2328
|
-
"description": "Markdown.",
|
|
2329
|
-
"fieldName": "subtitle"
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"name": "image-src",
|
|
2745
|
+
"name": "powered-by",
|
|
2333
2746
|
"type": {
|
|
2334
2747
|
"text": "string"
|
|
2335
2748
|
},
|
|
2336
2749
|
"default": "''",
|
|
2337
|
-
"fieldName": "
|
|
2750
|
+
"fieldName": "poweredBy"
|
|
2338
2751
|
},
|
|
2339
2752
|
{
|
|
2340
|
-
"name": "
|
|
2753
|
+
"name": "powered-by-link",
|
|
2341
2754
|
"type": {
|
|
2342
2755
|
"text": "string"
|
|
2343
2756
|
},
|
|
2344
2757
|
"default": "''",
|
|
2345
|
-
"fieldName": "
|
|
2758
|
+
"fieldName": "poweredByLink"
|
|
2346
2759
|
},
|
|
2347
2760
|
{
|
|
2348
|
-
"name": "
|
|
2761
|
+
"name": "version",
|
|
2349
2762
|
"type": {
|
|
2350
|
-
"text": "
|
|
2763
|
+
"text": "string"
|
|
2351
2764
|
},
|
|
2352
|
-
"default": "'
|
|
2353
|
-
"
|
|
2765
|
+
"default": "''",
|
|
2766
|
+
"description": "App version, rendered as `v{version}` after the copyright line — for apps that show their own\nversion in the footer rather than the header title.",
|
|
2767
|
+
"fieldName": "version"
|
|
2354
2768
|
},
|
|
2355
2769
|
{
|
|
2356
|
-
"name": "
|
|
2770
|
+
"name": "image-src",
|
|
2357
2771
|
"type": {
|
|
2358
2772
|
"text": "string"
|
|
2359
2773
|
},
|
|
2360
2774
|
"default": "''",
|
|
2361
|
-
"
|
|
2775
|
+
"description": "Logo shown in the brand block (site layout).",
|
|
2776
|
+
"fieldName": "imageSrc"
|
|
2362
2777
|
},
|
|
2363
2778
|
{
|
|
2364
|
-
"name": "
|
|
2779
|
+
"name": "description",
|
|
2365
2780
|
"type": {
|
|
2366
2781
|
"text": "string"
|
|
2367
2782
|
},
|
|
2368
2783
|
"default": "''",
|
|
2369
|
-
"
|
|
2784
|
+
"description": "Short blurb under the logo (site layout).",
|
|
2785
|
+
"fieldName": "description"
|
|
2370
2786
|
}
|
|
2371
2787
|
],
|
|
2372
2788
|
"superclass": {
|
|
2373
2789
|
"name": "LitElement",
|
|
2374
2790
|
"package": "lit"
|
|
2375
2791
|
},
|
|
2376
|
-
"tagName": "st-
|
|
2792
|
+
"tagName": "st-footer",
|
|
2377
2793
|
"customElement": true
|
|
2378
2794
|
}
|
|
2379
2795
|
],
|
|
2380
2796
|
"exports": [
|
|
2381
2797
|
{
|
|
2382
2798
|
"kind": "js",
|
|
2383
|
-
"name": "
|
|
2799
|
+
"name": "Footer",
|
|
2384
2800
|
"declaration": {
|
|
2385
|
-
"name": "
|
|
2386
|
-
"module": "src/
|
|
2801
|
+
"name": "Footer",
|
|
2802
|
+
"module": "src/footer/Footer.ts"
|
|
2387
2803
|
}
|
|
2388
2804
|
},
|
|
2389
2805
|
{
|
|
2390
2806
|
"kind": "custom-element-definition",
|
|
2391
|
-
"name": "st-
|
|
2807
|
+
"name": "st-footer",
|
|
2392
2808
|
"declaration": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"module": "src/
|
|
2809
|
+
"name": "Footer",
|
|
2810
|
+
"module": "src/footer/Footer.ts"
|
|
2395
2811
|
}
|
|
2396
2812
|
}
|
|
2397
2813
|
]
|
|
@@ -3566,6 +3982,161 @@
|
|
|
3566
3982
|
}
|
|
3567
3983
|
]
|
|
3568
3984
|
},
|
|
3985
|
+
{
|
|
3986
|
+
"kind": "javascript-module",
|
|
3987
|
+
"path": "src/kpi-card/KpiCard.ts",
|
|
3988
|
+
"declarations": [
|
|
3989
|
+
{
|
|
3990
|
+
"kind": "class",
|
|
3991
|
+
"description": "A key-figure card for dashboards: a label, one large value with an optional unit (for example\n\"lakh\" or \"crore\"), a secondary line, and a row of chips. The `icon` slot sits beside the label.\n`hero` gives the blue gradient card used for the headline figure. The value is shown exactly as\npassed in: format numbers (Indian grouping, currency symbols) before setting it.\n\nSlots: `icon` (optional glyph), `chips` (a row of `st-chip`), `footer` (anything below the chips).",
|
|
3992
|
+
"name": "KpiCard",
|
|
3993
|
+
"members": [
|
|
3994
|
+
{
|
|
3995
|
+
"kind": "field",
|
|
3996
|
+
"name": "label",
|
|
3997
|
+
"type": {
|
|
3998
|
+
"text": "string"
|
|
3999
|
+
},
|
|
4000
|
+
"default": "''",
|
|
4001
|
+
"description": "Label above the figure.",
|
|
4002
|
+
"attribute": "label"
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"kind": "field",
|
|
4006
|
+
"name": "value",
|
|
4007
|
+
"type": {
|
|
4008
|
+
"text": "string"
|
|
4009
|
+
},
|
|
4010
|
+
"default": "''",
|
|
4011
|
+
"description": "The figure, already formatted (for example \"25.88\").",
|
|
4012
|
+
"attribute": "value"
|
|
4013
|
+
},
|
|
4014
|
+
{
|
|
4015
|
+
"kind": "field",
|
|
4016
|
+
"name": "unit",
|
|
4017
|
+
"type": {
|
|
4018
|
+
"text": "string"
|
|
4019
|
+
},
|
|
4020
|
+
"default": "''",
|
|
4021
|
+
"description": "Unit shown beside the figure (for example \"lakh\").",
|
|
4022
|
+
"attribute": "unit"
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"kind": "field",
|
|
4026
|
+
"name": "sub",
|
|
4027
|
+
"type": {
|
|
4028
|
+
"text": "string"
|
|
4029
|
+
},
|
|
4030
|
+
"default": "''",
|
|
4031
|
+
"description": "Secondary line below the figure (for example the exact amount and the period).",
|
|
4032
|
+
"attribute": "sub"
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "field",
|
|
4036
|
+
"name": "hero",
|
|
4037
|
+
"type": {
|
|
4038
|
+
"text": "boolean"
|
|
4039
|
+
},
|
|
4040
|
+
"default": "false",
|
|
4041
|
+
"description": "The blue gradient headline card.",
|
|
4042
|
+
"attribute": "hero",
|
|
4043
|
+
"reflects": true
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"kind": "field",
|
|
4047
|
+
"name": "hasIcon",
|
|
4048
|
+
"type": {
|
|
4049
|
+
"text": "boolean"
|
|
4050
|
+
},
|
|
4051
|
+
"default": "false",
|
|
4052
|
+
"description": "Set when an element is slotted into `icon`, so the icon tile only shows when there is an icon.",
|
|
4053
|
+
"attribute": "has-icon",
|
|
4054
|
+
"reflects": true
|
|
4055
|
+
}
|
|
4056
|
+
],
|
|
4057
|
+
"attributes": [
|
|
4058
|
+
{
|
|
4059
|
+
"name": "label",
|
|
4060
|
+
"type": {
|
|
4061
|
+
"text": "string"
|
|
4062
|
+
},
|
|
4063
|
+
"default": "''",
|
|
4064
|
+
"description": "Label above the figure.",
|
|
4065
|
+
"fieldName": "label"
|
|
4066
|
+
},
|
|
4067
|
+
{
|
|
4068
|
+
"name": "value",
|
|
4069
|
+
"type": {
|
|
4070
|
+
"text": "string"
|
|
4071
|
+
},
|
|
4072
|
+
"default": "''",
|
|
4073
|
+
"description": "The figure, already formatted (for example \"25.88\").",
|
|
4074
|
+
"fieldName": "value"
|
|
4075
|
+
},
|
|
4076
|
+
{
|
|
4077
|
+
"name": "unit",
|
|
4078
|
+
"type": {
|
|
4079
|
+
"text": "string"
|
|
4080
|
+
},
|
|
4081
|
+
"default": "''",
|
|
4082
|
+
"description": "Unit shown beside the figure (for example \"lakh\").",
|
|
4083
|
+
"fieldName": "unit"
|
|
4084
|
+
},
|
|
4085
|
+
{
|
|
4086
|
+
"name": "sub",
|
|
4087
|
+
"type": {
|
|
4088
|
+
"text": "string"
|
|
4089
|
+
},
|
|
4090
|
+
"default": "''",
|
|
4091
|
+
"description": "Secondary line below the figure (for example the exact amount and the period).",
|
|
4092
|
+
"fieldName": "sub"
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
"name": "hero",
|
|
4096
|
+
"type": {
|
|
4097
|
+
"text": "boolean"
|
|
4098
|
+
},
|
|
4099
|
+
"default": "false",
|
|
4100
|
+
"description": "The blue gradient headline card.",
|
|
4101
|
+
"fieldName": "hero"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"name": "has-icon",
|
|
4105
|
+
"type": {
|
|
4106
|
+
"text": "boolean"
|
|
4107
|
+
},
|
|
4108
|
+
"default": "false",
|
|
4109
|
+
"description": "Set when an element is slotted into `icon`, so the icon tile only shows when there is an icon.",
|
|
4110
|
+
"fieldName": "hasIcon"
|
|
4111
|
+
}
|
|
4112
|
+
],
|
|
4113
|
+
"superclass": {
|
|
4114
|
+
"name": "LitElement",
|
|
4115
|
+
"package": "lit"
|
|
4116
|
+
},
|
|
4117
|
+
"tagName": "st-kpi-card",
|
|
4118
|
+
"customElement": true
|
|
4119
|
+
}
|
|
4120
|
+
],
|
|
4121
|
+
"exports": [
|
|
4122
|
+
{
|
|
4123
|
+
"kind": "js",
|
|
4124
|
+
"name": "KpiCard",
|
|
4125
|
+
"declaration": {
|
|
4126
|
+
"name": "KpiCard",
|
|
4127
|
+
"module": "src/kpi-card/KpiCard.ts"
|
|
4128
|
+
}
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"kind": "custom-element-definition",
|
|
4132
|
+
"name": "st-kpi-card",
|
|
4133
|
+
"declaration": {
|
|
4134
|
+
"name": "KpiCard",
|
|
4135
|
+
"module": "src/kpi-card/KpiCard.ts"
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
]
|
|
4139
|
+
},
|
|
3569
4140
|
{
|
|
3570
4141
|
"kind": "javascript-module",
|
|
3571
4142
|
"path": "src/markdown/Markdown.ts",
|
|
@@ -5331,6 +5902,127 @@
|
|
|
5331
5902
|
}
|
|
5332
5903
|
]
|
|
5333
5904
|
},
|
|
5905
|
+
{
|
|
5906
|
+
"kind": "javascript-module",
|
|
5907
|
+
"path": "src/segmented-control/SegmentedControl.ts",
|
|
5908
|
+
"declarations": [
|
|
5909
|
+
{
|
|
5910
|
+
"kind": "class",
|
|
5911
|
+
"description": "A row of mutually exclusive segments in a grey track, one of them lifted as white. Pass the\nsegments as `options` and the chosen one as `value`; a `segment-change` event fires on choice.\nKeyboard: arrows move between segments, Home and End jump to the ends.",
|
|
5912
|
+
"name": "SegmentedControl",
|
|
5913
|
+
"members": [
|
|
5914
|
+
{
|
|
5915
|
+
"kind": "field",
|
|
5916
|
+
"name": "options",
|
|
5917
|
+
"type": {
|
|
5918
|
+
"text": "SegmentedOption[]"
|
|
5919
|
+
},
|
|
5920
|
+
"default": "[]",
|
|
5921
|
+
"description": "The segments, in order."
|
|
5922
|
+
},
|
|
5923
|
+
{
|
|
5924
|
+
"kind": "field",
|
|
5925
|
+
"name": "value",
|
|
5926
|
+
"type": {
|
|
5927
|
+
"text": "string"
|
|
5928
|
+
},
|
|
5929
|
+
"default": "''",
|
|
5930
|
+
"description": "The chosen segment's `value`.",
|
|
5931
|
+
"attribute": "value",
|
|
5932
|
+
"reflects": true
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5935
|
+
"kind": "field",
|
|
5936
|
+
"name": "groupLabel",
|
|
5937
|
+
"type": {
|
|
5938
|
+
"text": "string"
|
|
5939
|
+
},
|
|
5940
|
+
"default": "''",
|
|
5941
|
+
"description": "Names the group for assistive technology.",
|
|
5942
|
+
"attribute": "group-label"
|
|
5943
|
+
},
|
|
5944
|
+
{
|
|
5945
|
+
"kind": "method",
|
|
5946
|
+
"name": "select",
|
|
5947
|
+
"privacy": "private",
|
|
5948
|
+
"parameters": [
|
|
5949
|
+
{
|
|
5950
|
+
"name": "next",
|
|
5951
|
+
"type": {
|
|
5952
|
+
"text": "string"
|
|
5953
|
+
}
|
|
5954
|
+
}
|
|
5955
|
+
]
|
|
5956
|
+
},
|
|
5957
|
+
{
|
|
5958
|
+
"kind": "method",
|
|
5959
|
+
"name": "onKeydown",
|
|
5960
|
+
"privacy": "private",
|
|
5961
|
+
"parameters": [
|
|
5962
|
+
{
|
|
5963
|
+
"name": "event",
|
|
5964
|
+
"type": {
|
|
5965
|
+
"text": "KeyboardEvent"
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
]
|
|
5969
|
+
}
|
|
5970
|
+
],
|
|
5971
|
+
"events": [
|
|
5972
|
+
{
|
|
5973
|
+
"name": "segment-change",
|
|
5974
|
+
"type": {
|
|
5975
|
+
"text": "CustomEvent"
|
|
5976
|
+
}
|
|
5977
|
+
}
|
|
5978
|
+
],
|
|
5979
|
+
"attributes": [
|
|
5980
|
+
{
|
|
5981
|
+
"name": "value",
|
|
5982
|
+
"type": {
|
|
5983
|
+
"text": "string"
|
|
5984
|
+
},
|
|
5985
|
+
"default": "''",
|
|
5986
|
+
"description": "The chosen segment's `value`.",
|
|
5987
|
+
"fieldName": "value"
|
|
5988
|
+
},
|
|
5989
|
+
{
|
|
5990
|
+
"name": "group-label",
|
|
5991
|
+
"type": {
|
|
5992
|
+
"text": "string"
|
|
5993
|
+
},
|
|
5994
|
+
"default": "''",
|
|
5995
|
+
"description": "Names the group for assistive technology.",
|
|
5996
|
+
"fieldName": "groupLabel"
|
|
5997
|
+
}
|
|
5998
|
+
],
|
|
5999
|
+
"superclass": {
|
|
6000
|
+
"name": "LitElement",
|
|
6001
|
+
"package": "lit"
|
|
6002
|
+
},
|
|
6003
|
+
"tagName": "st-segmented-control",
|
|
6004
|
+
"customElement": true
|
|
6005
|
+
}
|
|
6006
|
+
],
|
|
6007
|
+
"exports": [
|
|
6008
|
+
{
|
|
6009
|
+
"kind": "js",
|
|
6010
|
+
"name": "SegmentedControl",
|
|
6011
|
+
"declaration": {
|
|
6012
|
+
"name": "SegmentedControl",
|
|
6013
|
+
"module": "src/segmented-control/SegmentedControl.ts"
|
|
6014
|
+
}
|
|
6015
|
+
},
|
|
6016
|
+
{
|
|
6017
|
+
"kind": "custom-element-definition",
|
|
6018
|
+
"name": "st-segmented-control",
|
|
6019
|
+
"declaration": {
|
|
6020
|
+
"name": "SegmentedControl",
|
|
6021
|
+
"module": "src/segmented-control/SegmentedControl.ts"
|
|
6022
|
+
}
|
|
6023
|
+
}
|
|
6024
|
+
]
|
|
6025
|
+
},
|
|
5334
6026
|
{
|
|
5335
6027
|
"kind": "javascript-module",
|
|
5336
6028
|
"path": "src/select/Select.ts",
|