react-cheminfo 0.58.0 → 0.59.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/lib/chart/ui/ChartTrackingLayer.js +3 -1
- package/lib/chart/ui/ChartTrackingLayer.js.map +1 -1
- package/lib/chart/ui/useChartSize.d.ts +16 -0
- package/lib/chart/ui/useChartSize.d.ts.map +1 -1
- package/lib/chart/ui/useChartSize.js +34 -1
- package/lib/chart/ui/useChartSize.js.map +1 -1
- package/lib/core.d.ts +1 -0
- package/lib/core.d.ts.map +1 -1
- package/lib/core.js +1 -0
- package/lib/core.js.map +1 -1
- package/lib/ecosystem/core/types.d.ts +1 -1
- package/lib/ecosystem/core/types.d.ts.map +1 -1
- package/lib/ecosystem/core/unlistedSites.d.ts.map +1 -1
- package/lib/ecosystem/core/unlistedSites.js +14 -0
- package/lib/ecosystem/core/unlistedSites.js.map +1 -1
- package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
- package/lib/ecosystem/ui/glyphs.js +3 -0
- package/lib/ecosystem/ui/glyphs.js.map +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts.map +1 -1
- package/lib/locales/de.json +26 -1
- package/lib/locales/en.json +26 -1
- package/lib/locales/es.json +26 -1
- package/lib/locales/fr.json +26 -1
- package/lib/locales/it.json +26 -1
- package/lib/moleculesToken/core/index.d.ts +3 -0
- package/lib/moleculesToken/core/index.d.ts.map +1 -0
- package/lib/moleculesToken/core/index.js +2 -0
- package/lib/moleculesToken/core/index.js.map +1 -0
- package/lib/moleculesToken/core/moleculesToken.d.ts +101 -0
- package/lib/moleculesToken/core/moleculesToken.d.ts.map +1 -0
- package/lib/moleculesToken/core/moleculesToken.js +137 -0
- package/lib/moleculesToken/core/moleculesToken.js.map +1 -0
- package/lib/moleculesToken/ui/MoleculesTokenTable.d.ts +32 -0
- package/lib/moleculesToken/ui/MoleculesTokenTable.d.ts.map +1 -0
- package/lib/moleculesToken/ui/MoleculesTokenTable.js +124 -0
- package/lib/moleculesToken/ui/MoleculesTokenTable.js.map +1 -0
- package/lib/moleculesToken/ui/index.d.ts +3 -0
- package/lib/moleculesToken/ui/index.d.ts.map +1 -0
- package/lib/moleculesToken/ui/index.js +2 -0
- package/lib/moleculesToken/ui/index.js.map +1 -0
- package/lib/ui.d.ts +1 -0
- package/lib/ui.d.ts.map +1 -1
- package/lib/ui.js +1 -0
- package/lib/ui.js.map +1 -1
- package/package.json +1 -1
- package/src/chart/ui/ChartTrackingLayer.tsx +3 -1
- package/src/chart/ui/useChartSize.ts +44 -1
- package/src/core.ts +1 -0
- package/src/ecosystem/core/types.ts +2 -1
- package/src/ecosystem/core/unlistedSites.ts +14 -0
- package/src/ecosystem/ui/glyphs.tsx +10 -0
- package/src/locales/de.json +26 -1
- package/src/locales/en.json +26 -1
- package/src/locales/es.json +26 -1
- package/src/locales/fr.json +26 -1
- package/src/locales/it.json +26 -1
- package/src/moleculesToken/core/index.ts +11 -0
- package/src/moleculesToken/core/moleculesToken.ts +256 -0
- package/src/moleculesToken/ui/MoleculesTokenTable.tsx +249 -0
- package/src/moleculesToken/ui/index.ts +2 -0
- package/src/ui.ts +1 -0
- package/styles/chrome.css +35 -0
package/src/ui.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './help/ui/index.ts';
|
|
|
18
18
|
export * from './hooks/ui/index.ts';
|
|
19
19
|
export * from './i18n/ui/index.ts';
|
|
20
20
|
export * from './language/ui/index.ts';
|
|
21
|
+
export * from './moleculesToken/ui/index.ts';
|
|
21
22
|
export * from './number/ui/index.ts';
|
|
22
23
|
export * from './overlay/ui/index.ts';
|
|
23
24
|
export * from './panel/ui/index.ts';
|
package/styles/chrome.css
CHANGED
|
@@ -737,6 +737,41 @@ button {
|
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
+
/* ── Tokens for molecules.cheminfo.org ─────────────────────────────────────── */
|
|
741
|
+
|
|
742
|
+
/* The heading, when the tokens were checked, and the button asking again, on
|
|
743
|
+
one line that wraps on a phone. */
|
|
744
|
+
.molecules-tokens__head {
|
|
745
|
+
display: flex;
|
|
746
|
+
flex-wrap: wrap;
|
|
747
|
+
align-items: center;
|
|
748
|
+
margin-bottom: 0.4rem;
|
|
749
|
+
gap: 0.25rem 0.75rem;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.molecules-tokens__title {
|
|
753
|
+
font-weight: 600;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.molecules-tokens__muted {
|
|
757
|
+
color: var(--text-muted);
|
|
758
|
+
font-size: 0.8125rem;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/* A phone scrolls the table within its box, never the page sideways. */
|
|
762
|
+
.molecules-tokens__scroll {
|
|
763
|
+
overflow-x: auto;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.molecules-tokens__table {
|
|
767
|
+
width: 100%;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/* A variable name breaks nowhere: it is copied into a .env as it reads. */
|
|
771
|
+
.molecules-tokens__table code {
|
|
772
|
+
white-space: nowrap;
|
|
773
|
+
}
|
|
774
|
+
|
|
740
775
|
/* ── A narrow bar ────────────────────────────────────────────────────────── */
|
|
741
776
|
|
|
742
777
|
/* The menu the pages fold into, drawn only once they no longer fit. */
|