Skip to content

3.0.0#10

Merged
dnvt merged 5 commits intomainfrom
3.0.0
Mar 9, 2025
Merged

3.0.0#10
dnvt merged 5 commits intomainfrom
3.0.0

Conversation

@dnvt
Copy link
Copy Markdown
Owner

@dnvt dnvt commented Mar 9, 2025

This pull request involves a major update to the baseline-kit package, focusing on a comprehensive redesign of the component library, enhanced theming options, and various improvements to the build and linting configurations. Below are the most important changes:

Major Changes to Component Library and Theming:

  • README.md: Updated documentation to include new CSS import options, integration steps for frameworks like Remix, and detailed theming options. [1] [2] [3] [4]
  • CHANGELOG.md: Added a new section for version 3.0.0, highlighting the comprehensive component library redesign and improved theming system.

Build and Configuration Enhancements:

  • package.json: Updated build scripts to include a new build:combine-css step and added new dependencies for updated ESLint and TypeScript configurations. [1] [2] [3] [4] [5] [6]
  • scripts/combine-css.js: New script to combine core and theme CSS files into a single baseline-kit.css file and copy individual theme files to the distribution directory.

Linting Configuration Updates:

  • .eslintignore: Removed unnecessary entries to clean up the ignore list.
  • .eslintrc.cjs: Removed the old ESLint configuration file.
  • eslint.config.js: Added a new ESLint configuration file using the latest plugins and settings for TypeScript and React.

Workflow Improvements:

Codebase Simplification:

dnvt added 5 commits March 8, 2025 12:20
This commit introduces improved theming with dedicated theme files and variables for light/dark modes, alongside CSS splitting capabilities. It also restructures configuration and debugging for enhanced clarity, updates eslint configurations, and integrates a CSS combination script for optimized builds.
Added comments to clarify the purpose and structure of CSS files, including descriptions for variables and components. Enhanced imports and module exports for better readability and maintainability.
This commit upgrades various dependencies, improves server-side rendering support, and ensures a consistent fallback UI for components like `Guide` and `Baseline`. It introduces a new `ClientOnly` utility, enhances measurement handling, and replaces auto-fit with auto-fill for grid templates.
…rification.

This commit implements several structural improvements and optimizations, including reducing export scope to only essential components, types, and utilities, while keeping internal functionalities private. Component and utility functions were modified to improve consistency, and `useIsClient` and `ClientOnly` are now internalized. Additionally, workflow updates were introduced to verify package contents during CI.
@dnvt dnvt self-assigned this Mar 9, 2025
@dnvt dnvt merged commit cc7b621 into main Mar 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant