Releases: adaptive-shield-matrix/astro-ui
Releases · adaptive-shield-matrix/astro-ui
Release list
v0.4.0
v0.3.0
[0.3.0] - 2025-12-24
🚀 Features
- (wrapper) Add border wrapper class
- (header) Add page and section headers
- (layout) Allow passing components into head via "head" slot
- (header/page) Allow passing children to subtitle slot/area
- (utils) Add common ui interfaces
- (header/section) Allow passing href
- (list/ps) Allow passing text instead of lines
- (grid) Add grid cols classes 2sm, 2md, 2lg, 3lg
- (icon) Allow passing any rest props, for example data- attributes
- (badge) Add bage with 2 variants: contrast and outline
- (icons) Add social, github, npm icons
- (icons) Add telegram and trello icon paths
🐛 Bug Fixes
- (details) Do not use flow elements in summary element, strict wc3 validator
- (theme button) Do not use p inside buttons, wc3 accessibility validator
- (select) Initial options should work
- (demo list) Fix demo list generation
- (bg selector) Set default bg color to orange (same as layout), fix layout base classes
- (md demo) Use md import
- (img demo) Use placeholder img, show in 2 cols grid
💼 Other
- Revert "refactor(class): replace class? property with interface extends MayHaveClass"
This reverts commit 741a089.
🚜 Refactor
- (release.sh) Add git branch "released" to last released version
- (demos) Remove some unnecessary BgColorSelect, fix styling of demo_details
- (release.sh) Automate version increase by looking for features in changelog content
- (class) Replace class? property with interface extends MayHaveClass
- (alias) Rename import alias from "~/" to "~ui/"
- (card wrapper class) Add vsible border in dark mode
- (icon) Allow passing id and pathId
- (layout) Allow adding bodyClass, use block instead of flex for inner content by default
- (TypedImg) Allow passing src or srcPrefix
- Replace generateId with more simple single function
- (utils) Simplify, remove, replace with @adaptive-sm/utils
- (card) Separate class parts
- (tailwind) Move global.css into src folder
- (md) Rename MardownPageWrapper, add MarkdownDiv
- (card classes) Separate class parts
- (layout) Allow passing lang
- (utils) Move utils files from utils/ui to utils
- (list) Remove leading-relaxed, no longer supported in tailwind v4
- (icon) Rename component Icon1 to Icon
- (img demo) Use real svg
- (bullet points) Simplify demo and styling code with flex
- (icon demo) Simplify
- (link demo) Simplify code example, remove reduntant/similar
- (page demo) Simplify code example, reduce to 1 entry
- (demo table) Reduce to 1 example
- (lib) Add restProps to allow passing any html native element property
- (badge) Make variant prop optional, default variant = outline
- (app) Rename global.css -> tailwind.css
- (img) Refactor typed img to be more general and add a typed img b2 variant for internal storage remapping
- (feature-grid) Allow passing class and style props
- (card) Extract shadow classes, increase shadow on card hover
- (nav) Use icons from lib export
🎨 Styling
- (logo/favicons) Redo logo and favicons for a more official/professional look
- (logo/favicons) Redo logo and favicons for a more official/professional look, part 2
- (logo/favicons) Add more padding to new "aui" logo and favicons
- (layout) Fix dark mode, add default orange bg color and padding to page layout
- (navbar) Remove button padding so the buttons align with content below
- (logo/favicons) Fix bg circle not centered
- (details demo) Add padding to second example
- (fieldset demo) Simplify
- (layout) Make base layout have max-w-7xl and horizontal centering
⚙️ Miscellaneous Tasks
- Add adaptive-utils library and import alias
v0.2.1
[0.2.1] - 2025-10-19
🤖 CI
- Fix ci build step by removing test step, because there are currently no tests present
v0.1.2
Release v0.1.2
[0.1.2] - 2025-10-08
🚀 Features
- Init project migrated from gruppenplan-astro
- Add mit license
- (tsconfig) Set bundler mode, out: dist, in: src, skip lib check, jsx: preserve because ts interprets astro files as jsx, disable allowImportingTsExtensions, and add library setting: declaration, composite, sourceMap
- (tsconfig) Include astro files
- (library) Do not emit ts files and import/export src directly
- (tsconfig) Add pages dir to include for astro
- (theme toggle) Use astro element id
- (theme toggle) Allow overriding text
- (markdown layout) Allow adding innerClass and replace className with class
- (theme toggle) Add classes configuration
- (theme toggle) Add shortcut to go to demo/ directory
- Add generation of image list
- (buttons) Add more filled color variants
- (img) Allow disabling lazyLoading and asyncDecoding
- Add logo/favicons
- (astro config) Configure port and local domain
- Add popover using/abusing details
- (generate demo list) Add demo_prefix check and do not add category without demo files in it
- (demo) Configure public demo/index page to show demos with minimally styled global.css
- (button) Remove default styling and add/rename filled variants instead of warning/error/destructive
- Add select component, demo, and bg classes
- (demo buttons) Add bg color select
- (logo) Replace logo/favicons from "A + up-arrow" to "Squirrel"
- Add roo code ai agent rules
- Add script to generate and update ai agent rules in other projects using this project as a central repository
- (CardWrapper) Allow adding id
- (classes grid cols) Add 5 col variant
- (page centered) Allow passing an id
- (roo code rules) Add mcp and tech stack
- (scripts) Update scripts to generate ai agent rules
- (ai rules) Update classes and generate shared lib md
- (roo code rules) Add react key translation
- Add demos for all missing components
- (navbar) Add links to github and npm
- (demo list) Allow passing url prefix
- (img) Add mime type when generating image list
🐛 Bug Fixes
- Fix import paths and remove ts file extension because ts complains and wants noEmit or onlyDeclaration
- Fix imports after moving demo explorer
- (image list generation) Fix ImageType import
- (CardWrapper) Merge classes instead of concatenating them
- Fix astro build errors by moving source files outside of src/pages
- Fix dark mode
- (astro config) Fix aliases to use the modern new URL syntax
- (package) Fix repository.url format
🏭 Operations
- Add caddy config
- (caddy) Add host for production build
- (caddy) Simplify Caddyfile, import global/same configuration, and import cache configuration in dist.domain (same as deployed prod env cloudflare pages)
- (deployment) Configure caching headers, cache logo/favicons and all js/css files in dist/assets
- (caddy) Disable caching for dev server on astro-ui.com
🔨 Build
- (package) Add check and generate scripts
- (astro config) Remove bundle size analyzing
- (package) Add fine grained exports of each component, copy astro files using script (ignored by ts), and remove barrel imports
- (package) Add astro check script
- (deps) Update dependencies
- (package) Add build, deploy, upload, and generateDemoList scripts
- (deps) Update dependencies
- (package) Add clean and reset scripts
- (biome) Allow ts-ignore
- (gitignore) Unify configuration across multiple projects and add project specific settings to the bottom
- (gitignore) Do not ignore roo code rules folder
- (biome) Disable noUnusedFunctionParameters
- (package) Add package version
- (gitignore) Add npmrc
- (package) Add metadata, description, keywords, and license to be visible on npm
- (release) Bump package version for new release
- (package) Add npm publish command
- (gitignore) Move sections around
- (package) Add git repo url
- (cliff) Init/add git cliff configuation
- (gitignore) Ignore json and sh files in root dir to run git operations
- (cliff) Change emoji for chore / miscellaneous tasks
🚜 Refactor
- Move from ui_utils to ui/utils
- Move demo explorer folder into ui
- Simplify directory and put ui contents into src
- Move utils to utils/ui
- Replace className with class
- Replace absolute import alias from "@" to "~" for shorter and easier distinction between internal vs external imports in consuming projects
- (generate demo page list) Shorten name and pass full paths explicitly
- (layout) Rename markdown layout to markdown wrapper because it will need to be extended from BaseLayout
- Rename demo explorer to generate demo list
- (details) Simplify by reducing 1 nested div and replacing with flex-1 on middle/content
- Separate library code from astro pages and demos
- (global.css) Reorder entries
📚 Documentation
- (caching headers) Add documentation of duration for given numbers
- Add initial readme
- (readme) Add quick links, reorder tailwind configuration, and add explaining section for icons and images
- (readme) Add import alias configuration for typescript and acknowledgments section
- (readme) Fix header casing
🎨 Styling
- (tsconfig) Add comment spacing
- (fieldset) Increase brightness of border in dark mode
- (navbar) Add 1 padding to top because button focus/click should not go outside
- Sort imports by biome
🧹 Miscellaneous Tasks
- Remove unused generation files with no ts transpilation
- Remove vscode workspace