Skip to content

Releases: SurPathHub/ugnay

v0.1.0-beta.1

06 Nov 04:04
Compare
Choose a tag to compare

Fixes

  • Button disabled state fixes.
  • SPHHeader, SPHNavbar, and SPHAppbar buggy sizing fixed.

v0.1.0-beta

13 Oct 03:44
Compare
Choose a tag to compare

New Features

CSS updates

  • The library is now be CDN-able.
<link rel="stylesheet" href="https://unpkg.com/@surpathhub/[email protected]/main.css">
  • The library now also supports a CSS API by utilizing the vanilla @import at-rule and CSS custom properties.
@import url('https://unpkg.com/@surpathhub/[email protected]/[component_name]/main.css');

/*  
    Examples:
    @import url('https://unpkg.com/@surpathhub/[email protected]/SPHAppbar/main.css');
    @import url('https://unpkg.com/@surpathhub/[email protected]/SPHButton/main.css');
    @import url('https://unpkg.com/@surpathhub/[email protected]/SPHHeader/main.css');
    @import url('https://unpkg.com/@surpathhub/[email protected]/SPHTextField/main.css');
*/
.sph-component {
    --sph-component-fill: blue;
    --sph-component-ink: #FFF;
    --sph-component-icon-ink: #FF9900;
}

Improvements

SCSS updates

  • The theming is now transferred to the @use rule's with () helper.
@use '~@surpathhub/ugnay/SPHComponent' with (
    $component-fill: blue,
    $component-ink: #ffffff,
    $component-elevation-color: #ffffff,
    ...
);

@include SPHComponent.use(...);

File structure updates

  • Transferred all components outside of the components folder and exploded on the main src folder.
  • Renamed the core folder to SPHCore.

Additional notes

  • Hello there! After this update, we might put out lesser and lesser commits as we approach the first stable 0.1.0 version. So yeah, that's about it! See y'all in the next update!

v0.1.0-alpha

09 Sep 11:23
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release
  • Initial pre-release