@uzum-tech/ui 1.4.2 → 1.5.0

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 (221) hide show
  1. package/dist/index.js +65404 -64355
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/index.d.ts +2 -0
  4. package/es/_internal/index.js +1 -0
  5. package/es/_internal/typography/index.d.ts +2 -0
  6. package/es/_internal/typography/index.js +1 -0
  7. package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  8. package/es/_internal/typography/src/styles/text.cssr.js +78 -0
  9. package/es/_internal/typography/src/text.d.ts +246 -0
  10. package/es/_internal/typography/src/text.js +79 -0
  11. package/es/_internal/typography/src/variants.d.ts +13 -0
  12. package/es/_internal/typography/src/variants.js +132 -0
  13. package/es/_internal/typography/styles/dark.d.ts +3 -0
  14. package/es/_internal/typography/styles/dark.js +8 -0
  15. package/es/_internal/typography/styles/index.d.ts +3 -0
  16. package/es/_internal/typography/styles/index.js +2 -0
  17. package/es/_internal/typography/styles/light.d.ts +24 -0
  18. package/es/_internal/typography/styles/light.js +28 -0
  19. package/es/_styles/common/_common.d.ts +2 -0
  20. package/es/_styles/common/_common.js +3 -1
  21. package/es/_styles/common/light.d.ts +2 -0
  22. package/es/action-card/index.d.ts +4 -0
  23. package/es/action-card/index.js +2 -0
  24. package/es/action-card/src/ActionCard.d.ts +313 -0
  25. package/es/action-card/src/ActionCard.js +101 -0
  26. package/es/action-card/src/styles/index.cssr.d.ts +2 -0
  27. package/es/action-card/src/styles/index.cssr.js +113 -0
  28. package/es/action-card/styles/dark.d.ts +3 -0
  29. package/es/action-card/styles/dark.js +11 -0
  30. package/es/action-card/styles/index.d.ts +3 -0
  31. package/es/action-card/styles/index.js +2 -0
  32. package/es/action-card/styles/light.d.ts +29 -0
  33. package/es/action-card/styles/light.js +33 -0
  34. package/es/avatar/src/Avatar.d.ts +13 -3
  35. package/es/avatar/src/Avatar.js +4 -3
  36. package/es/avatar/src/styles/index.cssr.js +3 -2
  37. package/es/avatar/styles/light.d.ts +1 -0
  38. package/es/avatar/styles/light.js +4 -3
  39. package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
  40. package/es/avatar-group/styles/light.d.ts +1 -0
  41. package/es/badge/src/Badge.d.ts +10 -0
  42. package/es/badge/src/Badge.js +3 -2
  43. package/es/badge/src/styles/index.cssr.js +19 -1
  44. package/es/badge/styles/light.d.ts +1 -0
  45. package/es/badge/styles/light.js +4 -3
  46. package/es/components.d.ts +1 -0
  47. package/es/components.js +1 -0
  48. package/es/config-provider/src/internal-interface.d.ts +2 -0
  49. package/es/data-table/src/DataTable.d.ts +14 -0
  50. package/es/data-table/src/DataTable.js +3 -3
  51. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  52. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  53. package/es/data-table/src/TableParts/Body.d.ts +2 -0
  54. package/es/data-table/src/TableParts/Body.js +10 -1
  55. package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  56. package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
  57. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  58. package/es/data-table/src/interface.d.ts +6 -0
  59. package/es/data-table/src/styles/index.cssr.js +1 -1
  60. package/es/data-table/styles/light.d.ts +2 -0
  61. package/es/data-table/styles/light.js +1 -1
  62. package/es/dialog/src/DialogProvider.d.ts +4 -0
  63. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  64. package/es/modal/src/BodyWrapper.d.ts +1 -0
  65. package/es/modal/src/Modal.d.ts +9 -0
  66. package/es/modal/styles/light.d.ts +2 -0
  67. package/es/modal/styles/light.js +2 -1
  68. package/es/pagination/src/Pagination.d.ts +22 -0
  69. package/es/pagination/src/Pagination.js +4 -2
  70. package/es/pagination/src/styles/index.cssr.js +11 -0
  71. package/es/pagination/styles/light.d.ts +4 -0
  72. package/es/pagination/styles/light.js +7 -5
  73. package/es/spin/styles/light.js +3 -3
  74. package/es/steps/src/Step.d.ts +17 -0
  75. package/es/steps/src/Step.js +81 -25
  76. package/es/steps/src/Steps.d.ts +127 -1
  77. package/es/steps/src/Steps.js +4 -1
  78. package/es/steps/src/interface.d.ts +10 -2
  79. package/es/steps/src/interface.js +10 -1
  80. package/es/steps/src/styles/index.cssr.js +115 -3
  81. package/es/steps/styles/light.d.ts +14 -0
  82. package/es/steps/styles/light.js +16 -2
  83. package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
  84. package/es/themes/dark.js +2 -0
  85. package/es/themes/light.js +2 -0
  86. package/es/toggle-button/src/ToggleButton.d.ts +13 -0
  87. package/es/toggle-button/src/ToggleButton.js +5 -2
  88. package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  89. package/es/typography/src/a.d.ts +27 -0
  90. package/es/typography/src/a.js +4 -1
  91. package/es/typography/src/blockquote.d.ts +27 -0
  92. package/es/typography/src/blockquote.js +4 -1
  93. package/es/typography/src/create-header.d.ts +27 -0
  94. package/es/typography/src/create-header.js +4 -1
  95. package/es/typography/src/headers.d.ts +108 -0
  96. package/es/typography/src/hr.d.ts +18 -0
  97. package/es/typography/src/hr.js +4 -0
  98. package/es/typography/src/li.js +4 -1
  99. package/es/typography/src/ol.d.ts +27 -0
  100. package/es/typography/src/ol.js +4 -1
  101. package/es/typography/src/p.d.ts +27 -0
  102. package/es/typography/src/p.js +4 -1
  103. package/es/typography/src/text.d.ts +128 -524
  104. package/es/typography/src/text.js +68 -69
  105. package/es/typography/src/ul.d.ts +27 -0
  106. package/es/typography/src/ul.js +4 -1
  107. package/es/typography/styles/light.d.ts +3 -0
  108. package/es/typography/styles/light.js +3 -0
  109. package/es/version.d.ts +1 -1
  110. package/es/version.js +1 -1
  111. package/lib/_internal/index.d.ts +2 -0
  112. package/lib/_internal/index.js +4 -1
  113. package/lib/_internal/typography/index.d.ts +2 -0
  114. package/lib/_internal/typography/index.js +9 -0
  115. package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  116. package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
  117. package/lib/_internal/typography/src/text.d.ts +246 -0
  118. package/lib/_internal/typography/src/text.js +85 -0
  119. package/lib/_internal/typography/src/variants.d.ts +13 -0
  120. package/lib/_internal/typography/src/variants.js +137 -0
  121. package/lib/_internal/typography/styles/dark.d.ts +3 -0
  122. package/lib/_internal/typography/styles/dark.js +10 -0
  123. package/lib/_internal/typography/styles/index.d.ts +3 -0
  124. package/lib/_internal/typography/styles/index.js +10 -0
  125. package/lib/_internal/typography/styles/light.d.ts +24 -0
  126. package/lib/_internal/typography/styles/light.js +32 -0
  127. package/lib/_styles/common/_common.d.ts +2 -0
  128. package/lib/_styles/common/_common.js +3 -1
  129. package/lib/_styles/common/light.d.ts +2 -0
  130. package/lib/action-card/index.d.ts +4 -0
  131. package/lib/action-card/index.js +11 -0
  132. package/lib/action-card/src/ActionCard.d.ts +313 -0
  133. package/lib/action-card/src/ActionCard.js +107 -0
  134. package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
  135. package/lib/action-card/src/styles/index.cssr.js +118 -0
  136. package/lib/action-card/styles/dark.d.ts +3 -0
  137. package/lib/action-card/styles/dark.js +13 -0
  138. package/lib/action-card/styles/index.d.ts +3 -0
  139. package/lib/action-card/styles/index.js +10 -0
  140. package/lib/action-card/styles/light.d.ts +29 -0
  141. package/lib/action-card/styles/light.js +37 -0
  142. package/lib/avatar/src/Avatar.d.ts +13 -3
  143. package/lib/avatar/src/Avatar.js +4 -3
  144. package/lib/avatar/src/styles/index.cssr.js +3 -2
  145. package/lib/avatar/styles/light.d.ts +1 -0
  146. package/lib/avatar/styles/light.js +4 -3
  147. package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
  148. package/lib/avatar-group/styles/light.d.ts +1 -0
  149. package/lib/badge/src/Badge.d.ts +10 -0
  150. package/lib/badge/src/Badge.js +3 -2
  151. package/lib/badge/src/styles/index.cssr.js +19 -1
  152. package/lib/badge/styles/light.d.ts +1 -0
  153. package/lib/badge/styles/light.js +4 -3
  154. package/lib/components.d.ts +1 -0
  155. package/lib/components.js +1 -0
  156. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  157. package/lib/data-table/src/DataTable.d.ts +14 -0
  158. package/lib/data-table/src/DataTable.js +3 -3
  159. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  160. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  161. package/lib/data-table/src/TableParts/Body.d.ts +2 -0
  162. package/lib/data-table/src/TableParts/Body.js +10 -1
  163. package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  164. package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
  165. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  166. package/lib/data-table/src/interface.d.ts +6 -0
  167. package/lib/data-table/src/styles/index.cssr.js +1 -1
  168. package/lib/data-table/styles/light.d.ts +2 -0
  169. package/lib/data-table/styles/light.js +1 -1
  170. package/lib/dialog/src/DialogProvider.d.ts +4 -0
  171. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  172. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  173. package/lib/modal/src/Modal.d.ts +9 -0
  174. package/lib/modal/styles/light.d.ts +2 -0
  175. package/lib/modal/styles/light.js +2 -1
  176. package/lib/pagination/src/Pagination.d.ts +22 -0
  177. package/lib/pagination/src/Pagination.js +4 -2
  178. package/lib/pagination/src/styles/index.cssr.js +11 -0
  179. package/lib/pagination/styles/light.d.ts +4 -0
  180. package/lib/pagination/styles/light.js +7 -5
  181. package/lib/spin/styles/light.js +3 -3
  182. package/lib/steps/src/Step.d.ts +17 -0
  183. package/lib/steps/src/Step.js +81 -25
  184. package/lib/steps/src/Steps.d.ts +127 -1
  185. package/lib/steps/src/Steps.js +4 -1
  186. package/lib/steps/src/interface.d.ts +10 -2
  187. package/lib/steps/src/interface.js +11 -0
  188. package/lib/steps/src/styles/index.cssr.js +115 -3
  189. package/lib/steps/styles/light.d.ts +14 -0
  190. package/lib/steps/styles/light.js +16 -2
  191. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
  192. package/lib/themes/dark.js +2 -0
  193. package/lib/themes/light.js +2 -0
  194. package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
  195. package/lib/toggle-button/src/ToggleButton.js +5 -2
  196. package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  197. package/lib/typography/src/a.d.ts +27 -0
  198. package/lib/typography/src/a.js +3 -0
  199. package/lib/typography/src/blockquote.d.ts +27 -0
  200. package/lib/typography/src/blockquote.js +3 -0
  201. package/lib/typography/src/create-header.d.ts +27 -0
  202. package/lib/typography/src/create-header.js +3 -0
  203. package/lib/typography/src/headers.d.ts +108 -0
  204. package/lib/typography/src/hr.d.ts +18 -0
  205. package/lib/typography/src/hr.js +4 -0
  206. package/lib/typography/src/li.js +3 -0
  207. package/lib/typography/src/ol.d.ts +27 -0
  208. package/lib/typography/src/ol.js +3 -0
  209. package/lib/typography/src/p.d.ts +27 -0
  210. package/lib/typography/src/p.js +3 -0
  211. package/lib/typography/src/text.d.ts +128 -524
  212. package/lib/typography/src/text.js +66 -70
  213. package/lib/typography/src/ul.d.ts +27 -0
  214. package/lib/typography/src/ul.js +3 -0
  215. package/lib/typography/styles/light.d.ts +3 -0
  216. package/lib/typography/styles/light.js +3 -0
  217. package/lib/version.d.ts +1 -1
  218. package/lib/version.js +1 -1
  219. package/package.json +1 -1
  220. package/volar.d.ts +1 -0
  221. package/web-types.json +126 -96
