teacss 0.3.4 → 0.3.5

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/README.md CHANGED
@@ -7,8 +7,9 @@ Readable utilities for humans. Predictable syntax for AI agents.
7
7
  ## Purpose
8
8
 
9
9
  `teacss` is the application-facing package. Its root entry provides the
10
- official `cn` and `recipe` runtime helpers plus Standard preset constant
11
- tables, while its subpaths expose the engine and official presets.
10
+ official `cn` and `recipe` runtime helpers, the `omitAttributes` attribute
11
+ helper, and Standard preset constant tables, while its subpaths expose the
12
+ engine and official presets.
12
13
 
13
14
  Use it for normal TeaCSS applications. Preset authors, custom integration
14
15
  authors, and tooling authors should import the narrower `@teacss/*` packages
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { ClassProp, Merger, RecipeIntrospection, Reciper, VariantProps } from "@teacss/classes";
1
+ import { ClassProp, Merger, RecipeIntrospection, Reciper, VariantProps, omitAttributes } from "@teacss/classes";
2
2
  export * from "@teacss/preset-standard/constants";
3
3
  //#region src/index.d.ts
4
4
  declare const cn: Merger;
5
5
  declare const recipe: Reciper;
6
6
  //#endregion
7
- export { type ClassProp, type RecipeIntrospection, type VariantProps, cn, recipe };
7
+ export { type ClassProp, type RecipeIntrospection, type VariantProps, cn, omitAttributes, recipe };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{createMerger as e,createReciper as t}from"@teacss/classes";import{pluginIcon as n}from"@teacss/preset-icons/merge";import{pluginStandard as r}from"@teacss/preset-standard/merge";export*from"@teacss/preset-standard/constants";const i=e({plugins:[r,n]});let a;const o=(e=>(a??=t({merge:i}),a(e)));export{i as cn,o as recipe};
1
+ import{createMerger as e,createReciper as t,omitAttributes as n}from"@teacss/classes";import{pluginIcon as r}from"@teacss/preset-icons/merge";import{pluginStandard as i}from"@teacss/preset-standard/merge";export*from"@teacss/preset-standard/constants";const a=e({plugins:[i,r]});let o;const s=(e=>(o??=t({merge:a}),o(e)));export{a as cn,n as omitAttributes,s as recipe};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teacss",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "The TeaCSS application entry with the official `cn`, `recipe`, engine, and preset subpaths.",
5
5
  "homepage": "https://css.teasim.com",
6
6
  "funding": "https://github.com/sponsors/billgo",
@@ -26,11 +26,11 @@
26
26
  "dev": "tsdown --watch"
27
27
  },
28
28
  "dependencies": {
29
- "@teacss/classes": "0.3.4",
30
- "@teacss/core": "0.3.4",
31
- "@teacss/preset-articles": "0.3.4",
32
- "@teacss/preset-icons": "0.3.4",
33
- "@teacss/preset-standard": "0.3.4"
29
+ "@teacss/classes": "0.3.5",
30
+ "@teacss/core": "0.3.5",
31
+ "@teacss/preset-articles": "0.3.5",
32
+ "@teacss/preset-icons": "0.3.5",
33
+ "@teacss/preset-standard": "0.3.5"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=22.12.0"