fix(readme): Normalize README formatting and improve breakpoint helpers section
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-11-16 - 2.3.6 - fix(readme)
|
||||||
|
Normalize README formatting and improve breakpoint helpers section
|
||||||
|
|
||||||
|
- Fixed inconsistent Markdown list formatting in the Features section (added space after list dash for emoji bullets)
|
||||||
|
- Bolded the "Available breakpoint helpers" heading and added spacing for improved readability
|
||||||
|
- Clarified breakpoint helper listing to ensure cssForPhone is documented
|
||||||
|
|
||||||
## 2025-11-16 - 2.3.5 - fix(dependencies)
|
## 2025-11-16 - 2.3.5 - fix(dependencies)
|
||||||
bump dependency versions in package.json
|
bump dependency versions in package.json
|
||||||
|
|
||||||
|
|||||||
37
readme.md
37
readme.md
@@ -6,15 +6,15 @@ Modern web development made elegant. `@design.estate/dees-domtools` provides a p
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
🚀 **Smart DOM Management** - Singleton-based DomTools instance with race-condition-free initialization
|
- 🚀 **Smart DOM Management** - Singleton-based DomTools instance with race-condition-free initialization
|
||||||
📱 **Responsive Breakpoints** - Built-in support for desktop, tablet, phablet, and phone viewports with container queries
|
- 📱 **Responsive Breakpoints** - Built-in support for desktop, tablet, phablet, and phone viewports with container queries
|
||||||
🎭 **Theme Management** - Automatic dark/light mode detection and switching with RxJS observables
|
- 🎭 **Theme Management** - Automatic dark/light mode detection and switching with RxJS observables
|
||||||
⌨️ **Keyboard Shortcuts** - Elegant keyboard event handling with combo support
|
- ⌨️ **Keyboard Shortcuts** - Elegant keyboard event handling with combo support
|
||||||
📜 **Smooth Scrolling** - Native and Lenis-powered smooth scrolling with automatic detection
|
- 📜 **Smooth Scrolling** - Native and Lenis-powered smooth scrolling with automatic detection
|
||||||
🎯 **State Management** - Integrated state management with smartstate
|
- 🎯 **State Management** - Integrated state management with smartstate
|
||||||
🧭 **Routing** - Client-side routing with smartrouter
|
- 🧭 **Routing** - Client-side routing with smartrouter
|
||||||
🌐 **WebSetup** - Easy management of website metadata, favicons, and SEO tags
|
- 🌐 **WebSetup** - Easy management of website metadata, favicons, and SEO tags
|
||||||
💅 **CSS Utilities** - Grid helpers, breakpoint utilities, and base styles for web components
|
- 💅 **CSS Utilities** - Grid helpers, breakpoint utilities, and base styles for web components
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -114,7 +114,8 @@ const myStyles = litCss`
|
|||||||
`;
|
`;
|
||||||
```
|
```
|
||||||
|
|
||||||
Available breakpoint helpers:
|
**Available breakpoint helpers:**
|
||||||
|
|
||||||
- `cssForDesktop(css)` - Styles for 1600px and above
|
- `cssForDesktop(css)` - Styles for 1600px and above
|
||||||
- `cssForNotebook(css)` - Styles for 1240px and below
|
- `cssForNotebook(css)` - Styles for 1240px and below
|
||||||
- `cssForTablet(css)` - Styles for 1024px and below
|
- `cssForTablet(css)` - Styles for 1024px and below
|
||||||
@@ -184,6 +185,7 @@ keyboard.stopListening();
|
|||||||
**Available Keys:**
|
**Available Keys:**
|
||||||
|
|
||||||
All standard keyboard keys are available in the `Key` enum, including:
|
All standard keyboard keys are available in the `Key` enum, including:
|
||||||
|
|
||||||
- Modifiers: `Ctrl`, `Shift`, `Alt`
|
- Modifiers: `Ctrl`, `Shift`, `Alt`
|
||||||
- Letters: `A` through `Z`
|
- Letters: `A` through `Z`
|
||||||
- Numbers: `Zero` through `Nine`
|
- Numbers: `Zero` through `Nine`
|
||||||
@@ -298,7 +300,8 @@ class MyElement extends LitElement {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The `elementBasic.staticStyles` includes:
|
**The `elementBasic.staticStyles` includes:**
|
||||||
|
|
||||||
- Box-sizing reset
|
- Box-sizing reset
|
||||||
- Smooth transitions for background and color
|
- Smooth transitions for background and color
|
||||||
- Custom scrollbar styles
|
- Custom scrollbar styles
|
||||||
@@ -455,12 +458,12 @@ Targets the latest version of Chrome. For other browsers, you may need to includ
|
|||||||
|
|
||||||
## Why @design.estate/dees-domtools?
|
## Why @design.estate/dees-domtools?
|
||||||
|
|
||||||
✅ **Race-condition free** - Carefully designed initialization prevents common timing issues
|
- ✅ **Race-condition free** - Carefully designed initialization prevents common timing issues
|
||||||
✅ **TypeScript first** - Full type safety and IntelliSense support
|
- ✅ **TypeScript first** - Full type safety and IntelliSense support
|
||||||
✅ **Modern APIs** - Built on Lit, RxJS, and other modern web standards
|
- ✅ **Modern APIs** - Built on Lit, RxJS, and other modern web standards
|
||||||
✅ **Batteries included** - Everything you need for sophisticated web apps
|
- ✅ **Batteries included** - Everything you need for sophisticated web apps
|
||||||
✅ **Production ready** - Used in real-world applications at design.estate
|
- ✅ **Production ready** - Used in real-world applications at design.estate
|
||||||
✅ **Well maintained** - Active development and support
|
- ✅ **Well maintained** - Active development and support
|
||||||
|
|
||||||
## Related Packages
|
## Related Packages
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-domtools',
|
name: '@design.estate/dees-domtools',
|
||||||
version: '2.3.5',
|
version: '2.3.6',
|
||||||
description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.'
|
description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user