ckcoreui 0.6.0
ckcoreui: ^0.6.0 copied to clipboard
A Flutter design system package providing reusable UI components, design tokens, and multi-brand themes (CastleKeep & SkyGo).
0.6.0 #
Added #
CKAnimateandCKAnimation: token-driven entrance animations (fade, slide, scale) withdelay,triggerreplay,CKAnimate.staggerand reduced-motion support.ButtonHoverStyleandCKButton.hoverStyle: on hover a button floats up with a soft shadow (lift, the default), grows (grow) or stays still (none).CKErrorState.iconandCKErrorState.retryLabel.- AI tooling: a Claude Code skill and a Copilot instructions file in
skills/, and the@ckcore/ui-mcpserver (mcp/, versioned and published to npm separately; first release 0.1.0). - A test suite for the library: theme-matrix smoke tests for every component plus behaviour tests for buttons, inputs, display, feedback, navigation, overlays, the data table, theme and tokens, text extensions and
CKApp.
Changed #
- Updated
lucide_icons_flutterto^4.0.1so all dependencies are on their latest versions. CKButtonpolish: pressing scales the button down and springs it back, labels use the type tokens for each size, and corners are slightly softer. Hover and press motion is skipped for disabled or loading buttons and when the platform asks for reduced motion.- Implemented the widgets that used to build to an empty box:
CKDivider,CKListTile,CKSkeleton,CKEmptyState,CKErrorState,CKTimePicker,CKBreadcrumb,CKNavigationRail,CKTooltipandCKPopover.
Removed #
- Breaking: the screen templates
LoginTemplate,RegisterTemplate,ForgotPasswordTemplate,ListTemplate,CreateTemplate,EditTemplate,DetailTemplate,DashboardTemplate,LoadingTemplate,ErrorTemplate,EmptyTemplateandOfflineTemplate. They were unimplemented stubs that rendered nothing.CKScreenLayoutis unchanged.
Fixed #
CKButtoncould be tapped repeatedly whileloading: true(double submit); taps are now blocked while loading.- A full-width
CKButtonoverflowed on long labels, for example the default "Yes, Delete Permanently" inCKDialog.destructive; the label now wraps. CKNavigationRailitems were announced twice by screen readers.CKSnackbarat the top was squashed to a few pixels (so it looked missing) whenever its Scaffold was shorter than the window, for example under a header or with a bottom bar. It now floats above everything in the app (headers, side navigation, page) in the root overlay, full width by default (passwidthto make it narrower and centered), with a slide-in, auto-dismiss,onDismisssupport andCKSnackbar.hide(). The bottom position is unchanged.
0.5.0 #
Added #
CKEditableCellclass for editable data table cells supporting multiple input types (text field, dropdown, checkbox, switch, date picker).- Date range selection support in date picker with improved UI.
- New logo assets for enhanced branding options.
Changed #
- Enhanced
CKDataTablewith editable cell support and improved validation error handling. - Improved
CKTextFieldwith controlled value input and better focus handling. - Limited
CKDropdownmenu height for improved usability. - Adjusted footer page size options in data table.
0.4.3 #
Added #
- Constraints parameters in
CKContainerfor enhanced layout control. pageSizeselector inCKDataTablefor dynamic page size selection.- Filtering support in
CKDataTablefor improved data interaction. isRequiredparameter support inCKTextFieldandCKDropdown.
Fixed #
- Fixed
CKSideNavcollapse behavior. - Fixed overflow exception in
CKSideNav. - Removed redundant
readOnlyparameters on input fields. - Improved minor layout issues and documentation updates.
0.4.2 #
Fixed #
- Improved
CKSideNavselection by adding optional key-based navigation support. - Fixed
CKCardtrailing alignment and layout behavior. - Improved validation behavior for
CKDropdownandCKRadio. - Refined
CKAccordionspacing and styling consistency. - Improved
CKTimelinedot sizing and custom icon rendering.
Internal #
- Added TODO for future
CKLoadingStateenhancements.
0.4.1 #
Changed #
- Improved Material theme injection for better visual consistency.
- Updated Material widget theming for Checkbox, Radio, Switch, TextField, Dialog, ProgressIndicator, Slider, and related components.
- Added Material widget examples alongside CKCoreUI components for easier comparison in the documentation.
Fixed #
- Fixed inconsistent default colors in Material widgets.
- Improved InputDecorationTheme defaults for outlined text fields.
0.4.0 #
Added #
- Expanded theme customization options.
- Added migration guide for upgrading from 0.3.x.
Changed #
- Improved accessibility and keyboard navigation.
- Improved component documentation and examples.
- Refined typography, spacing, and theme performance.
- Standardized component APIs for consistency.
Fixed #
- Fixed overlay stability (
CKAlert,CKToast,CKDialog). - Improved responsive data tables.
- Fixed form validation edge cases.
- Improved theme consistency across light and dark modes.
0.3.1 #
Updated documentation
0.3.0 #
Changed:
- Renamed package from
ckgoc_coretockcoreui. Deprecated aliases are preserved for backward compatibility. - Refactored theme structure: introduced
CKCoreThemeData,CKCoreTheme, and new brand management enums. RemovedCkgocThemeandCkgocThemeData(deprecated aliases still available). - Updated
bin/ckgoc.dartCLI, README, LICENSE, and all internal references to use the new package name.
Added:
- Semantic heading extension getters
.h1–.h6onText, mapping todisplay2xl,displayXl,displayLg,displayMd,displaySm, andtextXltypography tokens. - Significantly expanded Flutter docs app: new
ScreenLayoutPageandRouterPageusingDocSection/ComponentDocDatapattern; updatedOverviewPagewith CKApp theme-injection guide; updatedFoundationPagewith heading-shorthand showcase. CKApp.routerdocumentation explaining theme-context injection for descendants.
Fixed:
- Layout exceptions (
RenderDecoratedBox/_RenderInkFeaturesgiven infinite size) inCKCard,CKAlert, andCKToastwhen placed in unbounded-width parents (e.g.Wrap). CKCardhorizontal layout: replacedExpandedwithFlexibleand addedmainAxisSize: MainAxisSize.minto prevent infinite-width propagation.
0.2.1 #
Added:
- Flutter documentation app for browsing ckcoreui components and usage examples.
ckcoreNumberStepperinput component and expandedckcoreDropdownsupport.
Changed:
- Migrated icon usage from
lucide_iconstolucide_icons_flutter. - Expanded example and quick-start documentation for the updated input components.
0.2.0 #
Added:
- Brand scaffolding CLI via
bin/ckcoreui.dartfor generating brand configuration and setup artifacts. - Data table sorting support, including updated table behavior and documentation.
- Bundled Inter font assets and brand logo assets for CastleKeep and SkyGo.
Changed:
- Expanded public API and getting-started documentation, including brand scaffolding, data table usage, installation, and quick guide updates.
- Updated README and package configuration to support the new CLI/assets release.
0.1.1 #
Fixed:
- Updated GitHub repository and homepage URLs.
- Updated installation instructions to use the published package from pub.dev.
- Replaced outdated
showcase/references withexample/. - Improved README and package documentation.
- Minor documentation and metadata improvements.
0.1.0 #
- Release: initial package published as
0.1.0.
Highlights:
- Add multi-brand design system with CastleKeep and SkyGo themes.
- Provide design tokens: colors, typography, spacing, radius, elevation, motion.
- Core components: buttons, inputs, cards, overlays, navigation, tables.
- Templates for common screens: auth, CRUD, dashboard, states.
showcase/app demonstrating component usage and integration.
See doc/ for usage guides and API notes.
0.0.1 #
- Initial public release (historical entry)