@markii/stdlib 0.3.0 → 0.4.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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @markii/stdlib
2
2
 
3
- The neutral, framework-agnostic definition of [Mark](https://github.com/sadigaxund/markii)'s standard directive contracts (callout, kbd, rating, and the rest of the built-in set): component kind, attribute schemas, and lookup by name. No React, zero dependencies — the seam every renderer implements against, not an implementation itself.
3
+ The neutral, framework-agnostic definition of [Markii](https://github.com/sadigaxund/markii)'s standard directive contracts (callout, kbd, rating, and the rest of the built-in set): component kind, attribute schemas, and lookup by name. No React, zero dependencies — the seam every renderer implements against, not an implementation itself.
4
4
 
5
5
  See the [repository](https://github.com/sadigaxund/markii) for the format spec and the reference library as a whole.
package/dist/contracts.js CHANGED
@@ -260,6 +260,7 @@ export const STANDARD_COMPONENTS = {
260
260
  description: "A transparent grouping container, e.g. `:::cell ... :::`. Its only job is making several blocks count as ONE cell of a `row`: a row's cells are its direct block children, so two blocks are two cells unless a `cell` groups them — and two adjacent task lists, which markdown merges into a single list, can only become two cells by putting one `cell` around each. Takes no attributes and adds no look of its own; outside a `row` it is inert. The enclosing `row` fence must use MORE colons than its `cell` children (directive container nesting rule), hence `::::row` wrapping `:::cell`.",
261
261
  },
262
262
  center: layoutWrapperContract('center', 'Centers narrower-than-column plain markdown (a table, an image) within its scope and sets text alignment for everything in scope, e.g. `:::center ... :::`.'),
263
+ left: layoutWrapperContract('left', 'Left-aligns plain markdown within its scope and sets text alignment for everything in scope, e.g. `:::left ... :::`. Mostly matches the ambient default; it exists to override an alignment inherited from an enclosing scope, such as opting one cell back out of `:::row{align=center}`.'),
263
264
  right: layoutWrapperContract('right', 'Right-aligns narrower-than-column plain markdown (a table, an image) within its scope and sets text alignment for everything in scope, e.g. `:::right ... :::`.'),
264
265
  wide: layoutWrapperContract('wide', "Sizes its scope's content to docs/format.md's wide-column width preset, e.g. `:::wide ... :::`."),
265
266
  narrow: layoutWrapperContract('narrow', "Sizes its scope's content to docs/format.md's narrow-column width preset, e.g. `:::narrow ... :::`."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markii/stdlib",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Neutral, framework-agnostic standard component contracts for Mark (.mk.md) — the kind/attribute-schema seam every renderer (e.g. @markii/react) implements against. No React, zero dependencies.",
5
5
  "keywords": [
6
6
  "markdown",