react-cheminfo 0.40.1 → 0.41.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/bin/check-deploy.mjs +3 -1
- package/lib/deploy/core/buildGate.d.ts +18 -0
- package/lib/deploy/core/buildGate.d.ts.map +1 -0
- package/lib/deploy/core/buildGate.js +115 -0
- package/lib/deploy/core/buildGate.js.map +1 -0
- package/lib/deploy/core/checkDeploy.d.ts +2 -1
- package/lib/deploy/core/checkDeploy.d.ts.map +1 -1
- package/lib/deploy/core/checkDeploy.js +4 -1
- package/lib/deploy/core/checkDeploy.js.map +1 -1
- package/lib/deploy/core/index.d.ts +1 -0
- package/lib/deploy/core/index.d.ts.map +1 -1
- package/lib/deploy/core/index.js +1 -0
- package/lib/deploy/core/index.js.map +1 -1
- package/lib/deploy/core/publishedImage.d.ts.map +1 -1
- package/lib/deploy/core/publishedImage.js +5 -1
- package/lib/deploy/core/publishedImage.js.map +1 -1
- package/lib/deploy/core/types.d.ts +1 -1
- package/lib/deploy/core/types.d.ts.map +1 -1
- package/lib/deploy/core/types.js.map +1 -1
- package/lib/periodic/ui/ElementCell.d.ts +1 -1
- package/lib/periodic/ui/ElementCell.d.ts.map +1 -1
- package/lib/periodic/ui/ElementCell.js +12 -11
- package/lib/periodic/ui/ElementCell.js.map +1 -1
- package/lib/periodic/ui/PeriodicTable.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTable.js +25 -8
- package/lib/periodic/ui/PeriodicTable.js.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.js +3 -2
- package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
- package/lib/periodic/ui/unit.d.ts +41 -0
- package/lib/periodic/ui/unit.d.ts.map +1 -0
- package/lib/periodic/ui/unit.js +45 -0
- package/lib/periodic/ui/unit.js.map +1 -0
- package/lib/share/ui/SharePartRow.d.ts.map +1 -1
- package/lib/share/ui/SharePartRow.js +2 -1
- package/lib/share/ui/SharePartRow.js.map +1 -1
- package/package.json +1 -1
- package/src/deploy/core/buildGate.ts +122 -0
- package/src/deploy/core/checkDeploy.ts +5 -1
- package/src/deploy/core/index.ts +1 -0
- package/src/deploy/core/publishedImage.ts +5 -1
- package/src/deploy/core/types.ts +5 -1
- package/src/periodic/ui/ElementCell.tsx +14 -12
- package/src/periodic/ui/PeriodicTable.tsx +25 -8
- package/src/periodic/ui/PeriodicTableChrome.tsx +4 -2
- package/src/periodic/ui/unit.ts +48 -0
- package/src/share/ui/SharePartRow.tsx +6 -1
- package/styles/chrome.css +15 -6
package/styles/chrome.css
CHANGED
|
@@ -341,33 +341,42 @@ button {
|
|
|
341
341
|
min-height: 0;
|
|
342
342
|
flex: 1 1 auto;
|
|
343
343
|
flex-direction: column;
|
|
344
|
-
padding:
|
|
344
|
+
padding: 0 16px;
|
|
345
345
|
gap: 12px;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
/* The ready-made links and the three things one does with the link they write,
|
|
349
349
|
on one row: the tabs say which link, the buttons act on it. A dialog too
|
|
350
|
-
narrow for both wraps the buttons under the tabs rather than cutting them.
|
|
350
|
+
narrow for both wraps the buttons under the tabs rather than cutting them.
|
|
351
|
+
|
|
352
|
+
The band owns the space between the dialog's header and its rule — the body
|
|
353
|
+
does not pad above it — so the buttons centre in that whole band whether or
|
|
354
|
+
not the site has tabs to put beside them. */
|
|
351
355
|
.share-dialog__top {
|
|
352
356
|
display: flex;
|
|
353
357
|
flex-wrap: wrap;
|
|
354
|
-
align-items:
|
|
355
|
-
|
|
358
|
+
align-items: center;
|
|
359
|
+
padding: 12px 0;
|
|
356
360
|
border-bottom: 1px solid var(--border);
|
|
357
361
|
gap: 8px 16px;
|
|
358
362
|
}
|
|
359
363
|
|
|
364
|
+
/* The tabs end on the rule, where a tab strip's underline has to be, so they
|
|
365
|
+
are pulled through the band's lower half. */
|
|
360
366
|
.share-dialog__top > .share-presets {
|
|
361
367
|
flex: 1 1 auto;
|
|
362
368
|
min-width: 0;
|
|
369
|
+
align-self: flex-end;
|
|
370
|
+
margin-bottom: -12px;
|
|
363
371
|
}
|
|
364
372
|
|
|
365
|
-
/* The buttons
|
|
366
|
-
|
|
373
|
+
/* The buttons keep the right edge on every site: a dialog with no tabs has
|
|
374
|
+
nothing to push them there. */
|
|
367
375
|
.share-linkbar {
|
|
368
376
|
display: flex;
|
|
369
377
|
align-items: center;
|
|
370
378
|
flex: 0 0 auto;
|
|
379
|
+
margin-left: auto;
|
|
371
380
|
gap: 8px;
|
|
372
381
|
}
|
|
373
382
|
|