forked from internetarchive/iaux-modal-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
170 lines (170 loc) · 4.88 KB
/
custom-elements.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"version": 2,
"tags": [
{
"name": "modal-manager",
"description": "A LitElement modal manager",
"properties": [
{
"name": "mode",
"type": "ModalManagerMode",
"description": "The current mode of the modal manager (open/closed)",
"default": "ModalManagerMode.Closed"
},
{
"name": "customModalContent",
"type": "TemplateResult",
"description": "Custom content to be displayed in the modal content slot",
"default": "undefined"
},
{
"name": "hostBridge",
"type": "ModalManagerHostBridgeInterface",
"description": "A handler for host-specific functionality like CSS modifications",
"default": "default ModalManagerHostBridge"
}
],
"events": [
{
"name": "modeChanged",
"description": "Dispatched when the modal opens or closes"
}
],
"slots": [],
"cssProperties": [
{
"name": "--modalBackdropColor",
"description": "Backdrop color",
"type": "String",
"default": "rgba(10, 10, 10, 0.9)"
},
{
"name": "--modalBackdropZindex",
"description": "Backdrop z-index",
"type": "Number",
"default": "1000"
},
{
"name": "--modalWidth",
"description": "Modal width",
"type": "String",
"default": "32rem"
},
{
"name": "--modalMaxWidth",
"description": "Modal maximum width",
"type": "String",
"default": "95%"
},
{
"name": "--modalZindex",
"description": "Modal z-index",
"type": "Number",
"default": "2000"
},
{
"name": "--modalLogoSize",
"description": "The modal logo size",
"type": "String",
"default": "6.5rem"
},
{
"name": "--processingImageSize",
"description": "The processing image size",
"type": "String",
"default": "7.5rem"
},
{
"name": "--modalCornerRadius",
"description": "Modal corner radius",
"type": "String",
"default": "2.5rem"
},
{
"name": "--modalBorder",
"description": "The modal border",
"type": "String",
"default": "2px solid black"
},
{
"name": "--modalBottomMargin",
"description": "The space between the bottom of the screen and the bottom of the modal",
"type": "String",
"default": "2.5rem"
},
{
"name": "--modalTopMargin",
"description": "The space between the top of the screen and the top of the modal",
"type": "String",
"default": "2.5rem"
},
{
"name": "--modalHeaderBottomPadding",
"description": "The padding on the bottom of the modal header",
"type": "String",
"default": "0.5rem"
},
{
"name": "--modalBottomPadding",
"description": "The padding on the bottom of the modal",
"type": "String",
"default": "20px"
},
{
"name": "--modalScrollOffset",
"description": "Adds a bit of extra padding to the scrollable area so the scrollbar doesn't always show",
"type": "String",
"default": "5px"
},
{
"name": "--modalTitleFontSize",
"description": "Modal title font size",
"type": "String",
"default": "1.8rem"
},
{
"name": "--modalSubtitleFontSize",
"description": "Modal subtitle font size",
"type": "String",
"default": "1.4rem"
},
{
"name": "--modalHeadlineFontSize",
"description": "Modal headline font size",
"type": "String",
"default": "1.6rem"
},
{
"name": "--modalMessageFontSize",
"description": "Modal message font size",
"type": "String",
"default": "1.4rem"
},
{
"name": "--modalTitleLineHeight",
"description": "Modal title line height",
"type": "String",
"default": "normal"
},
{
"name": "--modalSubtitleLineHeight",
"description": "Modal subtitle line height",
"type": "String",
"default": "normal"
},
{
"name": "--modalHeadlineLineHeight",
"description": "Modal headline line height",
"type": "String",
"default": "normal"
},
{
"name": "--modalMessageLineHeight",
"description": "Modal message line height",
"type": "String",
"default": "normal"
}
]
}
]
}