@@ -46,7 +46,7 @@ function color(): string {
46
46
case DocType .CONDITION :
47
47
return " 6f1896" ;
48
48
case DocType .EFFECT :
49
- return " 337A00 " ;
49
+ return " 6d9604 " ;
50
50
case DocType .EXPRESSION :
51
51
return " 006e43" ;
52
52
case DocType .FUNCTION :
@@ -56,7 +56,7 @@ function color(): string {
56
56
case DocType .SECTION :
57
57
return " 718400" ;
58
58
case DocType .STRUCTURE :
59
- return " 7a0074 " ;
59
+ return " 966518 " ;
60
60
default :
61
61
return " 000000" ;
62
62
}
@@ -67,7 +67,7 @@ function color(): string {
67
67
class =" doc-container" >
68
68
69
69
<div class =" flex sm:flex-row flex-col gap-y-2 -mb-2" >
70
- <div class =" flex flex-row gap-3 flex-shrink-0" >
70
+ <div class =" flex flex-row gap-4 flex-shrink-0" >
71
71
{ docType .deprecated ? <h2 class = " opacity-50 line-through" >{ docType .name } </h2 > : <h2 >{ docType .name } </h2 >}
72
72
<div class =" flex-auto sm:flex-0" ></div >
73
73
<button class =" share flex sm:hidden" >
@@ -85,12 +85,12 @@ function color(): string {
85
85
{ [docType .deprecated ].filter (x => x ).map (x => <DocsFiche text = " Deprecated" color = " 520f0f" />)}
86
86
{ [docType .cancellable ].filter (x => x ).map (x => <DocsFiche text = " Cancellable" color = " 112998" />)}
87
87
{ [docType .requirements ?.join (" " )].filter (x => x ).map (x => {
88
- x = x ?.replaceAll (/ [. +0-9 ] / g , " " )?.trim ();
88
+ x = x ?.replaceAll (/ [. +0-9 ] | (or newer) / g , " " )?.trim ();
89
89
90
90
if (x ?.toLowerCase () === " paper" ) {
91
- return <DocsFiche text = " Paper" color = " 7d037f " />;
91
+ return <DocsFiche text = " Paper" color = " c900a0 " />;
92
92
} else if (x ?.toLowerCase ().includes (" paper" )) {
93
- return <DocsFiche text = " Partially Paper" color = " 7d037f " />;
93
+ return <DocsFiche text = " Partially Paper" color = " c900a0 " />;
94
94
} else {
95
95
return null ;
96
96
}
@@ -139,6 +139,7 @@ function color(): string {
139
139
140
140
{ [docType .eventValues ]
141
141
.filter (x => x !== null )
142
+ .toSorted ()
142
143
.map (_ =>
143
144
<button class = " eventValues bg-l-icon-hover dark:bg-d-icon-hover" >
144
145
<svg class = " transition my-auto fill-white" width = " 18" height = " 18" viewBox = " 0 0 18 18" xmlns = " http://www.w3.org/2000/svg" >
0 commit comments