Skip to content

Releases: MatteuSan/sentro

v1.1.0

24 Apr 12:38
Compare
Choose a tag to compare

New Features

  • Added $strict-values option in the Settings API.

Full Changelog: 1.0.0...1.1.0

v1.0.0

16 Apr 19:39
2a2005f
Compare
Choose a tag to compare

Finally!

After three years. Sentro now reached its v1 release! We've further trimmed down sentro to its essentials to leave minimal footprint in your design system, while making its API more intuitive to use. I'll be releasing the changelogs in a few hours.

Also, I guess we have a new website now. Check it out here!

What's Changed

Full Changelog: 0.1.25...1.0.0

v0.1.25

13 Nov 22:45
Compare
Choose a tag to compare

Deprecations

  • Deprecate token-registry-get() function.

v.0.1.22

13 May 19:06
Compare
Choose a tag to compare

New Features

  • Added token-registry-get() function.
@use 'node_modules/@matteusan/sentro' with (
  $prefix: 'sds',
  $context: 'theme'
);

:root {
  @include sentro.token-config(
    // Tokens...
  );
}

$_ds-tokens: sentro.token-registry-get(); // Get all registered tokens
$_ds-tokens-filtered: sentro.token-registry-get(('padding', 'radius')); // Get all registered tokens within the provided targets

Improvements

  • META: Improve package metadata.

v0.1.21

08 Mar 07:38
Compare
Choose a tag to compare

New Features

  • Add nesting, and map support for the breakpoint module.
@include sentro.breakpoint-config(
  $map: (
    'other': 540px
  ),
  $small: 320px,
  $medium: (
    'default': 640px,
    'landing': 670px
  ),
  $large: 870px
);

Improvements

  • Rename token-add() to token-config() for naming consistency.
    • The token-add() mixin will still work, but will be deprecated on v1.x. A warning will display in the console upon compiling.

v0.1.20

03 Feb 04:58
Compare
Choose a tag to compare

New Features

  • Added breakpoint module
@use 'path/to/@matteusan/sentro' with (
  $breakpoint-validation: true
);

@include sentro.breakpoint-config(
  $small: 320px,
  $medium: 640px,
  $large: 870px
);

.my-element {
  // styles...
  @include sentro.breakpoint-create('medium') {
    // styles...
  }
}

Improvements

  • Modified error messages

v0.1.19

23 Jan 01:24
Compare
Choose a tag to compare

New Features

  • Make token and key validation optional using $token-validation and $key-validation.
@use 'node_modules/@matteusan/sentro' with (
    $prefix: 'sdc',
    $context: 'theme',
    $token-validation: true,
    $key-validation: false
);

v0.1.18

19 Jan 18:57
Compare
Choose a tag to compare

Improvements

  • Made key-bind() register keys to the registry.

v0.1.17

16 Jan 04:43
Compare
Choose a tag to compare

Hotfixes

  • Fix mismatched function name is-token()check()

v0.1.16

15 Jan 08:58
Compare
Choose a tag to compare

Hotfixes

  • Function name typo