@uzum-tech/ui 1.4.1 → 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 (233) hide show
  1. package/dist/index.js +65374 -64281
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/icons/SiderUnionBorder.js +1 -1
  4. package/es/_internal/index.d.ts +2 -0
  5. package/es/_internal/index.js +1 -0
  6. package/es/_internal/typography/index.d.ts +2 -0
  7. package/es/_internal/typography/index.js +1 -0
  8. package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  9. package/es/_internal/typography/src/styles/text.cssr.js +78 -0
  10. package/es/_internal/typography/src/text.d.ts +246 -0
  11. package/es/_internal/typography/src/text.js +79 -0
  12. package/es/_internal/typography/src/variants.d.ts +13 -0
  13. package/es/_internal/typography/src/variants.js +132 -0
  14. package/es/_internal/typography/styles/dark.d.ts +3 -0
  15. package/es/_internal/typography/styles/dark.js +8 -0
  16. package/es/_internal/typography/styles/index.d.ts +3 -0
  17. package/es/_internal/typography/styles/index.js +2 -0
  18. package/es/_internal/typography/styles/light.d.ts +24 -0
  19. package/es/_internal/typography/styles/light.js +28 -0
  20. package/es/_styles/common/_common.d.ts +2 -0
  21. package/es/_styles/common/_common.js +3 -1
  22. package/es/_styles/common/light.d.ts +2 -0
  23. package/es/action-card/index.d.ts +4 -0
  24. package/es/action-card/index.js +2 -0
  25. package/es/action-card/src/ActionCard.d.ts +313 -0
  26. package/es/action-card/src/ActionCard.js +101 -0
  27. package/es/action-card/src/styles/index.cssr.d.ts +2 -0
  28. package/es/action-card/src/styles/index.cssr.js +113 -0
  29. package/es/action-card/styles/dark.d.ts +3 -0
  30. package/es/action-card/styles/dark.js +11 -0
  31. package/es/action-card/styles/index.d.ts +3 -0
  32. package/es/action-card/styles/index.js +2 -0
  33. package/es/action-card/styles/light.d.ts +29 -0
  34. package/es/action-card/styles/light.js +33 -0
  35. package/es/avatar/src/Avatar.d.ts +13 -3
  36. package/es/avatar/src/Avatar.js +4 -3
  37. package/es/avatar/src/styles/index.cssr.js +3 -2
  38. package/es/avatar/styles/light.d.ts +1 -0
  39. package/es/avatar/styles/light.js +4 -3
  40. package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
  41. package/es/avatar-group/styles/light.d.ts +1 -0
  42. package/es/badge/src/Badge.d.ts +10 -0
  43. package/es/badge/src/Badge.js +3 -2
  44. package/es/badge/src/styles/index.cssr.js +19 -1
  45. package/es/badge/styles/light.d.ts +1 -0
  46. package/es/badge/styles/light.js +4 -3
  47. package/es/components.d.ts +1 -0
  48. package/es/components.js +1 -0
  49. package/es/config-provider/src/internal-interface.d.ts +2 -0
  50. package/es/data-table/src/DataTable.d.ts +14 -0
  51. package/es/data-table/src/DataTable.js +3 -3
  52. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  53. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  54. package/es/data-table/src/TableParts/Body.d.ts +2 -0
  55. package/es/data-table/src/TableParts/Body.js +10 -1
  56. package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  57. package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
  58. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  59. package/es/data-table/src/interface.d.ts +6 -0
  60. package/es/data-table/src/styles/index.cssr.js +1 -1
  61. package/es/data-table/styles/light.d.ts +2 -0
  62. package/es/data-table/styles/light.js +1 -1
  63. package/es/dialog/src/DialogProvider.d.ts +4 -0
  64. package/es/icon-wrapper/src/IconWrapper.d.ts +40 -9
  65. package/es/icon-wrapper/src/IconWrapper.js +23 -5
  66. package/es/icon-wrapper/src/interface.d.ts +1 -0
  67. package/es/icon-wrapper/src/interface.js +1 -0
  68. package/es/icon-wrapper/src/styles/index.cssr.js +17 -5
  69. package/es/layout/src/styles/layout-sider.cssr.js +1 -1
  70. package/es/modal/src/BodyWrapper.d.ts +1 -0
  71. package/es/modal/src/Modal.d.ts +9 -0
  72. package/es/modal/styles/light.d.ts +2 -0
  73. package/es/modal/styles/light.js +2 -1
  74. package/es/pagination/src/Pagination.d.ts +22 -0
  75. package/es/pagination/src/Pagination.js +4 -2
  76. package/es/pagination/src/styles/index.cssr.js +11 -0
  77. package/es/pagination/styles/light.d.ts +4 -0
  78. package/es/pagination/styles/light.js +7 -5
  79. package/es/spin/styles/light.js +3 -3
  80. package/es/steps/src/Step.d.ts +17 -0
  81. package/es/steps/src/Step.js +81 -25
  82. package/es/steps/src/Steps.d.ts +127 -1
  83. package/es/steps/src/Steps.js +4 -1
  84. package/es/steps/src/interface.d.ts +10 -2
  85. package/es/steps/src/interface.js +10 -1
  86. package/es/steps/src/styles/index.cssr.js +115 -3
  87. package/es/steps/styles/light.d.ts +14 -0
  88. package/es/steps/styles/light.js +16 -2
  89. package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
  90. package/es/themes/dark.js +2 -0
  91. package/es/themes/light.js +2 -0
  92. package/es/toggle-button/src/ToggleButton.d.ts +13 -0
  93. package/es/toggle-button/src/ToggleButton.js +5 -2
  94. package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  95. package/es/typography/src/a.d.ts +27 -0
  96. package/es/typography/src/a.js +4 -1
  97. package/es/typography/src/blockquote.d.ts +27 -0
  98. package/es/typography/src/blockquote.js +4 -1
  99. package/es/typography/src/create-header.d.ts +27 -0
  100. package/es/typography/src/create-header.js +4 -1
  101. package/es/typography/src/headers.d.ts +108 -0
  102. package/es/typography/src/hr.d.ts +18 -0
  103. package/es/typography/src/hr.js +4 -0
  104. package/es/typography/src/li.js +4 -1
  105. package/es/typography/src/ol.d.ts +27 -0
  106. package/es/typography/src/ol.js +4 -1
  107. package/es/typography/src/p.d.ts +27 -0
  108. package/es/typography/src/p.js +4 -1
  109. package/es/typography/src/text.d.ts +128 -524
  110. package/es/typography/src/text.js +68 -69
  111. package/es/typography/src/ul.d.ts +27 -0
  112. package/es/typography/src/ul.js +4 -1
  113. package/es/typography/styles/light.d.ts +3 -0
  114. package/es/typography/styles/light.js +3 -0
  115. package/es/version.d.ts +1 -1
  116. package/es/version.js +1 -1
  117. package/lib/_internal/icons/SiderUnionBorder.js +1 -1
  118. package/lib/_internal/index.d.ts +2 -0
  119. package/lib/_internal/index.js +4 -1
  120. package/lib/_internal/typography/index.d.ts +2 -0
  121. package/lib/_internal/typography/index.js +9 -0
  122. package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  123. package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
  124. package/lib/_internal/typography/src/text.d.ts +246 -0
  125. package/lib/_internal/typography/src/text.js +85 -0
  126. package/lib/_internal/typography/src/variants.d.ts +13 -0
  127. package/lib/_internal/typography/src/variants.js +137 -0
  128. package/lib/_internal/typography/styles/dark.d.ts +3 -0
  129. package/lib/_internal/typography/styles/dark.js +10 -0
  130. package/lib/_internal/typography/styles/index.d.ts +3 -0
  131. package/lib/_internal/typography/styles/index.js +10 -0
  132. package/lib/_internal/typography/styles/light.d.ts +24 -0
  133. package/lib/_internal/typography/styles/light.js +32 -0
  134. package/lib/_styles/common/_common.d.ts +2 -0
  135. package/lib/_styles/common/_common.js +3 -1
  136. package/lib/_styles/common/light.d.ts +2 -0
  137. package/lib/action-card/index.d.ts +4 -0
  138. package/lib/action-card/index.js +11 -0
  139. package/lib/action-card/src/ActionCard.d.ts +313 -0
  140. package/lib/action-card/src/ActionCard.js +107 -0
  141. package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
  142. package/lib/action-card/src/styles/index.cssr.js +118 -0
  143. package/lib/action-card/styles/dark.d.ts +3 -0
  144. package/lib/action-card/styles/dark.js +13 -0
  145. package/lib/action-card/styles/index.d.ts +3 -0
  146. package/lib/action-card/styles/index.js +10 -0
  147. package/lib/action-card/styles/light.d.ts +29 -0
  148. package/lib/action-card/styles/light.js +37 -0
  149. package/lib/avatar/src/Avatar.d.ts +13 -3
  150. package/lib/avatar/src/Avatar.js +4 -3
  151. package/lib/avatar/src/styles/index.cssr.js +3 -2
  152. package/lib/avatar/styles/light.d.ts +1 -0
  153. package/lib/avatar/styles/light.js +4 -3
  154. package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
  155. package/lib/avatar-group/styles/light.d.ts +1 -0
  156. package/lib/badge/src/Badge.d.ts +10 -0
  157. package/lib/badge/src/Badge.js +3 -2
  158. package/lib/badge/src/styles/index.cssr.js +19 -1
  159. package/lib/badge/styles/light.d.ts +1 -0
  160. package/lib/badge/styles/light.js +4 -3
  161. package/lib/components.d.ts +1 -0
  162. package/lib/components.js +1 -0
  163. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  164. package/lib/data-table/src/DataTable.d.ts +14 -0
  165. package/lib/data-table/src/DataTable.js +3 -3
  166. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  167. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  168. package/lib/data-table/src/TableParts/Body.d.ts +2 -0
  169. package/lib/data-table/src/TableParts/Body.js +10 -1
  170. package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  171. package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
  172. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  173. package/lib/data-table/src/interface.d.ts +6 -0
  174. package/lib/data-table/src/styles/index.cssr.js +1 -1
  175. package/lib/data-table/styles/light.d.ts +2 -0
  176. package/lib/data-table/styles/light.js +1 -1
  177. package/lib/dialog/src/DialogProvider.d.ts +4 -0
  178. package/lib/icon-wrapper/src/IconWrapper.d.ts +40 -9
  179. package/lib/icon-wrapper/src/IconWrapper.js +23 -5
  180. package/lib/icon-wrapper/src/interface.d.ts +1 -0
  181. package/lib/icon-wrapper/src/interface.js +2 -0
  182. package/lib/icon-wrapper/src/styles/index.cssr.js +16 -4
  183. package/lib/layout/src/styles/layout-sider.cssr.js +1 -1
  184. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  185. package/lib/modal/src/Modal.d.ts +9 -0
  186. package/lib/modal/styles/light.d.ts +2 -0
  187. package/lib/modal/styles/light.js +2 -1
  188. package/lib/pagination/src/Pagination.d.ts +22 -0
  189. package/lib/pagination/src/Pagination.js +4 -2
  190. package/lib/pagination/src/styles/index.cssr.js +11 -0
  191. package/lib/pagination/styles/light.d.ts +4 -0
  192. package/lib/pagination/styles/light.js +7 -5
  193. package/lib/spin/styles/light.js +3 -3
  194. package/lib/steps/src/Step.d.ts +17 -0
  195. package/lib/steps/src/Step.js +81 -25
  196. package/lib/steps/src/Steps.d.ts +127 -1
  197. package/lib/steps/src/Steps.js +4 -1
  198. package/lib/steps/src/interface.d.ts +10 -2
  199. package/lib/steps/src/interface.js +11 -0
  200. package/lib/steps/src/styles/index.cssr.js +115 -3
  201. package/lib/steps/styles/light.d.ts +14 -0
  202. package/lib/steps/styles/light.js +16 -2
  203. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
  204. package/lib/themes/dark.js +2 -0
  205. package/lib/themes/light.js +2 -0
  206. package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
  207. package/lib/toggle-button/src/ToggleButton.js +5 -2
  208. package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  209. package/lib/typography/src/a.d.ts +27 -0
  210. package/lib/typography/src/a.js +3 -0
  211. package/lib/typography/src/blockquote.d.ts +27 -0
  212. package/lib/typography/src/blockquote.js +3 -0
  213. package/lib/typography/src/create-header.d.ts +27 -0
  214. package/lib/typography/src/create-header.js +3 -0
  215. package/lib/typography/src/headers.d.ts +108 -0
  216. package/lib/typography/src/hr.d.ts +18 -0
  217. package/lib/typography/src/hr.js +4 -0
  218. package/lib/typography/src/li.js +3 -0
  219. package/lib/typography/src/ol.d.ts +27 -0
  220. package/lib/typography/src/ol.js +3 -0
  221. package/lib/typography/src/p.d.ts +27 -0
  222. package/lib/typography/src/p.js +3 -0
  223. package/lib/typography/src/text.d.ts +128 -524
  224. package/lib/typography/src/text.js +66 -70
  225. package/lib/typography/src/ul.d.ts +27 -0
  226. package/lib/typography/src/ul.js +3 -0
  227. package/lib/typography/styles/light.d.ts +3 -0
  228. package/lib/typography/styles/light.js +3 -0
  229. package/lib/version.d.ts +1 -1
  230. package/lib/version.js +1 -1
  231. package/package.json +1 -1
  232. package/volar.d.ts +1 -0
  233. package/web-types.json +147 -96