@@ -7,6 +7,7 @@ exports.stepsInjectionKey = exports.stepsProps = void 0;
7
7
  const vue_1 = require("vue");
8
8
  const _mixins_1 = require("../../_mixins");
9
9
  const _utils_1 = require("../../_utils");
10
+ const interface_1 = require("./interface");
10
11
  const styles_1 = require("../styles");
11
12
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
12
13
  function stepWithIndex(step, i) {
@@ -51,11 +52,13 @@ exports.default = (0, vue_1.defineComponent)({
51
52
  };
52
53
  },
53
54
  render() {
55
+ var _a, _b;
54
56
  const { mergedClsPrefix } = this;
55
57
  return ((0, vue_1.h)("div", { class: [
56
58
  `${mergedClsPrefix}-steps`,
59
+ `${mergedClsPrefix}-steps--${this.variant}-variant`,
57
60
  this.rtlEnabled && `${mergedClsPrefix}-steps--rtl`,
58
- (this.vertical || this.variant === 'history') &&
61
+ ((_b = (_a = interface_1.variantConfigs[this.variant]) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : this.vertical) &&
59
62
  `${mergedClsPrefix}-steps--vertical`
60
63
  ] }, stepsWithIndex((0, _utils_1.flatten)((0, _utils_1.getSlot)(this)))));
61
64
  }
@@ -1,13 +1,21 @@
1
1
  import { VNodeChild } from 'vue';
2
2
  import { MaybeArray } from '../../_utils';
3
3
  export type StepsStatus = 'process' | 'finish' | 'error' | 'wait';
4
- export type StepsVariant = 'default' | 'history';
4
+ export type StepsVariant = 'default' | 'history' | 'outline' | 'dotted';
5
5
  export type OnUpdateValue = MaybeArray<(current: number) => void>;
6
+ export interface VariantConfig {
7
+ rendersSplitor?: boolean;
8
+ vertical?: boolean;
9
+ showDescription?: boolean;
10
+ }
11
+ export declare const defaultVariantConfig: Required<VariantConfig>;
12
+ export declare const variantConfigs: Partial<Record<StepsVariant, VariantConfig>>;
6
13
  export type IconRenderer = {
7
14
  [K in StepsVariant]: Record<string, () => VNodeChild | null>;
8
15
  };
9
16
  export interface VariantBehaviors {
10
17
  variant: StepsVariant;
11
- isVerticalOrHistory: boolean;
18
+ isVertical: boolean;
12
19
  shouldRenderSplitor: boolean;
20
+ showDescription: boolean;
13
21
  }
@@ -1,2 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.variantConfigs = exports.defaultVariantConfig = void 0;
4
+ exports.defaultVariantConfig = {
5
+ rendersSplitor: true,
6
+ vertical: false,
7
+ showDescription: true
8
+ };
9
+ exports.variantConfigs = {
10
+ history: { vertical: true, rendersSplitor: true },
11
+ outline: { rendersSplitor: false, showDescription: false },
12
+ dotted: { rendersSplitor: true, showDescription: true }
13
+ };
@@ -19,16 +19,117 @@ const icon_switch_cssr_1 = require("../../../_styles/transitions/icon-switch.css
19
19
  // --u-step-header-font-size
20
20
  // --u-step-header-font-weight
21
21
  // --u-step-icon-color
22
+ // --u-indicator-border-radius--outline
23
+ // --u-indicator-border-radius-finish--outline
24
+ // --u-indicator-background-finish--outline
25
+ // --u-indicator-icon-color--outline
26
+ // --u-indicator-icon-color-finish--outline
27
+ // --u-indicator-icon-size--outline
28
+ // --u-indicator-index-font-size--outline
29
+ // --u-step-header-font-size--dotted
30
+ // --u-description-text-color--dotted
31
+ // --u-indicator-color--dotted
32
+ // --u-splitor-color--dotted
33
+ // --u-splitor-color-finish--dotted
34
+ // --u-indicator-size--dotted
35
+ // --u-indicator-color-finish--dotted
22
36
  exports.default = (0, cssr_1.cB)('steps', `
23
37
  width: 100%;
24
38
  display: flex;
25
- `, [(0, cssr_1.cB)('step', `
39
+ `, [(0, cssr_1.cM)('outline-variant', `
40
+ gap: 16px;
41
+ width: fit-content;
42
+ `), (0, cssr_1.cB)('step', `
26
43
  position: relative;
27
44
  display: flex;
28
45
  flex: 1;
29
46
  `, [(0, cssr_1.cM)('disabled', 'cursor: not-allowed'), (0, cssr_1.cM)('clickable', `
30
47
  cursor: pointer;
31
- `), (0, cssr_1.c)('&:last-child', [(0, cssr_1.cB)('step-splitor', 'display: none;')])]), (0, cssr_1.cB)('step-splitor', `
48
+ `), (0, cssr_1.c)('&:last-child', [(0, cssr_1.cB)('step-splitor', 'display: none;')]), (0, cssr_1.cM)('outline-variant', [(0, cssr_1.c)('&', `
49
+ box-shadow: 0 0 0 2px var(--u-splitor-color);
50
+ display: flex;
51
+ height: var(--u-step-height);
52
+ padding: 0 12px 0 8px;
53
+ align-items: center;
54
+ gap: 12px;
55
+ border-radius: var(--u-indicator-border-radius--outline);
56
+ `), (0, cssr_1.cB)('step-content-header', `
57
+ margin: 0px;
58
+ `), (0, cssr_1.c)('>', [(0, cssr_1.cB)('step-indicator', `
59
+ box-shadow: none;
60
+ border: none;
61
+ `, [(0, cssr_1.cB)('step-indicator-slot', `
62
+ `, [(0, cssr_1.cE)('index', `
63
+ font-size: var(--u-indicator-index-font-size--outline);
64
+ position: absolute;
65
+ top: 50%;
66
+ left: 50%;
67
+ transform: translate(-50%, -50%);
68
+ `), (0, cssr_1.cB)('base-icon', `
69
+ position: absolute;
70
+ top: 50%;
71
+ left: 50%;
72
+ transform: translate(-50%, -50%);
73
+ `)])])]), (0, cssr_1.cM)('process-status', [(0, cssr_1.cB)('step-indicator', `
74
+ background-color: var(--u-indicator-icon-color--outline);
75
+ `, [(0, cssr_1.cB)('step-indicator-slot', [(0, cssr_1.cE)('index', `
76
+ color: var(--u-indicator-text-color--outline);
77
+ `), (0, cssr_1.cB)('base-icon', `
78
+ color: var(--u-indicator-icon-color--outline);
79
+ `)])])]), (0, cssr_1.cM)('finish-status', [`
80
+ box-shadow: 0 0 0 2px var(--u-indicator-border-color-finish--outline);
81
+ `, (0, cssr_1.c)('>', [(0, cssr_1.cB)('step-indicator', `
82
+ border-radius: var(--u-indicator-border-radius-finish--outline);
83
+ background-color: var(--u-indicator-background-finish--outline);
84
+ `, [(0, cssr_1.cB)('step-indicator-slot', `
85
+ height: var(--u-indicator-icon-size--outline);
86
+ width: var(--u-indicator-icon-size--outline);
87
+ font-size: var(--u-indicator-icon-size--outline);
88
+ line-height: var(--u-indicator-icon-size--outline);
89
+ `, [(0, cssr_1.cB)('base-icon', `
90
+ color: var(--u-indicator-icon-color-finish--outline);
91
+ `)])])])])]), (0, cssr_1.cM)('dotted-variant', [(0, cssr_1.c)('&', `
92
+ align-items: baseline;
93
+ `, [(0, cssr_1.cM)('process-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
94
+ background-color: var(--u-indicator-color);
95
+ `), (0, cssr_1.cB)('step-splitor', `
96
+ background-color: var(--u-indicator-color);
97
+ `)])]), (0, cssr_1.cM)('finish-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
98
+ background-color: var(--u-indicator-color-finish--dotted);
99
+ `), (0, cssr_1.cB)('step-splitor', `
100
+ background-color: var(--u-splitor-color-finish--dotted);
101
+ `)])]), (0, cssr_1.cM)('error-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
102
+ background-color: var(--u-indicator-color);
103
+ `), (0, cssr_1.cB)('step-splitor', `
104
+ background-color: var(--u-splitor-color);
105
+ `)])])]), (0, cssr_1.cB)('step', `
106
+ align-items: baseline;
107
+ `), (0, cssr_1.cB)('step-indicator', `
108
+ background-color: transparent;
109
+ box-shadow: none;
110
+ width: var(--u-indicator-size--dotted);
111
+ height: var(--u-indicator-size--dotted);
112
+ `, [(0, cssr_1.cB)('step-indicator-slot', `
113
+ background-color: var(--u-indicator-color--dotted);
114
+ border-radius: 50%;
115
+ height: 10px;
116
+ width: 10px;
117
+ `)]), (0, cssr_1.cB)('step-content', `
118
+ display: flex;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ margin-left: 6px;
122
+ `, [(0, cssr_1.cB)('step-content-header', `
123
+ margin: 0;
124
+ font-size: var(--u-step-header-font-size--dotted);
125
+ font-weight: 500;
126
+ `), (0, cssr_1.cE)('description', `
127
+ margin-left: 0;
128
+ color: var(--u-description-text-color--dotted);
129
+ font-size: var(--u-step-header-font-size--dotted);
130
+ font-weight: 500;
131
+ line-height: 24px;
132
+ `)])])]), (0, cssr_1.cB)('step-splitor', `
32
133
  background-color: var(--u-splitor-color);
33
134
  margin-top: calc(var(--u-step-header-font-size) / 2);
34
135
  height: 6px;
@@ -142,4 +243,15 @@ exports.default = (0, cssr_1.cB)('steps', `
142
243
  margin: 0 !important;
143
244
  left: calc(var(--u-indicator-size) / 2);
144
245
  height: calc(100% - var(--u-indicator-size));
145
- `)])]), (0, cssr_1.cB)('step-content', [(0, cssr_1.cE)('description', 'margin-top: 8px;')])])])])])]);
246
+ `)])]), (0, cssr_1.cB)('step-content', [(0, cssr_1.cE)('description', 'margin-top: 8px;')])])])]), (0, cssr_1.cM)('outline-variant', [(0, cssr_1.c)('>', [(0, cssr_1.cB)('step', `
247
+ margin: 0;
248
+ padding: 0 12px 0 8px;
249
+ height: var(--u-step-height);
250
+ flex: auto;
251
+ `)])]), (0, cssr_1.cM)('dotted-variant', [(0, cssr_1.c)('>', [(0, cssr_1.cB)('step', [(0, cssr_1.cB)('step-splitor', `
252
+ background-color: var(--u-splitor-color--dotted);
253
+ bottom: -8px;
254
+ width: 2px;
255
+ left: calc(var(--u-indicator-size--dotted) / 2 - 1px);
256
+ height: calc(100% - var(--u-indicator-size--dotted)/2 - 10px);
257
+ `)])])])])]);
@@ -3,16 +3,21 @@ import type { Theme } from '../../_mixins';
3
3
  export declare const self: (vars: ThemeCommonVars) => {
4
4
  stepHeaderFontSizeSmall: string;
5
5
  stepHeaderFontSizeMedium: string;
6
+ stepHeaderFontSizeLarge: string;
6
7
  indicatorIndexFontSizeSmall: string;
7
8
  indicatorIndexFontSizeMedium: string;
8
9
  indicatorSizeSmall: string;
9
10
  indicatorSizeMedium: string;
11
+ indicatorSizeDotted: string;
10
12
  indicatorIconSizeSmall: string;
11
13
  indicatorIconSizeMedium: string;
14
+ indicatorIconSizeOutline: string;
12
15
  indicatorIconColorProcess: string;
13
16
  indicatorIconColorWait: string;
14
17
  indicatorIconColorFinish: string;
15
18
  indicatorIconColorError: string;
19
+ indicatorIconColorOutline: string;
20
+ indicatorIconColorFinishDotted: string;
16
21
  stepHeaderFontWeight: string;
17
22
  indicatorTextColorProcess: string;
18
23
  indicatorTextColorWait: string;
@@ -22,22 +27,31 @@ export declare const self: (vars: ThemeCommonVars) => {
22
27
  indicatorBorderColorWait: string;
23
28
  indicatorBorderColorFinish: string;
24
29
  indicatorBorderColorError: string;
30
+ indicatorBorderColorFinishOutline: string;
31
+ indicatorBorderRadiusOutline: string;
32
+ indicatorBorderRadiusFinishOutline: string;
25
33
  indicatorColorProcess: string;
26
34
  indicatorColorWait: string;
27
35
  indicatorColorFinish: string;
28
36
  indicatorColorError: string;
37
+ indicatorColorDotted: string;
38
+ indicatorBackgroundFinishOutline: string;
29
39
  splitorColorProcess: string;
30
40
  splitorColorWait: string;
31
41
  splitorColorFinish: string;
32
42
  splitorColorError: string;
43
+ splitorColorFinishDotted: string;
44
+ splitorColorDotted: string;
33
45
  headerTextColorProcess: string;
34
46
  headerTextColorWait: string;
35
47
  headerTextColorFinish: string;
36
48
  headerTextColorError: string;
37
49
  descriptionTextColorProcess: string;
38
50
  descriptionTextColorWait: string;
51
+ descriptionTextColorDotted: string;
39
52
  descriptionTextColorFinish: string;
40
53
  descriptionTextColorError: string;
54
+ stepHeight: string;
41
55
  };
42
56
  export type StepsThemeVars = ReturnType<typeof self>;
43
57
  declare const stepsLight: Theme<'Steps', StepsThemeVars>;
@@ -3,20 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.self = void 0;
4
4
  const common_1 = require("../../_styles/common");
5
5
  const self = (vars) => {
6
- const { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen } = vars;
6
+ const { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen, brandPrimary50, elementsQuaternary, borderRadius, heightSmall, borderRadiusSmall } = vars;
7
7
  return {
8
8
  stepHeaderFontSizeSmall: fontBodySmall,
9
9
  stepHeaderFontSizeMedium: fontBodyMedium,
10
+ stepHeaderFontSizeLarge: fontBodyLarge,
10
11
  indicatorIndexFontSizeSmall: fontBodyMedium,
11
12
  indicatorIndexFontSizeMedium: fontBodyLarge,
12
13
  indicatorSizeSmall: '22px',
13
14
  indicatorSizeMedium: '28px',
15
+ indicatorSizeDotted: '24px',
14
16
  indicatorIconSizeSmall: '14px',
15
17
  indicatorIconSizeMedium: '18px',
18
+ indicatorIconSizeOutline: '12px',
16
19
  indicatorIconColorProcess: textPrimary,
17
20
  indicatorIconColorWait: textSecondary,
18
21
  indicatorIconColorFinish: staticGreen,
19
22
  indicatorIconColorError: staticRed,
23
+ indicatorIconColorOutline: elementsTertiary,
24
+ indicatorIconColorFinishDotted: brandPrimary500,
20
25
  stepHeaderFontWeight: fontWeightStrong,
21
26
  indicatorTextColorProcess: staticWhite,
22
27
  indicatorTextColorWait: textSecondary,
@@ -26,22 +31,31 @@ const self = (vars) => {
26
31
  indicatorBorderColorWait: elementsTertiary,
27
32
  indicatorBorderColorFinish: brandPrimary300,
28
33
  indicatorBorderColorError: staticRed,
34
+ indicatorBorderColorFinishOutline: elementsQuaternary,
35
+ indicatorBorderRadiusOutline: borderRadius,
36
+ indicatorBorderRadiusFinishOutline: borderRadiusSmall,
29
37
  indicatorColorProcess: brandPrimary500,
30
38
  indicatorColorWait: elementsTertiary,
31
39
  indicatorColorFinish: brandPrimary300,
32
40
  indicatorColorError: staticRed,
41
+ indicatorColorDotted: brandPrimary50,
42
+ indicatorBackgroundFinishOutline: brandPrimary50,
33
43
  splitorColorProcess: brandPrimary500,
34
44
  splitorColorWait: elementsTertiary,
35
45
  splitorColorFinish: brandPrimary300,
36
46
  splitorColorError: staticRed,
47
+ splitorColorFinishDotted: brandPrimary500,
48
+ splitorColorDotted: brandPrimary50,
37
49
  headerTextColorProcess: textPrimary,
38
50
  headerTextColorWait: textSecondary,
39
51
  headerTextColorFinish: textPrimary,
40
52
  headerTextColorError: staticRed,
41
53
  descriptionTextColorProcess: textPrimary,
42
54
  descriptionTextColorWait: textSecondary,
55
+ descriptionTextColorDotted: textSecondary,
43
56
  descriptionTextColorFinish: textPrimary,
44
- descriptionTextColorError: staticRed
57
+ descriptionTextColorError: staticRed,
58
+ stepHeight: heightSmall
45
59
  };
46
60
  };
47
61
  exports.self = self;
@@ -72,6 +72,7 @@ declare const _default: import("vue").DefineComponent<{}, {
72
72
  shadowDepth: string;
73
73
  fontFamily: string;
74
74
  fontFamilyMono: string;
75
+ fontFamilyWixMadeforDisplay: string;
75
76
  cubicBezierEaseInOut: string;
76
77
  cubicBezierEaseOut: string;
77
78
  cubicBezierEaseIn: string;
@@ -120,6 +121,7 @@ declare const _default: import("vue").DefineComponent<{}, {
120
121
  closeLarge: string;
121
122
  closeHuge: string;
122
123
  closeBorderRadius: string;
124
+ codeBorder: string;
123
125
  name: "common";
124
126
  }>;
125
127
  theme: import("vue").ComputedRef<GlobalThemeOverrides>;
@@ -88,10 +88,12 @@ const styles_83 = require("../watermark/styles");
88
88
  const styles_84 = require("../toggle-button/styles");
89
89
  const styles_85 = require("../_internal/account-option/styles");
90
90
  const styles_86 = require("../flex/styles");
91
+ const styles_87 = require("../action-card/styles");
91
92
  exports.darkTheme = {
92
93
  name: 'dark',
93
94
  common: common_1.commonDark,
94
95
  AccountOption: styles_85.accountOptionDark,
96
+ ActionCard: styles_87.actionCardDark,
95
97
  Alert: styles_1.alertDark,
96
98
  Anchor: styles_2.anchorDark,
97
99
  AutoComplete: styles_3.autoCompleteDark,
@@ -90,10 +90,12 @@ const styles_83 = require("../watermark/styles");
90
90
  const styles_84 = require("../toggle-button/styles");
91
91
  const styles_85 = require("../_internal/account-option/styles");
92
92
  const styles_86 = require("../flex/styles");
93
+ const styles_87 = require("../action-card/styles");
93
94
  exports.lightTheme = {
94
95
  name: 'light',
95
96
  common: common_1.commonLight,
96
97
  AccountOption: styles_85.accountOptionLight,
98
+ ActionCard: styles_87.actionCardLight,
97
99
  Alert: styles_1.alertLight,
98
100
  Anchor: styles_2.anchorLight,
99
101
  AutoComplete: styles_3.autoCompleteLight,
@@ -17,6 +17,10 @@ export declare const toggleButtonProps: {
17
17
  type: PropType<"default" | "primary">;
18
18
  default: string;
19
19
  };
20
+ iconPosition: {
21
+ type: PropType<"top" | "bottom">;
22
+ default: string;
23
+ };
20
24
  size: PropType<"small" | "medium" | "large">;
21
25
  checked: {
22
26
  type: PropType<boolean | string | number | undefined>;
@@ -183,6 +187,10 @@ declare const _default: import("vue").DefineComponent<{
183
187
  type: PropType<"default" | "primary">;
184
188
  default: string;
185
189
  };
190
+ iconPosition: {
191
+ type: PropType<"top" | "bottom">;
192
+ default: string;
193
+ };
186
194
  size: PropType<"small" | "medium" | "large">;
187
195
  checked: {
188
196
  type: PropType<boolean | string | number | undefined>;
@@ -391,6 +399,10 @@ declare const _default: import("vue").DefineComponent<{
391
399
  type: PropType<"default" | "primary">;
392
400
  default: string;
393
401
  };
402
+ iconPosition: {
403
+ type: PropType<"top" | "bottom">;
404
+ default: string;
405
+ };
394
406
  size: PropType<"small" | "medium" | "large">;
395
407
  checked: {
396
408
  type: PropType<boolean | string | number | undefined>;
@@ -547,5 +559,6 @@ declare const _default: import("vue").DefineComponent<{
547
559
  checkedValue: string | number | boolean;
548
560
  uncheckedValue: string | number | boolean;
549
561
  viewType: "default" | "primary";
562
+ iconPosition: "top" | "bottom";
550
563
  }, {}>;
551
564
  export default _default;
@@ -20,6 +20,9 @@ exports.toggleButtonProps = Object.assign(Object.assign(Object.assign({}, _mixin
20
20
  }, viewType: {
21
21
  type: String,
22
22
  default: 'default'
23
+ }, iconPosition: {
24
+ type: String,
25
+ default: 'top'
23
26
  } });
24
27
  exports.default = (0, vue_1.defineComponent)({
25
28
  name: 'ToggleButton',
@@ -103,9 +106,9 @@ exports.default = (0, vue_1.defineComponent)({
103
106
  },
104
107
  render() {
105
108
  var _a, _b, _c;
106
- const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled } = this;
109
+ const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled, iconPosition } = this;
107
110
  onRender === null || onRender === void 0 ? void 0 : onRender();
108
- const iconNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__icon` }, (0, _utils_1.resolveSlot)($slots.icon, () => [
111
+ const iconNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__icon ${mergedClsPrefix}-toggle-button__icon--position-${iconPosition}` }, (0, _utils_1.resolveSlot)($slots.icon, () => [
109
112
  (0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => (0, vue_1.h)(Checkmark_1.default, null) })
110
113
  ])));
111
114
  const titleNode = (title || $slots.header) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__title` }, ((_a = $slots.header) === null || _a === void 0 ? void 0 : _a.call($slots)) || title));
