@pakdul/layout 0.0.0
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/dul-layout.d.ts +2 -0
- package/dul-layout.d.ts.map +1 -0
- package/dul-layout.js +298 -0
- package/dul-layout.js.map +1 -0
- package/package.json +20 -0
- package/src/dul-layout.ts +298 -0
- package/tsconfig.json +55 -0
package/dul-layout.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dul-layout.d.ts","sourceRoot":"","sources":["src/dul-layout.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
package/dul-layout.js
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import './node_modules/@pakdul/style/dul-style.js';
|
|
2
|
+
const tmpl = document.createElement('template');
|
|
3
|
+
tmpl.setAttribute('style', 'display:none');
|
|
4
|
+
tmpl.innerHTML = `<dul-style>
|
|
5
|
+
<style>
|
|
6
|
+
html {
|
|
7
|
+
/***container direction: BEGIN***/
|
|
8
|
+
--absolute-fit: {
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
--flex: {
|
|
17
|
+
display: -ms-flexbox;
|
|
18
|
+
display: -webkit-flex;
|
|
19
|
+
display: flex;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
--flex-inline: {
|
|
23
|
+
display: -ms-inline-flexbox;
|
|
24
|
+
display: -webkit-inline-flex;
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
--flex-column: {
|
|
29
|
+
-ms-flex-direction: column;
|
|
30
|
+
-webkit-flex-direction: column;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
--flex-row: {
|
|
35
|
+
-ms-flex-direction: row;
|
|
36
|
+
-webkit-flex-direction: row;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
--flex-vertical: {
|
|
41
|
+
@apply --flex;
|
|
42
|
+
@apply --flex-column;
|
|
43
|
+
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
--flex-inline-vertical: {
|
|
47
|
+
@apply --flex-inline;
|
|
48
|
+
@apply --flex-column;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
--flex-horizontal: {
|
|
52
|
+
@apply --flex;
|
|
53
|
+
@apply --flex-row;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
--flex-inline-horizontal: {
|
|
57
|
+
@apply --flex-inline;
|
|
58
|
+
@apply --flex-row;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
--flex-wrap: {
|
|
62
|
+
-ms-flex-wrap: wrap;
|
|
63
|
+
-webkit-flex-wrap: wrap;
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
--flex-wrap-reverse: {
|
|
68
|
+
-ms-flex-wrap: wrap-reverse;
|
|
69
|
+
-webkit-flex-wrap: wrap-reverse;
|
|
70
|
+
flex-wrap: wrap-reverse;
|
|
71
|
+
}
|
|
72
|
+
/***container direction: END***/
|
|
73
|
+
|
|
74
|
+
/***alignment in main axis: BEGIN***/
|
|
75
|
+
--flex-justify-start: {
|
|
76
|
+
-ms-flex-pack: start;
|
|
77
|
+
-webkit-justify-content: flex-start;
|
|
78
|
+
justify-content: flex-start;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
--flex-justify-end: {
|
|
82
|
+
-ms-flex-pack: end;
|
|
83
|
+
-webkit-justify-content: flex-end;
|
|
84
|
+
justify-content: flex-end;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
--flex-justify-center: {
|
|
88
|
+
-ms-flex-pack: center;
|
|
89
|
+
-webkit-justify-content: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
--flex-justify-space-between: {
|
|
94
|
+
-ms-flex-pack: justify;
|
|
95
|
+
-webkit-justify-content: space-between;
|
|
96
|
+
justify-content: space-between;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
--flex-justify-space-around: {
|
|
100
|
+
-ms-flex-pack: distribute;
|
|
101
|
+
-webkit-justify-content: space-around;
|
|
102
|
+
justify-content: space-around;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
--flex-justify-space-evenly: {
|
|
106
|
+
-webkit-justify-content: space-evenly;
|
|
107
|
+
justify-content: space-evenly;
|
|
108
|
+
}
|
|
109
|
+
/***alignment in main axis: END***/
|
|
110
|
+
|
|
111
|
+
/***alignment in cross axis: BEGIN***/
|
|
112
|
+
--flex-align-start: {
|
|
113
|
+
-ms-flex-align: start;
|
|
114
|
+
-webkit-align-items: flex-start;
|
|
115
|
+
align-items: flex-start;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
--flex-align-end: {
|
|
119
|
+
-ms-flex-align: end;
|
|
120
|
+
-webkit-align-items: flex-end;
|
|
121
|
+
align-items: flex-end;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
--flex-align-center: {
|
|
125
|
+
-ms-flex-align: center;
|
|
126
|
+
-webkit-align-items: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
--flex-align-stretch: {
|
|
131
|
+
-ms-flex-align: stretch;
|
|
132
|
+
-webkit-align-items: stretch;
|
|
133
|
+
align-items: stretch;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
--flex-align-baseline: {
|
|
137
|
+
-ms-flex-align: baseline;
|
|
138
|
+
-webkit-align-items: baseline;
|
|
139
|
+
align-items: baseline;
|
|
140
|
+
}
|
|
141
|
+
/***alignment in cross axis: END***/
|
|
142
|
+
|
|
143
|
+
/***alignment in wrapped flex when there is extra space in cross axis: BEGIN***/
|
|
144
|
+
--flex-wrap-align-start: {
|
|
145
|
+
-ms-flex-line-pack: start; /* IE10 */
|
|
146
|
+
-ms-align-content: flex-start;
|
|
147
|
+
-webkit-align-content: flex-start;
|
|
148
|
+
align-content: flex-start;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
--flex-wrap-align-end: {
|
|
152
|
+
-ms-flex-line-pack: end; /* IE10 */
|
|
153
|
+
-ms-align-content: flex-end;
|
|
154
|
+
-webkit-align-content: flex-end;
|
|
155
|
+
align-content: flex-end;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
--flex-wrap-align-center: {
|
|
159
|
+
-ms-flex-line-pack: center; /* IE10 */
|
|
160
|
+
-ms-align-content: center;
|
|
161
|
+
-webkit-align-content: center;
|
|
162
|
+
align-content: center;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
--flex-wrap-align-stretch: {
|
|
166
|
+
-ms-flex-line-pack: stretch; /* IE10 */
|
|
167
|
+
-ms-align-content: stretch;
|
|
168
|
+
-webkit-align-content: stretch;
|
|
169
|
+
align-content: stretch;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
--flex-wrap-align-space-between: {
|
|
173
|
+
-ms-flex-line-pack: space-between; /* IE10 */
|
|
174
|
+
-ms-align-content: space-between;
|
|
175
|
+
-webkit-align-content: space-between;
|
|
176
|
+
align-content: space-between;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
--flex-wrap-align-space-around: {
|
|
180
|
+
-ms-flex-line-pack: space-around; /* IE10 */
|
|
181
|
+
-ms-align-content: space-around;
|
|
182
|
+
-webkit-align-content: space-around;
|
|
183
|
+
align-content: space-around;
|
|
184
|
+
}
|
|
185
|
+
/***alignment in wrapped flex when there is extra space in cross axis: END***/
|
|
186
|
+
|
|
187
|
+
/***flex item alignment override:BEGIN***/
|
|
188
|
+
--flex-item-align-start: {
|
|
189
|
+
-ms-align-self: flex-start;
|
|
190
|
+
-webkit-align-self: flex-start;
|
|
191
|
+
align-self: flex-start;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
--flex-item-align-end: {
|
|
195
|
+
-ms-align-self: flex-end;
|
|
196
|
+
-webkit-align-self: flex-end;
|
|
197
|
+
align-self: flex-end;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
--flex-item-align-center: {
|
|
201
|
+
-ms-align-self: center;
|
|
202
|
+
-webkit-align-self: center;
|
|
203
|
+
align-self: center;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
--flex-item-align-stretch: {
|
|
207
|
+
-ms-align-self: stretch;
|
|
208
|
+
-webkit-align-self: stretch;
|
|
209
|
+
align-self: stretch;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
--flex-item-align-baseline: {
|
|
213
|
+
-ms-align-self: baseline;
|
|
214
|
+
-webkit-align-self: baseline;
|
|
215
|
+
align-self: baseline;
|
|
216
|
+
};
|
|
217
|
+
/***flex item alignment override:END***/
|
|
218
|
+
|
|
219
|
+
/***flex item grow:BEGIN***/
|
|
220
|
+
--flex-item-grow-none: {
|
|
221
|
+
-ms-flex: none;
|
|
222
|
+
-webkit-flex: none;
|
|
223
|
+
flex: none;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
--flex-item-grow-auto: {
|
|
227
|
+
-ms-flex: 1 1 auto;
|
|
228
|
+
-webkit-flex: 1 1 auto;
|
|
229
|
+
flex: 1 1 auto;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
--flex-item-grow1: {
|
|
233
|
+
-ms-flex: 1 1 0.000000001px;
|
|
234
|
+
-webkit-flex: 1;
|
|
235
|
+
flex: 1;
|
|
236
|
+
-webkit-flex-basis: 0.000000001px;
|
|
237
|
+
flex-basis: 0.000000001px;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
--flex-item-grow2: {
|
|
241
|
+
-ms-flex: 2;
|
|
242
|
+
-webkit-flex: 2;
|
|
243
|
+
flex: 2;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
--flex-item-grow3: {
|
|
247
|
+
-ms-flex: 3;
|
|
248
|
+
-webkit-flex: 3;
|
|
249
|
+
flex: 3;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
--flex-item-grow4: {
|
|
253
|
+
-ms-flex: 4;
|
|
254
|
+
-webkit-flex: 4;
|
|
255
|
+
flex: 4;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
--flex-item-grow5: {
|
|
259
|
+
-ms-flex: 5;
|
|
260
|
+
-webkit-flex: 5;
|
|
261
|
+
flex: 5;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
--flex-item-grow6: {
|
|
265
|
+
-ms-flex: 6;
|
|
266
|
+
-webkit-flex: 6;
|
|
267
|
+
flex: 6;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
--flex-item-grow7: {
|
|
271
|
+
-ms-flex: 7;
|
|
272
|
+
-webkit-flex: 7;
|
|
273
|
+
flex: 7;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
--flex-item-grow8: {
|
|
277
|
+
-ms-flex: 8;
|
|
278
|
+
-webkit-flex: 8;
|
|
279
|
+
flex: 8;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
--flex-item-grow9: {
|
|
283
|
+
-ms-flex: 9;
|
|
284
|
+
-webkit-flex: 9;
|
|
285
|
+
flex: 9;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
--flex-item-grow10: {
|
|
289
|
+
-ms-flex: 10;
|
|
290
|
+
-webkit-flex: 10;
|
|
291
|
+
flex: 10;
|
|
292
|
+
}
|
|
293
|
+
/***flex item grow:END***/
|
|
294
|
+
}
|
|
295
|
+
</style>
|
|
296
|
+
</dul-style>`;
|
|
297
|
+
document.head.appendChild(tmpl.content);
|
|
298
|
+
//# sourceMappingURL=dul-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dul-layout.js","sourceRoot":"","sources":["src/dul-layout.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA;AAEhC,MAAM,IAAI,GAAwB,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AACrE,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;AAC3C,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoSJ,CAAC;AACd,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pakdul/layout",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "web component layout",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"build": "tsc && tsc-alias"
|
|
9
|
+
},
|
|
10
|
+
"author": "Abdul Yadi",
|
|
11
|
+
"license": "BSD-2-Clause",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"tsc-alias": "^1.9.2",
|
|
15
|
+
"typescript": "^7.0.2"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@pakdul/style": "^0.0.1"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import '@pakdul/style/dul-style'
|
|
2
|
+
|
|
3
|
+
const tmpl: HTMLTemplateElement = document.createElement('template');
|
|
4
|
+
tmpl.setAttribute('style', 'display:none');
|
|
5
|
+
tmpl.innerHTML = `<dul-style>
|
|
6
|
+
<style>
|
|
7
|
+
html {
|
|
8
|
+
/***container direction: BEGIN***/
|
|
9
|
+
--absolute-fit: {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
--flex: {
|
|
18
|
+
display: -ms-flexbox;
|
|
19
|
+
display: -webkit-flex;
|
|
20
|
+
display: flex;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
--flex-inline: {
|
|
24
|
+
display: -ms-inline-flexbox;
|
|
25
|
+
display: -webkit-inline-flex;
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
--flex-column: {
|
|
30
|
+
-ms-flex-direction: column;
|
|
31
|
+
-webkit-flex-direction: column;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
--flex-row: {
|
|
36
|
+
-ms-flex-direction: row;
|
|
37
|
+
-webkit-flex-direction: row;
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
--flex-vertical: {
|
|
42
|
+
@apply --flex;
|
|
43
|
+
@apply --flex-column;
|
|
44
|
+
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
--flex-inline-vertical: {
|
|
48
|
+
@apply --flex-inline;
|
|
49
|
+
@apply --flex-column;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
--flex-horizontal: {
|
|
53
|
+
@apply --flex;
|
|
54
|
+
@apply --flex-row;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
--flex-inline-horizontal: {
|
|
58
|
+
@apply --flex-inline;
|
|
59
|
+
@apply --flex-row;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
--flex-wrap: {
|
|
63
|
+
-ms-flex-wrap: wrap;
|
|
64
|
+
-webkit-flex-wrap: wrap;
|
|
65
|
+
flex-wrap: wrap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
--flex-wrap-reverse: {
|
|
69
|
+
-ms-flex-wrap: wrap-reverse;
|
|
70
|
+
-webkit-flex-wrap: wrap-reverse;
|
|
71
|
+
flex-wrap: wrap-reverse;
|
|
72
|
+
}
|
|
73
|
+
/***container direction: END***/
|
|
74
|
+
|
|
75
|
+
/***alignment in main axis: BEGIN***/
|
|
76
|
+
--flex-justify-start: {
|
|
77
|
+
-ms-flex-pack: start;
|
|
78
|
+
-webkit-justify-content: flex-start;
|
|
79
|
+
justify-content: flex-start;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
--flex-justify-end: {
|
|
83
|
+
-ms-flex-pack: end;
|
|
84
|
+
-webkit-justify-content: flex-end;
|
|
85
|
+
justify-content: flex-end;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
--flex-justify-center: {
|
|
89
|
+
-ms-flex-pack: center;
|
|
90
|
+
-webkit-justify-content: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
--flex-justify-space-between: {
|
|
95
|
+
-ms-flex-pack: justify;
|
|
96
|
+
-webkit-justify-content: space-between;
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
--flex-justify-space-around: {
|
|
101
|
+
-ms-flex-pack: distribute;
|
|
102
|
+
-webkit-justify-content: space-around;
|
|
103
|
+
justify-content: space-around;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
--flex-justify-space-evenly: {
|
|
107
|
+
-webkit-justify-content: space-evenly;
|
|
108
|
+
justify-content: space-evenly;
|
|
109
|
+
}
|
|
110
|
+
/***alignment in main axis: END***/
|
|
111
|
+
|
|
112
|
+
/***alignment in cross axis: BEGIN***/
|
|
113
|
+
--flex-align-start: {
|
|
114
|
+
-ms-flex-align: start;
|
|
115
|
+
-webkit-align-items: flex-start;
|
|
116
|
+
align-items: flex-start;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
--flex-align-end: {
|
|
120
|
+
-ms-flex-align: end;
|
|
121
|
+
-webkit-align-items: flex-end;
|
|
122
|
+
align-items: flex-end;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
--flex-align-center: {
|
|
126
|
+
-ms-flex-align: center;
|
|
127
|
+
-webkit-align-items: center;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
--flex-align-stretch: {
|
|
132
|
+
-ms-flex-align: stretch;
|
|
133
|
+
-webkit-align-items: stretch;
|
|
134
|
+
align-items: stretch;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
--flex-align-baseline: {
|
|
138
|
+
-ms-flex-align: baseline;
|
|
139
|
+
-webkit-align-items: baseline;
|
|
140
|
+
align-items: baseline;
|
|
141
|
+
}
|
|
142
|
+
/***alignment in cross axis: END***/
|
|
143
|
+
|
|
144
|
+
/***alignment in wrapped flex when there is extra space in cross axis: BEGIN***/
|
|
145
|
+
--flex-wrap-align-start: {
|
|
146
|
+
-ms-flex-line-pack: start; /* IE10 */
|
|
147
|
+
-ms-align-content: flex-start;
|
|
148
|
+
-webkit-align-content: flex-start;
|
|
149
|
+
align-content: flex-start;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
--flex-wrap-align-end: {
|
|
153
|
+
-ms-flex-line-pack: end; /* IE10 */
|
|
154
|
+
-ms-align-content: flex-end;
|
|
155
|
+
-webkit-align-content: flex-end;
|
|
156
|
+
align-content: flex-end;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
--flex-wrap-align-center: {
|
|
160
|
+
-ms-flex-line-pack: center; /* IE10 */
|
|
161
|
+
-ms-align-content: center;
|
|
162
|
+
-webkit-align-content: center;
|
|
163
|
+
align-content: center;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
--flex-wrap-align-stretch: {
|
|
167
|
+
-ms-flex-line-pack: stretch; /* IE10 */
|
|
168
|
+
-ms-align-content: stretch;
|
|
169
|
+
-webkit-align-content: stretch;
|
|
170
|
+
align-content: stretch;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
--flex-wrap-align-space-between: {
|
|
174
|
+
-ms-flex-line-pack: space-between; /* IE10 */
|
|
175
|
+
-ms-align-content: space-between;
|
|
176
|
+
-webkit-align-content: space-between;
|
|
177
|
+
align-content: space-between;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
--flex-wrap-align-space-around: {
|
|
181
|
+
-ms-flex-line-pack: space-around; /* IE10 */
|
|
182
|
+
-ms-align-content: space-around;
|
|
183
|
+
-webkit-align-content: space-around;
|
|
184
|
+
align-content: space-around;
|
|
185
|
+
}
|
|
186
|
+
/***alignment in wrapped flex when there is extra space in cross axis: END***/
|
|
187
|
+
|
|
188
|
+
/***flex item alignment override:BEGIN***/
|
|
189
|
+
--flex-item-align-start: {
|
|
190
|
+
-ms-align-self: flex-start;
|
|
191
|
+
-webkit-align-self: flex-start;
|
|
192
|
+
align-self: flex-start;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
--flex-item-align-end: {
|
|
196
|
+
-ms-align-self: flex-end;
|
|
197
|
+
-webkit-align-self: flex-end;
|
|
198
|
+
align-self: flex-end;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
--flex-item-align-center: {
|
|
202
|
+
-ms-align-self: center;
|
|
203
|
+
-webkit-align-self: center;
|
|
204
|
+
align-self: center;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
--flex-item-align-stretch: {
|
|
208
|
+
-ms-align-self: stretch;
|
|
209
|
+
-webkit-align-self: stretch;
|
|
210
|
+
align-self: stretch;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
--flex-item-align-baseline: {
|
|
214
|
+
-ms-align-self: baseline;
|
|
215
|
+
-webkit-align-self: baseline;
|
|
216
|
+
align-self: baseline;
|
|
217
|
+
};
|
|
218
|
+
/***flex item alignment override:END***/
|
|
219
|
+
|
|
220
|
+
/***flex item grow:BEGIN***/
|
|
221
|
+
--flex-item-grow-none: {
|
|
222
|
+
-ms-flex: none;
|
|
223
|
+
-webkit-flex: none;
|
|
224
|
+
flex: none;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
--flex-item-grow-auto: {
|
|
228
|
+
-ms-flex: 1 1 auto;
|
|
229
|
+
-webkit-flex: 1 1 auto;
|
|
230
|
+
flex: 1 1 auto;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
--flex-item-grow1: {
|
|
234
|
+
-ms-flex: 1 1 0.000000001px;
|
|
235
|
+
-webkit-flex: 1;
|
|
236
|
+
flex: 1;
|
|
237
|
+
-webkit-flex-basis: 0.000000001px;
|
|
238
|
+
flex-basis: 0.000000001px;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
--flex-item-grow2: {
|
|
242
|
+
-ms-flex: 2;
|
|
243
|
+
-webkit-flex: 2;
|
|
244
|
+
flex: 2;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
--flex-item-grow3: {
|
|
248
|
+
-ms-flex: 3;
|
|
249
|
+
-webkit-flex: 3;
|
|
250
|
+
flex: 3;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
--flex-item-grow4: {
|
|
254
|
+
-ms-flex: 4;
|
|
255
|
+
-webkit-flex: 4;
|
|
256
|
+
flex: 4;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
--flex-item-grow5: {
|
|
260
|
+
-ms-flex: 5;
|
|
261
|
+
-webkit-flex: 5;
|
|
262
|
+
flex: 5;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
--flex-item-grow6: {
|
|
266
|
+
-ms-flex: 6;
|
|
267
|
+
-webkit-flex: 6;
|
|
268
|
+
flex: 6;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
--flex-item-grow7: {
|
|
272
|
+
-ms-flex: 7;
|
|
273
|
+
-webkit-flex: 7;
|
|
274
|
+
flex: 7;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
--flex-item-grow8: {
|
|
278
|
+
-ms-flex: 8;
|
|
279
|
+
-webkit-flex: 8;
|
|
280
|
+
flex: 8;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
--flex-item-grow9: {
|
|
284
|
+
-ms-flex: 9;
|
|
285
|
+
-webkit-flex: 9;
|
|
286
|
+
flex: 9;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
--flex-item-grow10: {
|
|
290
|
+
-ms-flex: 10;
|
|
291
|
+
-webkit-flex: 10;
|
|
292
|
+
flex: 10;
|
|
293
|
+
}
|
|
294
|
+
/***flex item grow:END***/
|
|
295
|
+
}
|
|
296
|
+
</style>
|
|
297
|
+
</dul-style>`;
|
|
298
|
+
document.head.appendChild(tmpl.content);
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Visit https://aka.ms/tsconfig to read more about this file
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
// File Layout
|
|
5
|
+
"rootDir": "./src",
|
|
6
|
+
"outDir": ".",
|
|
7
|
+
|
|
8
|
+
// Environment Settings
|
|
9
|
+
// See also https://aka.ms/tsconfig/module
|
|
10
|
+
"module": "es6",
|
|
11
|
+
"target": "es6",
|
|
12
|
+
"types": [],
|
|
13
|
+
// For nodejs:
|
|
14
|
+
// "lib": ["esnext"],
|
|
15
|
+
// "types": ["node"],
|
|
16
|
+
// and npm install -D @types/node
|
|
17
|
+
|
|
18
|
+
// Other Outputs
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
"declaration": true,
|
|
21
|
+
"declarationMap": true,
|
|
22
|
+
|
|
23
|
+
// Stricter Typechecking Options
|
|
24
|
+
"noUncheckedIndexedAccess": true,
|
|
25
|
+
"exactOptionalPropertyTypes": true,
|
|
26
|
+
|
|
27
|
+
// Style Options
|
|
28
|
+
// "noImplicitReturns": true,
|
|
29
|
+
// "noImplicitOverride": true,
|
|
30
|
+
// "noUnusedLocals": true,
|
|
31
|
+
// "noUnusedParameters": true,
|
|
32
|
+
// "noFallthroughCasesInSwitch": true,
|
|
33
|
+
// "noPropertyAccessFromIndexSignature": true,
|
|
34
|
+
|
|
35
|
+
// Recommended Options
|
|
36
|
+
"strict": true,
|
|
37
|
+
"jsx": "react-jsx",
|
|
38
|
+
"verbatimModuleSyntax": true,
|
|
39
|
+
"isolatedModules": true,
|
|
40
|
+
"noUncheckedSideEffectImports": true,
|
|
41
|
+
"moduleDetection": "force",
|
|
42
|
+
"skipLibCheck": true,
|
|
43
|
+
"paths": {
|
|
44
|
+
"@pakdul/style/*": [
|
|
45
|
+
"./node_modules/@pakdul/style/*"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"include": [
|
|
50
|
+
"src/**/*"
|
|
51
|
+
],
|
|
52
|
+
"exclude": [
|
|
53
|
+
"layout"
|
|
54
|
+
]
|
|
55
|
+
}
|