@cosyte/terminology 0.0.4 → 0.0.5
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/CHANGELOG.md +14 -0
- package/README.md +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -207,6 +207,20 @@ has_ingredient IN`). RxNorm authors no such relationship in any release: the ing
|
|
|
207
207
|
the matcher can see a real autolink, so a green result cannot come from a pattern that matches
|
|
208
208
|
nothing. It reads bytes directly rather than shelling out to `grep`, which this repository has
|
|
209
209
|
already been burned by. Scoped to `docs-content/` only, for the reason above.
|
|
210
|
+
- **The README opens with the Cosyte mark, which follows the reader's color scheme.** A `<picture>`
|
|
211
|
+
block above the H1 offers a dark-ground tile behind a `prefers-color-scheme: dark` media query and
|
|
212
|
+
carries the light-ground tile as the inner `<img>`, so on a renderer that honors the switch the
|
|
213
|
+
mark sits on a ground that matches the page it is read on. This README carried no image at all
|
|
214
|
+
before, so the block is purely additive: the `# @cosyte/terminology` heading, the blockquote
|
|
215
|
+
tagline and every section below are unchanged, and because the lockup reads "Cosyte" while the
|
|
216
|
+
heading reads `@cosyte/terminology`, nothing is duplicated. The failure mode is safe: a renderer
|
|
217
|
+
that strips `<source>` renders the inner `<img>`, so the worst case is a light-ground mark on a
|
|
218
|
+
dark page, never a missing image. On the npm package page the `<img>` is hoisted out of its
|
|
219
|
+
`<picture>` by the anchor wrapper, so the light cut renders there, which is the correct one
|
|
220
|
+
because npmjs.com has no dark mode. The alt text describes the artwork rather than the package,
|
|
221
|
+
since it is what a screen reader reads out and what a reader gets when the image fails. Both tile
|
|
222
|
+
URLs were rechecked before push and returned `200 image/png`. No behaviour, API surface or bundled
|
|
223
|
+
content changed.
|
|
210
224
|
|
|
211
225
|
### Changed
|
|
212
226
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<picture>
|
|
2
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://cosyte.com/tile/cosyte-lockup-tile-on-dark-1200x300.png">
|
|
3
|
+
<img alt="Cosyte: a plus mark set in two overlapping rounded squares, one solid and one outlined, beside the Cosyte wordmark" src="https://cosyte.com/tile/cosyte-lockup-tile-on-light-1200x300.png">
|
|
4
|
+
</picture>
|
|
5
|
+
|
|
1
6
|
# @cosyte/terminology
|
|
2
7
|
|
|
3
8
|
> A **zero-dependency terminology engine** for US healthcare code systems — FHIR-shaped, BYO-data,
|
package/dist/index.cjs
CHANGED
|
@@ -4703,7 +4703,7 @@ function approximateMatch(graph, query, options = {}) {
|
|
|
4703
4703
|
}
|
|
4704
4704
|
|
|
4705
4705
|
// src/index.ts
|
|
4706
|
-
var VERSION = "0.0.
|
|
4706
|
+
var VERSION = "0.0.5";
|
|
4707
4707
|
|
|
4708
4708
|
exports.COMPLEX_MAP_SOURCE_SYSTEM = COMPLEX_MAP_SOURCE_SYSTEM;
|
|
4709
4709
|
exports.DIAGNOSTIC_CODES = DIAGNOSTIC_CODES;
|