persagy-vant 0.0.35 → 0.0.36

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.
Files changed (86) hide show
  1. package/es/index.d.ts +1 -1
  2. package/es/index.mjs +1 -1
  3. package/es/label/Label.d.ts +11 -1
  4. package/es/label/Label.mjs +34 -3
  5. package/es/label/index.css +1 -1
  6. package/es/label/index.d.ts +6 -2
  7. package/es/label/index.less +22 -0
  8. package/es/label/var.less +1 -0
  9. package/es/material-action-bar/MaterialActionBar.d.ts +15 -0
  10. package/es/material-action-bar/MaterialActionBar.mjs +107 -58
  11. package/es/material-action-bar/index.css +1 -1
  12. package/es/material-action-bar/index.d.ts +76 -2
  13. package/es/material-action-bar/index.less +6 -2
  14. package/es/material-action-bar/index.mjs +4 -2
  15. package/es/material-action-bar/style/index.mjs +1 -0
  16. package/es/material-action-bar/style/less.mjs +1 -0
  17. package/es/material-add/index.css +1 -1
  18. package/es/material-add/style/index.mjs +1 -0
  19. package/es/material-add/style/less.mjs +1 -0
  20. package/es/material-display-bar/MaterialDisplayBar.d.ts +2 -1
  21. package/es/material-display-bar/MaterialDisplayBar.mjs +4 -3
  22. package/es/material-display-bar/index.css +1 -1
  23. package/es/material-display-bar/index.d.ts +105 -4
  24. package/es/material-display-bar/index.mjs +5 -3
  25. package/es/material-display-bar/var.less +1 -1
  26. package/es/tag/Tag.d.ts +15 -2
  27. package/es/tag/Tag.mjs +20 -3
  28. package/es/tag/index.css +1 -1
  29. package/es/tag/index.d.ts +9 -0
  30. package/es/tag/index.less +45 -1
  31. package/es/tag/var.less +13 -0
  32. package/es/title-bar/TitleBar.d.ts +29 -11
  33. package/es/title-bar/TitleBar.mjs +38 -8
  34. package/es/title-bar/index.css +1 -1
  35. package/es/title-bar/index.d.ts +14 -1
  36. package/es/title-bar/index.less +10 -2
  37. package/es/title-bar/style/index.mjs +2 -0
  38. package/es/title-bar/style/less.mjs +2 -0
  39. package/es/title-bar/var.less +4 -0
  40. package/lib/index.css +1 -1
  41. package/lib/index.d.ts +1 -1
  42. package/lib/index.js +1 -1
  43. package/lib/index.less +1 -1
  44. package/lib/label/Label.d.ts +11 -1
  45. package/lib/label/Label.js +34 -3
  46. package/lib/label/index.css +1 -1
  47. package/lib/label/index.d.ts +6 -2
  48. package/lib/label/index.less +22 -0
  49. package/lib/label/var.less +1 -0
  50. package/lib/material-action-bar/MaterialActionBar.d.ts +15 -0
  51. package/lib/material-action-bar/MaterialActionBar.js +106 -57
  52. package/lib/material-action-bar/index.css +1 -1
  53. package/lib/material-action-bar/index.d.ts +76 -2
  54. package/lib/material-action-bar/index.js +4 -2
  55. package/lib/material-action-bar/index.less +6 -2
  56. package/lib/material-action-bar/style/index.js +1 -0
  57. package/lib/material-action-bar/style/less.js +1 -0
  58. package/lib/material-add/index.css +1 -1
  59. package/lib/material-add/style/index.js +1 -0
  60. package/lib/material-add/style/less.js +1 -0
  61. package/lib/material-display-bar/MaterialDisplayBar.d.ts +2 -1
  62. package/lib/material-display-bar/MaterialDisplayBar.js +4 -3
  63. package/lib/material-display-bar/index.css +1 -1
  64. package/lib/material-display-bar/index.d.ts +105 -4
  65. package/lib/material-display-bar/index.js +5 -3
  66. package/lib/material-display-bar/var.less +1 -1
  67. package/lib/tag/Tag.d.ts +15 -2
  68. package/lib/tag/Tag.js +20 -3
  69. package/lib/tag/index.css +1 -1
  70. package/lib/tag/index.d.ts +9 -0
  71. package/lib/tag/index.less +45 -1
  72. package/lib/tag/var.less +13 -0
  73. package/lib/title-bar/TitleBar.d.ts +29 -11
  74. package/lib/title-bar/TitleBar.js +38 -8
  75. package/lib/title-bar/index.css +1 -1
  76. package/lib/title-bar/index.d.ts +14 -1
  77. package/lib/title-bar/index.less +10 -2
  78. package/lib/title-bar/style/index.js +2 -0
  79. package/lib/title-bar/style/less.js +2 -0
  80. package/lib/title-bar/var.less +4 -0
  81. package/lib/vant.cjs.js +209 -79
  82. package/lib/vant.es.js +209 -79
  83. package/lib/vant.js +209 -79
  84. package/lib/vant.min.js +1 -1
  85. package/lib/web-types.json +1 -1
  86. package/package.json +1 -1