@@ -7,7 +7,7 @@ const styles_3 = require("../../input/styles");
7
7
  const common_1 = require("../../_styles/common");
8
8
  const _mixins_1 = require("../../_mixins");
9
9
  const self = (vars) => {
10
- const { transparencySecondary, elementsPrimary, brandPrimary500, textSecondary, borderRadiusLarge, fontBodyMedium, fontBodyLarge, textPrimary, textTertiary } = vars;
10
+ const { brandPrimary100, transparencySecondary, elementsPrimary, brandPrimary500, textSecondary, borderRadius, fontBodyMedium, fontBodyLarge, textPrimary, textTertiary, elementsTertiary, elementsQuaternary } = vars;
11
11
  return {
12
12
  itemPaddingSmall: '0 4px',
13
13
  itemMarginSmall: '0 0 0 2px',
@@ -59,15 +59,15 @@ const self = (vars) => {
59
59
  itemColor: '#0000',
60
60
  itemColorHover: transparencySecondary,
61
61
  itemColorPressed: transparencySecondary,
62
- itemColorActive: '#0000',
63
- itemColorActiveHover: transparencySecondary,
62
+ itemColorActive: brandPrimary100,
63
+ itemColorActiveHover: brandPrimary100,
64
64
  itemColorDisabled: '#0000',
65
65
  itemBorder: '0px',
66
66
  itemBorderHover: '0px',
67
67
  itemBorderPressed: '0px',
68
68
  itemBorderActive: '0px',
69
69
  itemBorderDisabled: '0px',
70
- itemBorderRadius: borderRadiusLarge,
70
+ itemBorderRadius: borderRadius,
71
71
  itemSizeSmall: '24px',
72
72
  itemSizeMedium: '32px',
73
73
  itemSizeLarge: '40px',
@@ -78,7 +78,9 @@ const self = (vars) => {
78
78
  jumperFontSizeMedium: fontBodyMedium,
79
79
  jumperFontSizeLarge: fontBodyLarge,
80
80
  jumperTextColor: textPrimary,
81
- jumperTextColorDisabled: textTertiary
81
+ jumperTextColorDisabled: textTertiary,
82
+ paginationSizePickerBackground: elementsTertiary,
83
+ paginationSizePickerBorder: elementsQuaternary
82
84
  };
83
85
  };
84
86
  exports.self = self;
@@ -3,15 +3,15 @@ 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 { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall, fontHeadingMedium, fontHeadingLarge } = vars;
6
+ const { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall, fontTitleMedium, fontHeadingLarge } = vars;
7
7
  return {
8
8
  tertiaryColor: elementsPrimary,
9
9
  primaryColor: brandPrimary500,
10
10
  fontSize: fontBodyMedium,
11
11
  sizeTiny: fontBodySmall,
12
12
  sizeSmall: fontBodyLarge,
13
- sizeMedium: fontHeadingSmall,
14
- sizeLarge: fontHeadingMedium,
13
+ sizeMedium: fontTitleMedium,
14
+ sizeLarge: fontHeadingSmall,
15
15
  sizeHuge: fontHeadingLarge,
16
16
  opacitySpinning: opacityDisabled
17
17
  };
@@ -44,12 +44,29 @@ declare const _default: import("vue").DefineComponent<{
44
44
  '--u-indicator-color': string;
45
45
  '--u-indicator-icon-size': string;
46
46
  '--u-indicator-index-font-size': string;
47
+ '--u-indicator-index-font-size--outline': string;
47
48
  '--u-indicator-size': string;
49
+ '--u-indicator-size--dotted': string;
50
+ '--u-indicator-color--dotted': string;
48
51
  '--u-indicator-text-color': string;
52
+ '--u-indicator-text-color--outline': string;
49
53
  '--u-splitor-color': string;
54
+ '--u-splitor-color--dotted': string;
55
+ '--u-splitor-color-finish--dotted': string;
50
56
  '--u-step-header-font-size': string;
51
57
  '--u-step-header-font-weight': string;
52
58
  '--u-step-icon-color': string;
59
+ '--u-step-icon-color--outline': string;
60
+ '--u-indicator-background-finish--outline': string;
61
+ '--u-indicator-color-finish--dotted': string;
62
+ '--u-indicator-icon-size--outline': string;
63
+ '--u-indicator-border-color-finish--outline': string;
64
+ '--u-indicator-icon-color--outline': string;
65
+ '--u-indicator-border-radius--outline': string;
66
+ '--u-indicator-border-radius-finish--outline': string;
67
+ '--u-step-height': string;
68
+ '--u-description-text-color--dotted': string;
69
+ '--u-step-header-font-size--dotted': string;
53
70
  }> | undefined;
54
71
  themeClass: import("vue").Ref<string> | undefined;
55
72
  onRender: (() => void) | undefined;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.stepProps = void 0;
4
4
  const vue_1 = require("vue");
5
+ const interface_1 = require("./interface");
5
6
  const icons_1 = require("../../_internal/icons");
6
7
  const _internal_1 = require("../../_internal");
7
8
  const _utils_1 = require("../../_utils");
@@ -33,10 +34,17 @@ exports.default = (0, vue_1.defineComponent)({
33
34
  const noIconRef = (0, vue_1.computed)(() => props.noIcon);
34
35
  const variantBehaviors = (0, vue_1.computed)(() => {
35
36
  const variant = variantRef.value;
37
+ const { vertical } = stepsProps;
38
+ const variantConfig = interface_1.variantConfigs[variant] || {};
39
+ const config = Object.assign(Object.assign({}, interface_1.defaultVariantConfig), variantConfig);
40
+ const isVertical = variantConfig.vertical !== undefined
41
+ ? variantConfig.vertical
42
+ : Boolean(vertical);
36
43
  return {
37
44
  variant,
38
- isVerticalOrHistory: stepsProps.vertical || variant === 'history',
39
- shouldRenderSplitor: !stepsProps.vertical && variant !== 'history'
45
+ isVertical,
46
+ shouldRenderSplitor: config.rendersSplitor,
47
+ showDescription: config.showDescription
40
48
  };
41
49
  });
42
50
  const mergedStatusRef = (0, vue_1.computed)(() => {
@@ -65,7 +73,7 @@ exports.default = (0, vue_1.defineComponent)({
65
73
  const cssVarsRef = (0, vue_1.computed)(() => {
66
74
  const { value: status } = mergedStatusRef;
67
75
  const { size } = stepsProps;
68
- const { common: { cubicBezierEaseInOut }, self: { stepHeaderFontWeight, [(0, _utils_1.createKey)('stepHeaderFontSize', size)]: stepHeaderFontSize, [(0, _utils_1.createKey)('indicatorIndexFontSize', size)]: indicatorIndexFontSize, [(0, _utils_1.createKey)('indicatorSize', size)]: indicatorSize, [(0, _utils_1.createKey)('indicatorIconSize', size)]: indicatorIconSize, [(0, _utils_1.createKey)('indicatorTextColor', status)]: indicatorTextColor, [(0, _utils_1.createKey)('indicatorBorderColor', status)]: indicatorBorderColor, [(0, _utils_1.createKey)('headerTextColor', status)]: headerTextColor, [(0, _utils_1.createKey)('splitorColor', status)]: splitorColor, [(0, _utils_1.createKey)('indicatorColor', status)]: indicatorColor, [(0, _utils_1.createKey)('descriptionTextColor', status)]: descriptionTextColor, [(0, _utils_1.createKey)('indicatorIconColor', status)]: indicatorIconColor } } = mergedThemeRef.value;
76
+ const { common: { cubicBezierEaseInOut }, self: { stepHeaderFontWeight, [(0, _utils_1.createKey)('stepHeaderFontSize', size)]: stepHeaderFontSize, [(0, _utils_1.createKey)('indicatorIndexFontSize', size)]: indicatorIndexFontSize, [(0, _utils_1.createKey)('indicatorSize', size)]: indicatorSize, [(0, _utils_1.createKey)('indicatorIconSize', size)]: indicatorIconSize, [(0, _utils_1.createKey)('indicatorTextColor', status)]: indicatorTextColor, [(0, _utils_1.createKey)('indicatorBorderColor', status)]: indicatorBorderColor, [(0, _utils_1.createKey)('headerTextColor', status)]: headerTextColor, [(0, _utils_1.createKey)('splitorColor', status)]: splitorColor, [(0, _utils_1.createKey)('indicatorColor', status)]: indicatorColor, [(0, _utils_1.createKey)('descriptionTextColor', status)]: descriptionTextColor, [(0, _utils_1.createKey)('indicatorIconColor', status)]: indicatorIconColor, indicatorBackgroundFinishOutline, indicatorIconColorFinishDotted, indicatorIconSizeOutline, indicatorBorderColorFinishOutline, indicatorIconColorOutline, indicatorBorderRadiusOutline, indicatorBorderRadiusFinishOutline, stepHeight, indicatorSizeDotted, descriptionTextColorDotted, stepHeaderFontSizeLarge, splitorColorFinishDotted, indicatorColorDotted, splitorColorDotted, indicatorIndexFontSizeMedium } } = mergedThemeRef.value;
69
77
  return {
70
78
  '--u-bezier': cubicBezierEaseInOut,
71
79
  '--u-description-text-color': descriptionTextColor,
@@ -74,12 +82,29 @@ exports.default = (0, vue_1.defineComponent)({
74
82
  '--u-indicator-color': indicatorColor,
75
83
  '--u-indicator-icon-size': indicatorIconSize,
76
84
  '--u-indicator-index-font-size': indicatorIndexFontSize,
85
+ '--u-indicator-index-font-size--outline': indicatorIndexFontSizeMedium,
77
86
  '--u-indicator-size': indicatorSize,
87
+ '--u-indicator-size--dotted': indicatorSizeDotted,
88
+ '--u-indicator-color--dotted': indicatorColorDotted,
78
89
  '--u-indicator-text-color': indicatorTextColor,
90
+ '--u-indicator-text-color--outline': headerTextColor,
79
91
  '--u-splitor-color': splitorColor,
92
+ '--u-splitor-color--dotted': splitorColorDotted,
93
+ '--u-splitor-color-finish--dotted': splitorColorFinishDotted,
80
94
  '--u-step-header-font-size': stepHeaderFontSize,
81
95
  '--u-step-header-font-weight': stepHeaderFontWeight,
82
- '--u-step-icon-color': indicatorIconColor
96
+ '--u-step-icon-color': indicatorIconColor,
97
+ '--u-step-icon-color--outline': headerTextColor,
98
+ '--u-indicator-background-finish--outline': indicatorBackgroundFinishOutline,
99
+ '--u-indicator-color-finish--dotted': indicatorIconColorFinishDotted,
100
+ '--u-indicator-icon-size--outline': indicatorIconSizeOutline,
101
+ '--u-indicator-border-color-finish--outline': indicatorBorderColorFinishOutline,
102
+ '--u-indicator-icon-color--outline': indicatorIconColorOutline,
103
+ '--u-indicator-border-radius--outline': indicatorBorderRadiusOutline,
104
+ '--u-indicator-border-radius-finish--outline': indicatorBorderRadiusFinishOutline,
105
+ '--u-step-height': stepHeight,
106
+ '--u-description-text-color--dotted': descriptionTextColorDotted,
107
+ '--u-step-header-font-size--dotted': stepHeaderFontSizeLarge
83
108
  };
84
109
  });
85
110
  const themeClassHandle = inlineThemeDisabled
@@ -114,6 +139,16 @@ exports.default = (0, vue_1.defineComponent)({
114
139
  finish: () => renderFinishIcon(),
115
140
  error: () => renderErrorIcon(),
116
141
  default: () => (0, _utils_1.resolveWrappedSlot)(slots.icon, (icon) => icon || renderInternalIndex())
142
+ },
143
+ outline: {
144
+ finish: () => renderFinishIcon('outline'),
145
+ error: () => renderErrorIcon('outline'),
146
+ default: () => (0, _utils_1.resolveWrappedSlot)(slots.icon, (icon) => icon || renderInternalIndex())
147
+ },
148
+ dotted: {
149
+ finish: () => null,
150
+ error: () => null,
151
+ default: () => null
117
152
  }
118
153
  };
119
154
  const renderIcon = () => {
@@ -126,18 +161,32 @@ exports.default = (0, vue_1.defineComponent)({
126
161
  return rendererGroup.default();
127
162
  };
128
163
  const renderFinishIcon = (variant = 'default') => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "finish" }, {
129
- default: () => variant === 'history'
130
- ? (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [
131
- (0, vue_1.h)(icons_1.CheckmarkCircleIcon, null)
132
- ])
133
- : (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [(0, vue_1.h)(icons_1.CheckmarkIcon, null)])
164
+ default: () => {
165
+ switch (variant) {
166
+ case 'history':
167
+ return (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [
168
+ (0, vue_1.h)(icons_1.CheckmarkCircleIcon, null)
169
+ ]);
170
+ default:
171
+ return (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [
172
+ (0, vue_1.h)(icons_1.CheckmarkIcon, null)
173
+ ]);
174
+ }
175
+ }
134
176
  }));
135
177
  const renderErrorIcon = (variant = 'default') => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "error" }, {
136
- default: () => variant === 'history'
137
- ? (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [
138
- (0, vue_1.h)(icons_1.DismissCircleIcon, null)
139
- ])
140
- : (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [(0, vue_1.h)(icons_1.CloseIcon, null)])
178
+ default: () => {
179
+ switch (variant) {
180
+ case 'history':
181
+ return (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [
182
+ (0, vue_1.h)(icons_1.DismissCircleIcon, null)
183
+ ]);
184
+ default:
185
+ return (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [
186
+ (0, vue_1.h)(icons_1.CloseIcon, null)
187
+ ]);
188
+ }
189
+ }
141
190
  }));
142
191
  const renderHistoryIcon = () => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "history" }, {
143
192
  default: () => (0, _utils_1.resolveSlot)(stepsSlots['history-icon'], () => [(0, vue_1.h)(icons_1.EditIcon, null)])
@@ -159,13 +208,15 @@ exports.default = (0, vue_1.defineComponent)({
159
208
  },
160
209
  render() {
161
210
  const { mergedClsPrefix, onRender, handleStepClick, disabled, renderIcon, variantBehaviors, noIcon } = this;
162
- const descriptionNode = (0, _utils_1.resolveWrappedSlot)(this.$slots.default, (children) => {
163
- const mergedDescription = children || this.description;
164
- if (mergedDescription) {
165
- return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-content__description` }, mergedDescription));
166
- }
167
- return null;
168
- });
211
+ const descriptionNode = variantBehaviors.showDescription
212
+ ? (0, _utils_1.resolveWrappedSlot)(this.$slots.default, (children) => {
213
+ const mergedDescription = children || this.description;
214
+ if (mergedDescription) {
215
+ return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-content__description` }, mergedDescription));
216
+ }
217
+ return null;
218
+ })
219
+ : null;
169
220
  onRender === null || onRender === void 0 ? void 0 : onRender();
170
221
  return ((0, vue_1.h)("div", { class: [
171
222
  `${mergedClsPrefix}-step`,
@@ -176,15 +227,20 @@ exports.default = (0, vue_1.defineComponent)({
176
227
  `${mergedClsPrefix}-step--${this.mergedStatus}-status`,
177
228
  `${mergedClsPrefix}-step--${this.variant}-variant`
178
229
  ], style: this.cssVars, onClick: handleStepClick },
179
- variantBehaviors.isVerticalOrHistory || !noIcon ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-indicator` },
230
+ !noIcon ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-indicator` },
180
231
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-indicator-slot` },
181
232
  (0, vue_1.h)(_internal_1.UIconSwitchTransition, null, { default: renderIcon })),
182
- variantBehaviors.isVerticalOrHistory ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor` })) : null)) : null,
233
+ variantBehaviors.isVertical &&
234
+ variantBehaviors.shouldRenderSplitor ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor` })) : null)) : null,
183
235
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-content` },
184
236
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-content-header ${mergedClsPrefix}-step-content-header${noIcon ? '--column' : ''}` },
185
237
  (0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-content-header__title` }, (0, _utils_1.resolveSlot)(this.$slots.title, () => [this.title])),
186
- noIcon && variantBehaviors.shouldRenderSplitor ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor-no-icon` })) : null,
187
- !noIcon && variantBehaviors.shouldRenderSplitor ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor` })) : null),
238
+ noIcon &&
239
+ !variantBehaviors.isVertical &&
240
+ variantBehaviors.shouldRenderSplitor ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor-no-icon` })) : null,
241
+ !noIcon &&
242
+ variantBehaviors.shouldRenderSplitor &&
243
+ !variantBehaviors.isVertical ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-step-splitor` })) : null),
188
244
  descriptionNode)));
189
245
  }
190
246
  });