@vtable-guild/vtable-guild 2.1.2 → 2.1.4

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.
@@ -0,0 +1,3 @@
1
+ declare const href: string
2
+
3
+ export default href
@@ -0,0 +1,3 @@
1
+ declare const href: string
2
+
3
+ export default href
@@ -0,0 +1,3 @@
1
+ declare const href: string
2
+
3
+ export default href
package/dist/index.mjs CHANGED
@@ -5798,7 +5798,7 @@ const An = /* @__PURE__ */ Q({
5798
5798
  // li 自身只控制指针;hover/selected/padding 全在 contentWrapper
5799
5799
  filterDropdownItem: "cursor-pointer",
5800
5800
  // 多选选中(默认 selected 槽):仅 checkbox label 变 primary 色,无背景;
5801
- // 通过 [--color-on-surface:...] 重定义子 span 颜色(FilterDropdown.tsx span 使用 text-[color:var(--color-on-surface)])
5801
+ // 通过 CSS variable arbitrary property 重定义子 span 颜色。
5802
5802
  filterDropdownItemSelected: "[--color-on-surface:var(--color-primary)] font-medium hover:bg-[color:var(--color-control-item-hover-bg)]",
5803
5803
  // 单选选中(element-plus highlight 模式):primary 底 + 白字 → 复用 var 重定义
5804
5804
  filterDropdownItemSelectedSingle: "bg-[color:var(--color-primary)] [--color-on-surface:#ffffff] hover:bg-[color:var(--color-primary)]",
@@ -5,9 +5,9 @@
5
5
  * 亮色/暗色通过 preset CSS(如 presets/antdv.css)中的 :root / .dark 切换。
6
6
  *
7
7
  * ⚠️ 注意 Tailwind CSS 4 消歧语法:
8
- * - text-[color:var(...)] 用于文字颜色
9
- * - text-[length:var(...)] 用于字号
10
- * - 不要使用 text-[var(...)],Tailwind 无法推断意图
8
+ * - 颜色使用 text arbitrary value + CSS variable
9
+ * - 字号使用 text length arbitrary value + CSS variable
10
+ * - 不要省略类型提示,Tailwind 无法推断意图
11
11
  */
12
12
  /** 对齐类映射,由 cell 组件消费,同时确保类名进入 theme dist 被 Tailwind 扫描 */
13
13
  export declare const TABLE_ALIGN_CLASSES: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtable-guild/vtable-guild",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "A highly customizable Vue 3 Table component library powered by tailwind-variants",
5
5
  "type": "module",
6
6
  "files": [
@@ -13,30 +13,42 @@
13
13
  "import": "./dist/index.mjs"
14
14
  },
15
15
  "./css": {
16
+ "types": "./css/index.d.ts",
16
17
  "style": "./css/index.css",
17
18
  "default": "./css/index.css"
18
19
  },
19
20
  "./css/tokens": {
21
+ "types": "./css/tokens.d.ts",
20
22
  "style": "./css/tokens.css",
21
23
  "default": "./css/tokens.css"
22
24
  },
23
25
  "./css/transitions": {
26
+ "types": "./css/transitions.d.ts",
24
27
  "style": "./css/transitions.css",
25
28
  "default": "./css/transitions.css"
26
29
  },
30
+ "./css/style": {
31
+ "types": "./css/style.d.ts",
32
+ "style": "./css/style.css",
33
+ "default": "./css/style.css"
34
+ },
27
35
  "./css/tailwind3": {
36
+ "types": "./css/tailwind3.d.ts",
28
37
  "style": "./css/tailwind3.css",
29
38
  "default": "./css/tailwind3.css"
30
39
  },
31
40
  "./css/tailwind3-utilities": {
41
+ "types": "./css/tailwind3-utilities.d.ts",
32
42
  "style": "./css/tailwind3-utilities.css",
33
43
  "default": "./css/tailwind3-utilities.css"
34
44
  },
35
45
  "./css/presets/antdv": {
46
+ "types": "./css/presets/antdv.d.ts",
36
47
  "style": "./css/presets/antdv.css",
37
48
  "default": "./css/presets/antdv.css"
38
49
  },
39
50
  "./css/presets/element-plus": {
51
+ "types": "./css/presets/element-plus.d.ts",
40
52
  "style": "./css/presets/element-plus.css",
41
53
  "default": "./css/presets/element-plus.css"
42
54
  }