Skip to content

Commit 4f18d13

Browse files
committed
Add Initial Files
0 parents  commit 4f18d13

12 files changed

+12986
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env"]
3+
}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.stylelintrc

+263
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
{
2+
"plugins": ["stylelint-order"],
3+
"rules": {
4+
"block-no-empty": true,
5+
"order/properties-order": [
6+
{
7+
"properties": ["all"]
8+
},
9+
{
10+
"properties": ["position", "top", "right", "bottom", "left"]
11+
},
12+
{
13+
"properties": ["overflow", "overflow-x", "overflow-y", "z-index"]
14+
},
15+
{
16+
"properties": [
17+
"display",
18+
"flex",
19+
"flex-grow",
20+
"flex-shrink",
21+
"flex-basis",
22+
"flex-flow",
23+
"flex-direction",
24+
"flex-wrap",
25+
"justify-content",
26+
"align-content",
27+
"align-items",
28+
"align-self",
29+
"order",
30+
"float",
31+
"clear",
32+
"box-sizing"
33+
]
34+
},
35+
{
36+
"properties": [
37+
"width",
38+
"min-width",
39+
"max-width",
40+
"height",
41+
"min-height",
42+
"max-height"
43+
]
44+
},
45+
{
46+
"properties": [
47+
"padding",
48+
"padding-top",
49+
"padding-right",
50+
"padding-bottom",
51+
"padding-left"
52+
]
53+
},
54+
{
55+
"properties": [
56+
"margin",
57+
"margin-top",
58+
"margin-right",
59+
"margin-bottom",
60+
"margin-left"
61+
]
62+
},
63+
{
64+
"properties": [
65+
"color",
66+
"font",
67+
"font-size",
68+
"font-family",
69+
"font-style",
70+
"font-weight",
71+
"line-height",
72+
"letter-spacing",
73+
"text-align",
74+
"text-decoration"
75+
]
76+
},
77+
{
78+
"properties": [
79+
"font-variant",
80+
"font-size-adjust",
81+
"font-stretch",
82+
"font-effect",
83+
"font-emphasize",
84+
"font-emphasize-position",
85+
"font-emphasize-style",
86+
"font-smooth",
87+
"direction",
88+
"white-space",
89+
"text-align-last",
90+
"text-transform",
91+
"text-emphasis",
92+
"text-emphasis-color",
93+
"text-emphasis-style",
94+
"text-emphasis-position",
95+
"text-indent",
96+
"text-justify",
97+
"text-outline",
98+
"text-wrap",
99+
"text-overflow",
100+
"text-overflow-ellipsis",
101+
"text-overflow-mode",
102+
"text-orientation",
103+
"text-shadow",
104+
"vertical-align",
105+
"word-wrap",
106+
"word-break",
107+
"word-spacing",
108+
"overflow-wrap",
109+
"tab-size",
110+
"hyphens",
111+
"unicode-bidi",
112+
"columns",
113+
"column-count",
114+
"column-fill",
115+
"column-gap",
116+
"column-rule",
117+
"column-rule-color",
118+
"column-rule-style",
119+
"column-rule-width",
120+
"column-span",
121+
"column-width",
122+
"page-break-after",
123+
"page-break-before",
124+
"page-break-inside",
125+
"src"
126+
]
127+
},
128+
{
129+
"properties": [
130+
"list-style",
131+
"list-style-position",
132+
"list-style-type",
133+
"list-style-image",
134+
"table-layout",
135+
"empty-cells",
136+
"caption-side"
137+
]
138+
},
139+
{
140+
"properties": [
141+
"background",
142+
"background-color",
143+
"background-image",
144+
"background-repeat",
145+
"background-position",
146+
"background-position-x",
147+
"background-position-y",
148+
"background-size",
149+
"background-clip",
150+
"background-origin",
151+
"background-attachment",
152+
"background-blend-mode"
153+
]
154+
},
155+
{
156+
"properties": [
157+
"border",
158+
"border-width",
159+
"border-style",
160+
"border-color",
161+
"border-top",
162+
"border-top-width",
163+
"border-top-style",
164+
"border-top-color",
165+
"border-right",
166+
"border-right-width",
167+
"border-right-style",
168+
"border-right-color",
169+
"border-bottom",
170+
"border-bottom-width",
171+
"border-bottom-style",
172+
"border-bottom-color",
173+
"border-left",
174+
"border-left-width",
175+
"border-left-style",
176+
"border-left-color",
177+
"border-radius",
178+
"border-top-left-radius",
179+
"border-top-right-radius",
180+
"border-bottom-right-radius",
181+
"border-bottom-left-radius",
182+
"border-image",
183+
"border-image-source",
184+
"border-image-slice",
185+
"border-image-width",
186+
"border-image-outset",
187+
"border-image-repeat",
188+
"border-collapse",
189+
"border-spacing"
190+
]
191+
},
192+
{
193+
"properties": [
194+
"box-decoration-break",
195+
"outline",
196+
"outline-width",
197+
"outline-style",
198+
"outline-color",
199+
"outline-offset",
200+
"box-shadow",
201+
"transform",
202+
"transform-origin",
203+
"transform-style",
204+
"backface-visibility",
205+
"perspective",
206+
"perspective-origin",
207+
"visibility",
208+
"cursor",
209+
"opacity",
210+
"filter",
211+
"backdrop-filter"
212+
]
213+
},
214+
{
215+
"properties": [
216+
"transition",
217+
"transition-delay",
218+
"transition-timing-function",
219+
"transition-duration",
220+
"transition-property"
221+
]
222+
},
223+
{
224+
"properties": [
225+
"animation",
226+
"animation-name",
227+
"animation-duration",
228+
"animation-play-state",
229+
"animation-timing-function",
230+
"animation-delay",
231+
"animation-iteration-count",
232+
"animation-direction",
233+
"animation-fill-mode"
234+
]
235+
},
236+
{
237+
"properties": [
238+
"appearance",
239+
"clip",
240+
"clip-path",
241+
"counter-reset",
242+
"counter-increment",
243+
"resize",
244+
"user-select",
245+
"nav-index",
246+
"nav-up",
247+
"nav-right",
248+
"nav-down",
249+
"nav-left",
250+
"pointer-events",
251+
"quotes",
252+
"touch-action",
253+
"will-change",
254+
"zoom",
255+
"fill",
256+
"fill-rule",
257+
"clip-rule",
258+
"stroke"
259+
]
260+
}
261+
]
262+
}
263+
}

index.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<button id="fetchDataBtn">Fetch Data</button>
2+
<div id="dataContainer"></div>
3+
<div id="timeTaken">
4+
<h1>Time taken:</h1>
5+
<div class="time">
6+
<span id="timeValue">0</span> ms
7+
</div>
8+
</div>

0 commit comments

Comments
 (0)