feature/design-tokens-module - #997
Draft
d4mation wants to merge 993 commits into
Draft
Conversation
Contributor
|
🎉 Zip build complete |
…okens-per-set-legacy-bridges
The reader lives in the Css_Var namespace and is keyed by the Slot\*_Target it reads, so Slot_Target_Reader::read( Font_Size_Target::class ) names its input (a slot target) rather than its output, and drops the Scale_Reader::scale() stutter. The return is still a slug => value scale.
…okens-token-driven-spacing-scale
Follows the class/method rename from the parent PR through to the spacing accessor added here.
…okens-per-set-legacy-bridges
…esign-alignment [DTM] SOFT-3849 [5/5]: preset button, dropdown, and inline indicator redesign
…-composite SOFT-3529 [1/2] Remove the unused typography composite type
…hy-tokens SOFT-3529 [2/2] Wire kadence/singlebtn typography to discrete tokens
…InCE tags to the token editor
…lidation boundary
[DTM] SOFT-3849 [base] Integration base for button design-token control mapping and indicators
…lary SOFT-3857 [1/8] Responsive/clamp token vocabulary + clamp grammar
…lidation SOFT-3857 [2/8] Validate the responsive/clamp leaf-extension shape
…hema SOFT-3857 [3/8] Publish the responsive/clamp shape in the DTCG JSON schema
…ve-clamp SOFT-3857 [4/8] Resolve and render responsive/clamp token values
…d-reseed SOFT-3857 [5/8] Redeclare token vars per breakpoint + seed responsive font-size
SOFT-3857 [6/8] Surface authored responsive shapes in the admin feed
SOFT-3857 [7/8] Per-breakpoint token editor in the Style Book
SOFT-3857 [8/8] Responsive block-attribute write-back seam
…-size-scale Design Tokens scale bridges [1/3]: Tokenize the fluid font-size scale
…acing-scale Design Tokens scale bridges [2/3]: Token-driven spacing scale
…bridges Design Tokens scale bridges [3/3]: Per-set legacy bridge resolution
…utput tests Repin @kadence/helpers to the branch adding resolveTokenAlias()/isTokenAlias() and alias-aware output helpers, and cover the plugin-side consumption: - spacer save-markup: an aliased dividerColor serializes into the SVG stroke as var(--kb-token--<id>); hex/palette stay byte-identical. - KadenceBlocksCSS: aliased border-radius / border-width / size / shadow resolve to a bare var() across the dimension paths nearly all blocks funnel through.
…seam The alias-aware output now lives behind the `@kadence/helpers` `@wordpress/hooks` seam, so the token/alias logic stays in this plugin instead of the shared library. - Add `src/extension/design-tokens/alias.js`: `isTokenAlias` / `resolveTokenAlias` / `TOKEN_VAR_PREFIX`, the byte-exact JS peer of the PHP `Alias` + `Css_Var`. - Register the resolver on `kadence.helpers.colorValue` / `kadence.helpers.dimensionValue` in `early-filters.js` via `registerTokenAliasFilters`. - Tests: primitives + a PHP/JS conformance fixture; the spacer save-markup and `KadenceBlocksCSS` integration tests register the real filter and prove the end-to-end seam (and that an alias is inert without it).
…r-picker' into soft-3982-palette-coverage-and-delta-model # Conflicts: # includes/resources/Design_Tokens/Projection/Palette/Projector.php
…r-picker' into soft-3982-palette-coverage-and-delta-model
…or-overlay-non' into soft-3989-b3-palette-rest-surface
…lette-selector-ui-style-book-editor-color-picker
…le Library wording
…r-picker' into soft-3982-palette-coverage-and-delta-model # Conflicts: # includes/resources/Design_Tokens/Rest/V1/Palettes_Controller.php
…_var-projection-to-the-single-active-set Color Palette Switching [1/9] - Collapse the Css_Var projection to the single active set
…iant-projection-to-the-single-active-set Color Palette Switching [2/9] - Collapse the Variant projection to the single active set
…lock-token-set-override-surface Color Palette Switching [3/9] - Remove the per-block token-set override surface
…ning-multi-set-support-code Color Palette Switching [4/9] - Retire the remaining multi-set support code
…ettes-extensions-section-schema Color Palette Switching [5/9] - Add the colorPalettes $extensions section
…es-reader-resolve-time-color-overlay-non Color Palette Switching [6/9] - Effective_Palettes reader + resolve-time color overlay
…face Color Palette Switching [7/9] - Palette REST surface
…-ui-style-book-editor-color-picker Color Palette Switching [8/9] - Palette selector UI (Style Book + editor)
…d-delta-model Color Palette Switching [9/9] - Per-block palette re-skins semantics and variants (full color-graph switch layer)
Color Palettes | SOFT-3982
…to soft-3992-preset-css-var-rename # Conflicts: # includes/resources/Design_Tokens/Projection/Preset/Css_Builder.php # tests/wpunit/Resources/Design_Tokens/Projection/Preset/Css_BuilderTest.php
… the palette projection and tests
…atch front-end terminology
…s wire key to library
… test and helper names
SOFT-3992: rename the variant CSS-var namespace to preset, and the token-set concept to library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎫 https://linear.app/nexcess/project/design-system-7186b33eeebd/overview
...
Also relies on stellarwp/kadence-helpers#7
Checklist
Block specific checklist (where relevant)