5htp-core 0.4.1-2 → 0.4.1-3
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp-core",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.4.1-
|
|
4
|
+
"version": "0.4.1-3",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp-core.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@ table {
|
|
|
9
9
|
width: 100%;
|
|
10
10
|
padding: 0;
|
|
11
11
|
border-collapse: separate;
|
|
12
|
-
border-spacing: 0 0
|
|
12
|
+
border-spacing: 0 0; // must be fully managed by padding
|
|
13
13
|
|
|
14
14
|
// By default, chrome disables text inherits
|
|
15
15
|
line-height: inherit;
|
|
@@ -48,6 +48,14 @@ table {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
// Size
|
|
52
|
+
&.s {
|
|
53
|
+
td, th {
|
|
54
|
+
padding: 0.5em 1em;
|
|
55
|
+
font-size: 0.9rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
51
59
|
// Tableua responsive
|
|
52
60
|
// Utilisation déconseillée (lauvaise utilisation de l'espace, ergonomie horrible
|
|
53
61
|
/*@media (max-width: @responsive2) {
|
|
@@ -225,7 +225,13 @@ export default function useForm<TFormData extends {}>(
|
|
|
225
225
|
const form = {
|
|
226
226
|
fields: fields.current,
|
|
227
227
|
data,
|
|
228
|
-
set:
|
|
228
|
+
set: data => {
|
|
229
|
+
setState(current => ({
|
|
230
|
+
...current,
|
|
231
|
+
hasChanged: true
|
|
232
|
+
}));
|
|
233
|
+
setData(data);
|
|
234
|
+
},
|
|
229
235
|
validate,
|
|
230
236
|
submit,
|
|
231
237
|
options,
|
|
@@ -139,7 +139,7 @@ export default class DocumentRenderer<TRouter extends Router> {
|
|
|
139
139
|
|
|
140
140
|
private styles( page: Page ) {
|
|
141
141
|
return <>
|
|
142
|
-
<link rel="stylesheet" type="text/css" href="/public/icons.css" />
|
|
142
|
+
<link rel="stylesheet" type="text/css" href={"/public/icons.css?" + BUILD_ID} />
|
|
143
143
|
<link rel="preload" href="/public/client.css" as="style" />
|
|
144
144
|
<link rel="stylesheet" type="text/css" href="/public/client.css" />
|
|
145
145
|
|