@woesh/baseflow-platform-sdk
v1.2.13
Published
Angular SDK for the Baseflow Platform, providing authentication, API clients, and UI components.
Downloads
1,817
Readme
@woesh/baseflow-platform-sdk
Angular SDK for the Baseflow Platform, providing authentication, API clients, and UI components.
Installation
npm install @woesh/baseflow-platform-sdk
# or
yarn add @woesh/baseflow-platform-sdkStyles
The SDK ships a precompiled, minified CSS file containing all Tailwind utilities used by the library's components. You must include it in your application — no Tailwind setup is required on your end.
Angular CLI / Angular workspace
Add the file to the styles array in your angular.json:
"styles": [
"node_modules/@woesh/baseflow-platform-sdk/styles/baseflow-platform.css"
]Nx workspace
Same as above — add it to the styles array of the relevant application target in project.json or angular.json:
"styles": [
"node_modules/@woesh/baseflow-platform-sdk/styles/baseflow-platform.css"
]Dark mode
The SDK components support Tailwind's dark variant. Dark mode is class-based — add the dark class to your <html> element to activate it:
<html class="dark">Running unit tests
nx test baseflow-platform-sdkBuilding
yarn sdk:buildThis runs the ng-packagr build followed by the Tailwind CSS compilation step, outputting the compiled CSS to dist/libs/baseflow-platform-sdk/styles/baseflow-platform.css.
