wispcss 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/wispcss.css +757 -576
- package/dist/wispcss.min.css +1 -1
- package/examples/demo-actions.html +1 -1
- package/examples/demo-btns.html +47 -12
- package/examples/demo-button-icon.html +6 -0
- package/examples/demo-callout.html +87 -87
- package/examples/demo-dialog.html +11 -11
- package/examples/demo-drawer.html +6 -6
- package/examples/demo-gtable.html +2 -2
- package/examples/demo-icons.html +828 -827
- package/examples/demo-poster.html +5 -5
- package/examples/demo-swatch.html +1 -1
- package/examples/demo-theme.html +2 -2
- package/examples/demo-tools.html +1 -1
- package/package.json +1 -1
- package/script-prefix.js +2 -2
- package/skill.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
All changes to WispCSS including new features, updates, and removals are documented here.
|
|
4
4
|
|
|
5
|
+
## [v1.0.8] - 2026-11-28
|
|
6
|
+
|
|
7
|
+
#### Fixed
|
|
8
|
+
- Remove the `-mark` suffix from icon names. 对图标的名称取消`-mark`后缀。
|
|
9
|
+
- Rename `background-cover` to `bg-image-cover` and add `bg-image-contain`. 将`background-cover`改名为`bg-image-cover`,并新增`bg-image-contain`。
|
|
10
|
+
- Resolve the conflict between `btn-icon` and `btn-pill` to ensure that `btn-icon` maintains a 1:1 aspect ratio. 解决`btn-icon`和`btn-pill`的冲突,确保btn-icon的宽高比例是1:1。
|
|
11
|
+
- Remove the default background color from pagination items in the `pagination-plain` style and adjust the spacing between pagination items.. 删除`pagination-plain`风格中分页的默认背景色,并调整分页之间的间距。
|
|
12
|
+
|
|
13
|
+
#### Added
|
|
14
|
+
- Extend Tailwind breakpoints with 3xl, 4xl, 5xl, and 6xl. 扩展tailwind的3xl/4xl/5xl/6xl断点。
|
|
15
|
+
- Add the `--text-md` variable, equivalent to `--text-base`. 新增`--text-md`变量,等同于`--text-base`。
|
|
16
|
+
- Add the `theme-block` utility to quickly apply themed styles to text blocks. 增加`theme-block`这个utility,以快速应用主题风格的文本块。
|
|
17
|
+
- Add the `object-contain` utility.新增`object-contain`这个utility。
|
|
18
|
+
- Add the `btns-*` extension to allow customization of button group theme colors. 增加`btns-*`扩展,允许自定义按钮组的主题颜色。
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [v1.0.7] - 2026-11-25
|
|
22
|
+
|
|
23
|
+
#### Fixed
|
|
24
|
+
- Updated the icon library and revised the icon naming convention to follow Lucide's naming conventions. 更新图标库,修改图标命名方式,改用lucide图标库的命名规范。
|
|
25
|
+
|
|
5
26
|
|
|
6
27
|
## [v1.0.6] - 2026-11-14
|
|
7
28
|
|
|
@@ -75,7 +96,7 @@ All changes to WispCSS including new features, updates, and removals are documen
|
|
|
75
96
|
#### Added
|
|
76
97
|
- Initial release of WispCSS — a pure CSS component and utility library built on the Tailwind CSS v4 compiler.
|
|
77
98
|
- **Components**: 40+ UI components including buttons, badges, tags, breadcrumbs, pagination, steps, dividers, inputs, forms, switches, checkboxes, avatars, blockquotes, code blocks, kbd, links, emphasis, underline, ellipsis, gilt, spinner, progress, stats, rank, buoy, flag, segment, swatch, poster, blob, bubble, callout, alarm, aura, sketch, shadow, comment, tools, spacer, lamp, bookmark, dropmenu, droppanel, table, heading, dialog, deform, shimmer, shell, field, and more.
|
|
78
|
-
- **Utilities**: Supplemental utility classes not included in Tailwind CSS by default (`inline-flex-center`, `flex-center`, `disabled`, `inactive`, `text-3xs`, `text-2xs`, `hidden-appearance`, `
|
|
99
|
+
- **Utilities**: Supplemental utility classes not included in Tailwind CSS by default (`inline-flex-center`, `flex-center`, `disabled`, `inactive`, `text-3xs`, `text-2xs`, `hidden-appearance`, `bg-image-cover`, `rotate-*`).
|
|
79
100
|
- **Animation**: `transition` utilities and `animate-*` keyframe animation classes.
|
|
80
101
|
- **Color System**: Complete design token system based on the OKLCH color space with automatic dark/light mode adaptation.
|
|
81
102
|
- **Dark Mode**: Support via `.dark` class or `prefers-color-scheme: dark`.
|
package/README.md
CHANGED
|
@@ -312,7 +312,8 @@ WispCSS adds utility classes that are not included in Tailwind CSS by default:
|
|
|
312
312
|
| `text-3xs` | 8px font size (`max(0.5rem, 8px)`) |
|
|
313
313
|
| `text-2xs` | 10px font size (`max(0.625rem, 10px)`) |
|
|
314
314
|
| `hidden-appearance` | Visually hides input while keeping it accessible |
|
|
315
|
-
| `
|
|
315
|
+
| `bg-image-cover` | `background-size: cover; background-position: center; background-repeat: no-repeat;` |
|
|
316
|
+
| `bg-image-contain` | `background-size: contain; background-position: center; background-repeat: no-repeat;` |
|
|
316
317
|
| `rotate-reverse` | 180-degree rotation |
|
|
317
318
|
| `rotate-cross` | 45-degree rotation (plus to cross) |
|
|
318
319
|
| `rotate-expand` | 90-degree rotation |
|
package/README.zh-CN.md
CHANGED
|
@@ -311,7 +311,8 @@ WispCSS 添加了 Tailwind CSS 默认未包含的 utility class:
|
|
|
311
311
|
| `text-3xs` | 8px 字号(`max(0.5rem, 8px)`) |
|
|
312
312
|
| `text-2xs` | 10px 字号(`max(0.625rem, 10px)`) |
|
|
313
313
|
| `hidden-appearance` | 在视觉上隐藏输入框,同时保持无障碍可访问性 |
|
|
314
|
-
| `
|
|
314
|
+
| `bg-image-cover` | `background-size: cover; background-position: center; background-repeat: no-repeat;` |
|
|
315
|
+
| `bg-image-contain` | `background-size: contain; background-position: center; background-repeat: no-repeat;` |
|
|
315
316
|
| `rotate-reverse` | 180 度旋转 |
|
|
316
317
|
| `rotate-cross` | 45 度旋转(加号变叉号) |
|
|
317
318
|
| `rotate-expand` | 90 度旋转 |
|