- Add watcher feature to Astro integration (#25)
- Display decision value warnings in components (#21)
- Create
dd.config
entry point and helpers (#161) - Switch from Vite to esbuild where possible (#163)
- Make package resolution param optional in staticStoreBuilder() (#80)
- Update Sharp -
0.32.5
to0.33.3
(#168)
- Add "Boilerplates" page (#27)
- Add "API / Configuration" page (#161)
- Group "Decision Models" and "Schemas" under "Models" (#156)
- Expose channel
name()
in color channel Values (#131) - Create separate components for value and viz (#132)
- Add
layout
prop to decision components (#134) - Add
layout
prop to decision card (#136) - Add
quantize
feature to Values and Models (#140) - Add default quantize to all Values (#142)
- Handle errors when loading and validating decisions (#148)
- Prefix local CSS vars with
__
in Astro components (#137)
- Update Vite -
4.5
to6.1.0
(#145) - Upgrade Vitest -
1.6
to3.0.5
(#145) - Upgrade Astro -
4/5
to5.2.5
(#145)
- Move Astro component reference to "Integrations" (#144)
- Create and use WIP component (#146)
- Streamline guide names (#150)
- Update logos, type styles, and homepage copy (#152)
- Improve code blocks in docs with expressive code collapse plugin #117 #115
- Add "warning: experimental" banners to homepage and API index #124
- Rename
designer-integrations-astro
todesigner-integration-atro
(#110)
- Fix: demo data not published to npm (#108)
- Basic Astro integration
@noodlestan/designer-astro-integration
loads CSS forShow
components #91 - Docs sample data is now available as
DEMO_DATA
in@noodlestan/designer-decisions
#94
- Renamed input types that compose
DecisionRef
to end withInput
suffix #95
- Fix: color channel input types don't allow using reference #93
- Implements Ref resolution across values. E.g.:
- referencing a
ColorValue
in a*HueValue
extracts color channel from color - referencing a
SpaceScale
in aSpaceValue
extracts value atindex
- referencing a
- No more WIP left over in existing
Color
andSpace
models and primitives - Improves error handling
- more specific error types that capture attributes of the error
ValueContext
tracks and exposes nested errors- new
produceDecisions()
helper validates all values at once
- 100% test coverage for
@noodlestan/designer-decisions
(all primitives! and models!)
- New component
ShowColorChannelValue
replaces all other channel components - All values now extend
BaseVale
and exposecontext()
- New
ValueContext
methodsnestedContext()
- to resolve model valueschildContext()
- to resolve refschildren()
nested()
ownErrors()
allErrors()
- New primitives and helpers:
ItemSet
encapsulates lists as a value for use in scales/setsColor
wrapschroma
and is merged intoColorValue
resolveSetRefDecision()
resolves to item within a setchromaColorFromLiteral()
chromaColorToLiteral()
chromaColorToString()
generateColorList()
- Specific types for each error that extends
DecisionError
andValueError
- New errors
ValueRefIndexError
- helpers for
cli
codeproduceDecisions()
produceDecisionStatus()
formatDecisionStatus()
- Renamed
DecisionValueContext
toValueContext
- Separated public and private constructors for
ValueContext
- Renamed
StaticStoreDecision
toStaticDecision
- Renamed
ValueError
toValueError
- Renamed
DecisionInputBase
toDecisionInput
- Renamed
DecisionInputError
toValidationError
- Renamed
createRefMatchError
()to createRefMismatchError()
- Decisions
StaticStoreDecision
now created withinput[]
(all matching inputs, across all contexts) - All
create.*Error()
functions now accept a single object param - All subclasses of
DecisionError
andValueError
now exposemessage(): string
(and context attributes) instead of justmsg: string
create*Error()
functions accept a single object instead of many params
- Eliminate
DecisionValue<V>
indirection - Removed everything resolution related (e.g.: lookupContext) from
DecisionContext
StaticDecisionMap:createDecision()
makingresolve()
the single entry point
- Added "How to use references" to "Capturing decisions in data" guide
- Added references to sample data
- new
<GetInvolved />
component to link to github issues
- Add mocks for commonly used params
- 100% test coverage
- Bounded scale/sets were repeating first and last element
- Example data contained sets with clamped values
- New
viz
options for color decisions, including mode, contrast, and content. - Support for missing sRGB and oklab decision models, primitives, and sample data.
- Some error handling for contexts and factories.
- Color and space visualization components, including
Space*Viz
andcolor viz options
. - Components for N/A states:
ShowDecisionUnavailable
,ShowDecisionTypeUnavailable
. staticStoreBuilder()
now supports specifying "package" data sources.
- Moved sample data to
designer-decisions
package and cleaned up meta data. - Consolidated set/scale models: "bounded" and "anchored" models available in all set/scale decision types.
- Use
BaseSet
instead ofBaseValue
where applicable. - Renamed color meta names: removed
Color
prefix from sRGB and oklab decision types.
- No longer producing schemas for union types (no use case so far).
- Streamlined component references and documentation.
- Add sample data for all decision types and models. including Oklab and sRGB.
- Render sample data next to sample card in Decision reference.
- Refined decision model metas.
- Fixed typos in decision models.
- Resolved AJV strict mode warnings.
- Corrected union types handling for decision models and value resolution.
- Fixed schema issues in
designer-schemas
; explicit$ref
usage. - Fixed schemas not being published to npm due to
schema/
dir not being included in files.
- Basic documentation at https://designer-decisions.noodlestan.org
- Published schemas under
@noodlestan/designer-schemas
. - Astro components for visualizing decisions in MDX.
- Astro/Starlight documentation website.
- Initial implementation of color decision visualization options.
- Version update for
designer-decisions
and fixes to component handling.
- Fixed issue with schemas not being published due to incorrect file setup.
- Astro/Starlight documentation website.
- SolidJS placeholder component for design decisions.
- Updated documentation for decision components and API.
- Schema generator.
- Schema loaders and decision validators in
@noodlestan/designer-functions
.
- Basic color and space decision models.
- Initial implementation of decision models in
@noodlestan/designer-functions