Releases: SurPathHub/ugnay
Releases · SurPathHub/ugnay
v0.1.0-beta.1
Fixes
- Button disabled state fixes.
- SPHHeader, SPHNavbar, and SPHAppbar buggy sizing fixed.
v0.1.0-beta
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'swith ()
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 mainsrc
folder. - Renamed the
core
folder toSPHCore
.
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
- Initial pre-release