@@ -54,6 +54,9 @@ exports.default = (0, cssr_1.cB)('toggle-button', `
54
54
  font-size: var(--u-icon-size);
55
55
  `), (0, cssr_1.cB)('icon', `
56
56
  font-size: var(--u-icon-size);
57
+ `), (0, cssr_1.cM)('position-bottom', `
58
+ bottom: 0;
59
+ top: auto;
57
60
  `)]), (0, cssr_1.cE)('input', `
58
61
  opacity: 0;
59
62
  pointer-events: none;
@@ -26,6 +26,7 @@ export declare const aProps: {
26
26
  headerBarWidth5: string;
27
27
  headerBarWidth6: string;
28
28
  pMargin: string;
29
+ margin: string;
29
30
  liMargin: string;
30
31
  olPadding: string;
31
32
  ulPadding: string;
@@ -47,6 +48,8 @@ export declare const aProps: {
47
48
  pTextColor3Depth: string;
48
49
  pLineHeight: string;
49
50
  pFontSize: string;
51
+ fontSize: string;
52
+ lineHeight: string;
50
53
  headerBarColor: string;
51
54
  headerBarColorPrimary: string;
52
55
  headerBarColorInfo: string;
@@ -92,6 +95,7 @@ export declare const aProps: {
92
95
  headerBarWidth5: string;
93
96
  headerBarWidth6: string;
94
97
  pMargin: string;
98
+ margin: string;
95
99
  liMargin: string;
96
100
  olPadding: string;
97
101
  ulPadding: string;
@@ -113,6 +117,8 @@ export declare const aProps: {
113
117
  pTextColor3Depth: string;
114
118
  pLineHeight: string;
115
119
  pFontSize: string;
120
+ fontSize: string;
121
+ lineHeight: string;
116
122
  headerBarColor: string;
117
123
  headerBarColorPrimary: string;
118
124
  headerBarColorInfo: string;
@@ -158,6 +164,7 @@ export declare const aProps: {
158
164
  headerBarWidth5: string;
159
165
  headerBarWidth6: string;
160
166
  pMargin: string;
167
+ margin: string;
161
168
  liMargin: string;
162
169
  olPadding: string;
163
170
  ulPadding: string;
@@ -179,6 +186,8 @@ export declare const aProps: {
179
186
  pTextColor3Depth: string;
180
187
  pLineHeight: string;
181
188
  pFontSize: string;
189
+ fontSize: string;
190
+ lineHeight: string;
182
191
  headerBarColor: string;
183
192
  headerBarColorPrimary: string;
184
193
  headerBarColorInfo: string;
@@ -227,6 +236,7 @@ declare const _default: import("vue").DefineComponent<{
227
236
  headerBarWidth5: string;
228
237
  headerBarWidth6: string;
229
238
  pMargin: string;
239
+ margin: string;
230
240
  liMargin: string;
231
241
  olPadding: string;
232
242
  ulPadding: string;
@@ -248,6 +258,8 @@ declare const _default: import("vue").DefineComponent<{
248
258
  pTextColor3Depth: string;
249
259
  pLineHeight: string;
250
260
  pFontSize: string;
261
+ fontSize: string;
262
+ lineHeight: string;
251
263
  headerBarColor: string;
252
264
  headerBarColorPrimary: string;
253
265
  headerBarColorInfo: string;
@@ -293,6 +305,7 @@ declare const _default: import("vue").DefineComponent<{
293
305
  headerBarWidth5: string;
294
306
  headerBarWidth6: string;
295
307
  pMargin: string;
308
+ margin: string;
296
309
  liMargin: string;
297
310
  olPadding: string;
298
311
  ulPadding: string;
@@ -314,6 +327,8 @@ declare const _default: import("vue").DefineComponent<{
314
327
  pTextColor3Depth: string;
315
328
  pLineHeight: string;
316
329
  pFontSize: string;
330
+ fontSize: string;
331
+ lineHeight: string;
317
332
  headerBarColor: string;
318
333
  headerBarColorPrimary: string;
319
334
  headerBarColorInfo: string;
@@ -359,6 +374,7 @@ declare const _default: import("vue").DefineComponent<{
359
374
  headerBarWidth5: string;
360
375
  headerBarWidth6: string;
361
376
  pMargin: string;
377
+ margin: string;
362
378
  liMargin: string;
363
379
  olPadding: string;
364
380
  ulPadding: string;
@@ -380,6 +396,8 @@ declare const _default: import("vue").DefineComponent<{
380
396
  pTextColor3Depth: string;
381
397
  pLineHeight: string;
382
398
  pFontSize: string;
399
+ fontSize: string;
400
+ lineHeight: string;
383
401
  headerBarColor: string;
384
402
  headerBarColorPrimary: string;
385
403
  headerBarColorInfo: string;
@@ -434,6 +452,7 @@ declare const _default: import("vue").DefineComponent<{
434
452
  headerBarWidth5: string;
435
453
  headerBarWidth6: string;
436
454
  pMargin: string;
455
+ margin: string;
437
456
  liMargin: string;
438
457
  olPadding: string;
439
458
  ulPadding: string;
@@ -455,6 +474,8 @@ declare const _default: import("vue").DefineComponent<{
455
474
  pTextColor3Depth: string;
456
475
  pLineHeight: string;
457
476
  pFontSize: string;
477
+ fontSize: string;
478
+ lineHeight: string;
458
479
  headerBarColor: string;
459
480
  headerBarColorPrimary: string;
460
481
  headerBarColorInfo: string;
@@ -500,6 +521,7 @@ declare const _default: import("vue").DefineComponent<{
500
521
  headerBarWidth5: string;
501
522
  headerBarWidth6: string;
502
523
  pMargin: string;
524
+ margin: string;
503
525
  liMargin: string;
504
526
  olPadding: string;
505
527
  ulPadding: string;
@@ -521,6 +543,8 @@ declare const _default: import("vue").DefineComponent<{
521
543
  pTextColor3Depth: string;
522
544
  pLineHeight: string;
523
545
  pFontSize: string;
546
+ fontSize: string;
547
+ lineHeight: string;
524
548
  headerBarColor: string;
525
549
  headerBarColorPrimary: string;
526
550
  headerBarColorInfo: string;
@@ -566,6 +590,7 @@ declare const _default: import("vue").DefineComponent<{
566
590
  headerBarWidth5: string;
567
591
  headerBarWidth6: string;
568
592
  pMargin: string;
593
+ margin: string;
569
594
  liMargin: string;
570
595
  olPadding: string;
571
596
  ulPadding: string;
@@ -587,6 +612,8 @@ declare const _default: import("vue").DefineComponent<{
587
612
  pTextColor3Depth: string;
588
613
  pLineHeight: string;
589
614
  pFontSize: string;
615
+ fontSize: string;
616
+ lineHeight: string;
590
617
  headerBarColor: string;
591
618
  headerBarColorPrimary: string;
592
619
  headerBarColorInfo: string;
@@ -13,6 +13,9 @@ exports.default = (0, vue_1.defineComponent)({
13
13
  name: 'A',
14
14
  props: exports.aProps,
15
15
  setup(props) {
16
+ if (process.env.NODE_ENV !== 'production') {
17
+ (0, vue_1.warn)('a', 'A component is deprecated, you should use `UText` instead.');
18
+ }
16
19
  const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
17
20
  const themeRef = (0, _mixins_1.useTheme)('Typography', '-a', a_cssr_1.default, styles_1.typographyLight, props, mergedClsPrefixRef);
18
21
  const cssVarsRef = (0, vue_1.computed)(() => {