@@ -1,20 +1,25 @@
1
- import { type ExtractPropTypes, type PropType } from 'vue';
1
+ import { type ExtractPropTypes } from 'vue';
2
2
  export declare type TitleBarSize = 'default' | 'mini';
3
3
  declare const titleBarProps: {
4
4
  title: {
5
- type: PropType<string>;
5
+ type: import("vue").PropType<string>;
6
6
  default: string;
7
7
  };
8
8
  description: {
9
- type: PropType<string>;
9
+ type: import("vue").PropType<string>;
10
10
  default: string;
11
11
  };
12
12
  icon: StringConstructor;
13
13
  showIcon: BooleanConstructor;
14
14
  showDescription: BooleanConstructor;
15
15
  showArrow: BooleanConstructor;
16
+ actionText: {
17
+ type: import("vue").PropType<string>;
18
+ default: string;
19
+ };
20
+ showAction: BooleanConstructor;
16
21
  size: {
17
- type: PropType<TitleBarSize>;
22
+ type: import("vue").PropType<TitleBarSize>;
18
23
  default: TitleBarSize;
19
24
  };
20
25
  expandable: BooleanConstructor;
@@ -26,19 +31,24 @@ declare const titleBarProps: {
26
31
  export declare type TitleBarProps = ExtractPropTypes<typeof titleBarProps>;
27
32
  declare const _default: import("vue").DefineComponent<{
28
33
  title: {
29
- type: PropType<string>;
34
+ type: import("vue").PropType<string>;
30
35
  default: string;
31
36
  };
32
37
  description: {
33
- type: PropType<string>;
38
+ type: import("vue").PropType<string>;
34
39
  default: string;
35
40
  };
36
41
  icon: StringConstructor;
37
42
  showIcon: BooleanConstructor;
38
43
  showDescription: BooleanConstructor;
39
44
  showArrow: BooleanConstructor;
45
+ actionText: {
46
+ type: import("vue").PropType<string>;
47
+ default: string;
48
+ };
49
+ showAction: BooleanConstructor;
40
50
  size: {
41
- type: PropType<TitleBarSize>;
51
+ type: import("vue").PropType<TitleBarSize>;
42
52
  default: TitleBarSize;
43
53
  };
44
54
  expandable: BooleanConstructor;
@@ -46,21 +56,26 @@ declare const _default: import("vue").DefineComponent<{
46
56
  type: BooleanConstructor;
47
57
  default: true;
48
58
  };
49
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
59
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue" | "click-action")[], "click" | "change" | "update:modelValue" | "click-action", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
50
60
  title: {
51
- type: PropType<string>;
61
+ type: import("vue").PropType<string>;
52
62
  default: string;
53
63
  };
54
64
  description: {
55
- type: PropType<string>;
65
+ type: import("vue").PropType<string>;
56
66
  default: string;
57
67
  };
58
68
  icon: StringConstructor;
59
69
  showIcon: BooleanConstructor;
60
70
  showDescription: BooleanConstructor;
61
71
  showArrow: BooleanConstructor;
72
+ actionText: {
73
+ type: import("vue").PropType<string>;
74
+ default: string;
75
+ };
76
+ showAction: BooleanConstructor;
62
77
  size: {
63
- type: PropType<TitleBarSize>;
78
+ type: import("vue").PropType<TitleBarSize>;
64
79
  default: TitleBarSize;
65
80
  };
66
81
  expandable: BooleanConstructor;
@@ -72,13 +87,16 @@ declare const _default: import("vue").DefineComponent<{
72
87
  onChange?: ((...args: any[]) => any) | undefined;
73
88
  onClick?: ((...args: any[]) => any) | undefined;
74
89
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
+ "onClick-action"?: ((...args: any[]) => any) | undefined;
75
91
  }, {
76
92
  title: string;
77
93
  size: TitleBarSize;
78
94
  modelValue: boolean;
79
95
  description: string;
96
+ actionText: string;
80
97
  expandable: boolean;
81
98
  showArrow: boolean;
99
+ showAction: boolean;
82
100
  showDescription: boolean;
83
101
  showIcon: boolean;
84
102
  }>;
@@ -21,6 +21,7 @@ __export(stdin_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(stdin_exports);
23
23
  var import_vue = require("vue");
24
+ var import_button = require("../button");
24
25
  var import_icon = require("../icon");
25
26
  var import_utils = require("../utils");
26
27
  const [name, bem] = (0, import_utils.createNamespace)("title-bar");
@@ -31,6 +32,8 @@ const titleBarProps = {
31
32
  showIcon: Boolean,
32
33
  showDescription: Boolean,
33
34
  showArrow: Boolean,
35
+ actionText: (0, import_utils.makeStringProp)("\u64CD\u4F5C"),
36
+ showAction: Boolean,
34
37
  size: (0, import_utils.makeStringProp)("default"),
35
38
  expandable: Boolean,
36
39
  modelValue: import_utils.truthProp
@@ -38,7 +41,7 @@ const titleBarProps = {
38
41
  var stdin_default = (0, import_vue.defineComponent)({
39
42
  name,
40
43
  props: titleBarProps,
41
- emits: ["update:modelValue", "change", "click"],
44
+ emits: ["update:modelValue", "change", "click", "click-action"],
42
45
  setup(props, {
43
46
  slots,
44
47
  emit
@@ -50,6 +53,21 @@ var stdin_default = (0, import_vue.defineComponent)({
50
53
  emit("update:modelValue", value);
51
54
  emit("change", value);
52
55
  };
56
+ const onHeaderClick = (event) => {
57
+ emit("click", event);
58
+ toggle();
59
+ };
60
+ const onActionClick = (event) => {
61
+ event.stopPropagation();
62
+ emit("click-action", event);
63
+ };
64
+ const onHeaderKeydown = (event) => {
65
+ if (event.key === "Enter" || event.key === " ") {
66
+ event.preventDefault();
67
+ emit("click", event);
68
+ toggle();
69
+ }
70
+ };
53
71
  return () => {
54
72
  var _a, _b, _c;
55
73
  return (0, import_vue.createVNode)("section", {
@@ -57,20 +75,32 @@ var stdin_default = (0, import_vue.defineComponent)({
57
75
  mini: props.size === "mini",
58
76
  expandable: props.expandable
59
77
  })
60
- }, [(0, import_vue.createVNode)("button", {
61
- "type": "button",
78
+ }, [(0, import_vue.createVNode)("div", {
62
79
  "class": bem("header"),
80
+ "role": "button",
81
+ "tabindex": "0",
63
82
  "aria-expanded": props.expandable ? props.modelValue : void 0,
64
- "onClick": (event) => {
65
- emit("click", event);
66
- toggle();
67
- }
83
+ "onClick": onHeaderClick,
84
+ "onKeydown": onHeaderKeydown
68
85
  }, [props.showIcon && props.icon && (0, import_vue.createVNode)(import_icon.Icon, {
69
86
  "name": props.icon,
70
87
  "class": bem("icon")
71
88
  }, null), (0, import_vue.createVNode)("span", {
72
89
  "class": bem("text")
73
- }, [(0, import_vue.createVNode)("strong", null, [((_a = slots.title) == null ? void 0 : _a.call(slots)) || props.title]), props.size !== "mini" && props.showDescription && props.description && (0, import_vue.createVNode)("span", null, [((_b = slots.description) == null ? void 0 : _b.call(slots)) || props.description])]), (props.showArrow || props.expandable) && (0, import_vue.createVNode)(import_icon.Icon, {
90
+ }, [(0, import_vue.createVNode)("span", {
91
+ "class": bem("title-row")
92
+ }, [(0, import_vue.createVNode)("strong", null, [((_a = slots.title) == null ? void 0 : _a.call(slots)) || props.title]), props.showAction && props.actionText && (0, import_vue.createVNode)("span", {
93
+ "class": bem("action")
94
+ }, [(0, import_vue.createVNode)("i", {
95
+ "class": bem("action-divider")
96
+ }, null), (0, import_vue.createVNode)(import_button.Button, {
97
+ "type": "text",
98
+ "size": "small",
99
+ "text": props.actionText,
100
+ "onClick": onActionClick
101
+ }, null)])]), props.size !== "mini" && props.showDescription && props.description && (0, import_vue.createVNode)("span", {
102
+ "class": bem("description")
103
+ }, [((_b = slots.description) == null ? void 0 : _b.call(slots)) || props.description])]), (props.showArrow || props.expandable) && (0, import_vue.createVNode)(import_icon.Icon, {
74
104
  "name": "arrow-up",
75
105
  "class": bem("arrow", {
76
106
  expanded: props.expandable && props.modelValue
@@ -1 +1 @@
1
- :root{--van-title-bar-padding: 12px var(--van-padding-md) 4px;--van-title-bar-gap: 4px;--van-title-bar-title-color: var(--van-gray-8);--van-title-bar-description-color: var(--van-gray-6)}.van-title-bar{color:var(--van-title-bar-title-color)}.van-title-bar__header{display:flex;align-items:flex-start;width:100%;padding:var(--van-title-bar-padding);color:inherit;font:inherit;text-align:left;background:transparent;border:0}.van-title-bar--expandable .van-title-bar__header{cursor:pointer}.van-title-bar--expandable .van-title-bar__header:active{background:var(--van-active-color)}.van-title-bar__icon{flex:none;margin:3px 4px 0 0;font-size:16px}.van-title-bar__text{display:flex;flex:1;flex-direction:column;min-width:0}.van-title-bar__text strong{overflow:hidden;font-size:var(--van-font-size-md);font-weight:var(--van-font-weight-bold);line-height:var(--van-line-height-lg);text-overflow:ellipsis;white-space:nowrap}.van-title-bar__text>span{overflow:hidden;color:var(--van-title-bar-description-color);font-size:var(--van-font-size-sm);font-weight:400;line-height:var(--van-line-height-md);text-overflow:ellipsis;white-space:nowrap}.van-title-bar__arrow{flex:none;margin:4px 0 0 8px;color:var(--van-gray-6);font-size:14px;transition:transform var(--van-animation-duration-fast);transform:rotate(180deg)}.van-title-bar__arrow--expanded{transform:rotate(0)}.van-title-bar--mini .van-title-bar__header{padding-top:12px;padding-bottom:4px}.van-title-bar--mini .van-title-bar__text strong{font-size:var(--van-font-size-sm);line-height:var(--van-line-height-md)}.van-title-bar--mini .van-title-bar__icon{margin-top:3px;font-size:14px}.van-title-bar--mini .van-title-bar__arrow{margin-top:3px}
1
+ :root{--van-title-bar-padding: 12px var(--van-padding-md) 4px;--van-title-bar-gap: 4px;--van-title-bar-title-color: var(--van-gray-8);--van-title-bar-description-color: var(--van-gray-6);--van-title-bar-action-divider-before-gap: 8px;--van-title-bar-action-divider-after-gap: 2px;--van-title-bar-action-divider-color: var(--van-gray-4);--van-title-bar-action-divider-height: 12px}.van-title-bar{color:var(--van-title-bar-title-color)}.van-title-bar__header{display:flex;align-items:flex-start;width:100%;padding:var(--van-title-bar-padding);color:inherit;font:inherit;text-align:left;background:transparent;border:0}.van-title-bar--expandable .van-title-bar__header{cursor:pointer}.van-title-bar--expandable .van-title-bar__header:active{background:var(--van-active-color)}.van-title-bar__icon{flex:none;margin:3px 4px 0 0;font-size:16px}.van-title-bar__text{display:flex;flex:1;flex-direction:column;min-width:0}.van-title-bar__title-row{display:flex;align-items:center;min-width:0}.van-title-bar__text strong{flex:0 1 auto;min-width:0;overflow:hidden;font-size:var(--van-font-size-md);font-weight:var(--van-font-weight-bold);line-height:var(--van-line-height-lg);text-overflow:ellipsis;white-space:nowrap}.van-title-bar__description{overflow:hidden;color:var(--van-title-bar-description-color);font-size:var(--van-font-size-sm);font-weight:400;line-height:var(--van-line-height-md);text-overflow:ellipsis;white-space:nowrap}.van-title-bar__action{display:flex;flex:none;align-items:center;margin-left:var(--van-title-bar-action-divider-before-gap)}.van-title-bar__action-divider{width:1px;height:var(--van-title-bar-action-divider-height);margin-right:var(--van-title-bar-action-divider-after-gap);background:var(--van-title-bar-action-divider-color)}.van-title-bar__action .van-button{flex:none}.van-title-bar__arrow{flex:none;margin:4px 0 0 8px;color:var(--van-gray-6);font-size:14px;transition:transform var(--van-animation-duration-fast);transform:rotate(180deg)}.van-title-bar__arrow--expanded{transform:rotate(0)}.van-title-bar--mini .van-title-bar__header{padding-top:12px;padding-bottom:4px}.van-title-bar--mini .van-title-bar__text strong{font-size:var(--van-font-size-sm);line-height:var(--van-line-height-md)}.van-title-bar--mini .van-title-bar__icon{margin-top:3px;font-size:14px}.van-title-bar--mini .van-title-bar__arrow{margin-top:3px}
@@ -11,6 +11,11 @@ export declare const TitleBar: import("../utils").WithInstall<import("vue").Defi
11
11
  showIcon: BooleanConstructor;
12
12
  showDescription: BooleanConstructor;
13
13
  showArrow: BooleanConstructor;
14
+ actionText: {
15
+ type: import("vue").PropType<string>;
16
+ default: string;
17
+ };
18
+ showAction: BooleanConstructor;
14
19
  size: {
15
20
  type: import("vue").PropType<import("./TitleBar").TitleBarSize>;
16
21
  default: import("./TitleBar").TitleBarSize;
@@ -20,7 +25,7 @@ export declare const TitleBar: import("../utils").WithInstall<import("vue").Defi
20
25
  type: BooleanConstructor;
21
26
  default: true;
22
27
  };
23
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue" | "click-action")[], "click" | "change" | "update:modelValue" | "click-action", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
29
  title: {
25
30
  type: import("vue").PropType<string>;
26
31
  default: string;
@@ -33,6 +38,11 @@ export declare const TitleBar: import("../utils").WithInstall<import("vue").Defi
33
38
  showIcon: BooleanConstructor;
34
39
  showDescription: BooleanConstructor;
35
40
  showArrow: BooleanConstructor;
41
+ actionText: {
42
+ type: import("vue").PropType<string>;
43
+ default: string;
44
+ };
45
+ showAction: BooleanConstructor;
36
46
  size: {
37
47
  type: import("vue").PropType<import("./TitleBar").TitleBarSize>;
38
48
  default: import("./TitleBar").TitleBarSize;
@@ -46,13 +56,16 @@ export declare const TitleBar: import("../utils").WithInstall<import("vue").Defi
46
56
  onChange?: ((...args: any[]) => any) | undefined;
47
57
  onClick?: ((...args: any[]) => any) | undefined;
48
58
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
+ "onClick-action"?: ((...args: any[]) => any) | undefined;
49
60
  }, {
50
61
  title: string;
51
62
  size: import("./TitleBar").TitleBarSize;
52
63
  modelValue: boolean;
53
64
  description: string;
65
+ actionText: string;
54
66
  expandable: boolean;
55
67
  showArrow: boolean;
68
+ showAction: boolean;
56
69
  showDescription: boolean;
57
70
  showIcon: boolean;
58
71
  }>>;
@@ -5,6 +5,10 @@
5
5
  --van-title-bar-gap: @title-bar-gap;
6
6
  --van-title-bar-title-color: @title-bar-title-color;
7
7
  --van-title-bar-description-color: @title-bar-description-color;
8
+ --van-title-bar-action-divider-before-gap: @title-bar-action-divider-before-gap;
9
+ --van-title-bar-action-divider-after-gap: @title-bar-action-divider-after-gap;
10
+ --van-title-bar-action-divider-color: @title-bar-action-divider-color;
11
+ --van-title-bar-action-divider-height: @title-bar-action-divider-height;
8
12
  }
9
13
 
10
14
  .van-title-bar {
@@ -14,8 +18,12 @@
14
18
  &--expandable &__header { cursor: pointer; &:active { background: var(--van-active-color); } }
15
19
  &__icon { flex: none; margin: 3px 4px 0 0; font-size: 16px; }
16
20
  &__text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
17
- &__text strong { overflow: hidden; font-size: var(--van-font-size-md); font-weight: var(--van-font-weight-bold); line-height: var(--van-line-height-lg); text-overflow: ellipsis; white-space: nowrap; }
18
- &__text > span { overflow: hidden; color: var(--van-title-bar-description-color); font-size: var(--van-font-size-sm); font-weight: 400; line-height: var(--van-line-height-md); text-overflow: ellipsis; white-space: nowrap; }
21
+ &__title-row { display: flex; align-items: center; min-width: 0; }
22
+ &__text strong { flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: var(--van-font-size-md); font-weight: var(--van-font-weight-bold); line-height: var(--van-line-height-lg); text-overflow: ellipsis; white-space: nowrap; }
23
+ &__description { overflow: hidden; color: var(--van-title-bar-description-color); font-size: var(--van-font-size-sm); font-weight: 400; line-height: var(--van-line-height-md); text-overflow: ellipsis; white-space: nowrap; }
24
+ &__action { display: flex; flex: none; align-items: center; margin-left: var(--van-title-bar-action-divider-before-gap); }
25
+ &__action-divider { width: 1px; height: var(--van-title-bar-action-divider-height); margin-right: var(--van-title-bar-action-divider-after-gap); background: var(--van-title-bar-action-divider-color); }
26
+ &__action .van-button { flex: none; }
19
27
  &__arrow { flex: none; margin: 4px 0 0 8px; color: var(--van-gray-6); font-size: 14px; transition: transform var(--van-animation-duration-fast); transform: rotate(180deg); }
20
28
  &__arrow--expanded { transform: rotate(0); }
21
29
  &--mini &__header { padding-top: 12px; padding-bottom: 4px; }
@@ -1,4 +1,6 @@
1
1
  require("../../style/base.css");
2
2
  require("../../badge/index.css");
3
3
  require("../../icon/index.css");
4
+ require("../../loading/index.css");
5
+ require("../../button/index.css");
4
6
  require("../index.css");
@@ -1,4 +1,6 @@
1
1
  require("../../style/base.less");
2
2
  require("../../badge/index.less");
3
3
  require("../../icon/index.less");
4
+ require("../../loading/index.less");
5
+ require("../../button/index.less");
4
6
  require("../index.less");
@@ -4,3 +4,7 @@
4
4
  @title-bar-gap: 4px;
5
5
  @title-bar-title-color: var(--van-gray-8);
6
6
  @title-bar-description-color: var(--van-gray-6);
7
+ @title-bar-action-divider-before-gap: 8px;
8
+ @title-bar-action-divider-after-gap: 2px;
9
+ @title-bar-action-divider-color: var(--van-gray-4);
10
+ @title-bar-action-divider-height: 12px;