@benev/slate
Advanced tools
Changelog
v0.2.10
templateString
-- template no-op, it's just a stringtemplateParts
-- return the strings and injected valuessvgSlate
-- for ingesting icons in turtlesvgTurtle
-- for ingesting icons in slate, requires manual import
import {svgTurtle} from "@benev/slate/x/tools/svgs/svg-turtle.js"
Anka
-- display binary data with random indian charactersBase58
-- standard data encodingBase64
-- standard data encodingBase64url
-- standard data encodingBytename
-- encode arbitrary bytes as human-readable namesBytes
-- helper fns like random
to generate random binaryHex
-- encode arbitrary data in hexadecimalText
-- convert between text and bytesChangelog
v0.2.9
generate_id
to hexId
(old name deprecated)escapeRegex
hash
hat
randomFullName
MemeNames
repeater
Changelog
v0.2.8
GoldElement
to ShadowElement
SilverElement
to LightElement
mixin.reactor
to mixin.reactive
apply.reactor
to apply.reactive
Changelog
v0.2.7
defaultNexus
to nexus
apply.context
to apply.setup
use.styles
now accepts any number of stylesheet args
// you can now pass multiple stylesheets this way
use.styles(cssA, cssB, cssC)
use.css
alias for use.styles
mixin.setup
(to match apply.setup
)lightView
(alias for nexus.lightView
)lightComponent
(alias for nexus.lightComponent
)shadowView
(alias for nexus.shadowView
)shadowComponent
(alias for nexus.shadowComponent
)shadowComponentify
(alias for nexus.shadowComponentify
)component
(alias for nexus.component
)components
(alias for nexus.components
)Changelog
v0.2.6
Pool
explode_promise
(prefer deferPromise
)concurrent
deferPromise
deadline
pubsub
once
methodChangelog
v0.2.5
es2023
, seems all evergreen browsers support itmaptool
in favor of Map2
requestAnimationFrameLoop
Map2
facility will replace maptoolChangelog
v0.2.2
use.deferOnce
is.void(x)
, renamed to is.unavailable(x)
is.defined(x)
, renamed to is.available(x)
Changelog
v0.2.17
Content
type, which may be preferable to RenderResult
opSignal.load
with deconfliction: now only the latest run will update the signalOpSignal.load
static helper, to create and start an operation