@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
@@ -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>;
@@ -1,19 +1,24 @@
1
1
  import { commonLight } from '../../_styles/common';
2
2
  export const self = (vars) => {
3
- const { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen } = vars;
3
+ const { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen, brandPrimary50, elementsQuaternary, borderRadius, heightSmall, borderRadiusSmall } = vars;
4
4
  return {
5
5
  stepHeaderFontSizeSmall: fontBodySmall,
6
6
  stepHeaderFontSizeMedium: fontBodyMedium,
7
+ stepHeaderFontSizeLarge: fontBodyLarge,
7
8
  indicatorIndexFontSizeSmall: fontBodyMedium,
8
9
  indicatorIndexFontSizeMedium: fontBodyLarge,
9
10
  indicatorSizeSmall: '22px',
10
11
  indicatorSizeMedium: '28px',
12
+ indicatorSizeDotted: '24px',
11
13
  indicatorIconSizeSmall: '14px',
12
14
  indicatorIconSizeMedium: '18px',
15
+ indicatorIconSizeOutline: '12px',
13
16
  indicatorIconColorProcess: textPrimary,
14
17
  indicatorIconColorWait: textSecondary,
15
18
  indicatorIconColorFinish: staticGreen,
16
19
  indicatorIconColorError: staticRed,
20
+ indicatorIconColorOutline: elementsTertiary,
21
+ indicatorIconColorFinishDotted: brandPrimary500,
17
22
  stepHeaderFontWeight: fontWeightStrong,
18
23
  indicatorTextColorProcess: staticWhite,
19
24
  indicatorTextColorWait: textSecondary,
@@ -23,22 +28,31 @@ export const self = (vars) => {
23
28
  indicatorBorderColorWait: elementsTertiary,
24
29
  indicatorBorderColorFinish: brandPrimary300,
25
30
  indicatorBorderColorError: staticRed,
31
+ indicatorBorderColorFinishOutline: elementsQuaternary,
32
+ indicatorBorderRadiusOutline: borderRadius,
33
+ indicatorBorderRadiusFinishOutline: borderRadiusSmall,
26
34
  indicatorColorProcess: brandPrimary500,
27
35
  indicatorColorWait: elementsTertiary,
28
36
  indicatorColorFinish: brandPrimary300,
29
37
  indicatorColorError: staticRed,
38
+ indicatorColorDotted: brandPrimary50,
39
+ indicatorBackgroundFinishOutline: brandPrimary50,
30
40
  splitorColorProcess: brandPrimary500,
31
41
  splitorColorWait: elementsTertiary,
32
42
  splitorColorFinish: brandPrimary300,
33
43
  splitorColorError: staticRed,
44
+ splitorColorFinishDotted: brandPrimary500,
45
+ splitorColorDotted: brandPrimary50,
34
46
  headerTextColorProcess: textPrimary,
35
47
  headerTextColorWait: textSecondary,
36
48
  headerTextColorFinish: textPrimary,
37
49
  headerTextColorError: staticRed,
38
50
  descriptionTextColorProcess: textPrimary,
39
51
  descriptionTextColorWait: textSecondary,
52
+ descriptionTextColorDotted: textSecondary,
40
53
  descriptionTextColorFinish: textPrimary,
41
- descriptionTextColorError: staticRed
54
+ descriptionTextColorError: staticRed,
55
+ stepHeight: heightSmall
42
56
  };
43
57
  };
44
58
  const stepsLight = {
@@ -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>;
package/es/themes/dark.js CHANGED
@@ -85,10 +85,12 @@ import { watermarkDark } from '../watermark/styles';
85
85
  import { toggleButtonDark } from '../toggle-button/styles';
86
86
  import { accountOptionDark } from '../_internal/account-option/styles';
87
87
  import { flexDark } from '../flex/styles';
88
+ import { actionCardDark } from '../action-card/styles';
88
89
  export const darkTheme = {
89
90
  name: 'dark',
90
91
  common: commonDark,
91
92
  AccountOption: accountOptionDark,
93
+ ActionCard: actionCardDark,
92
94
  Alert: alertDark,
93
95
  Anchor: anchorDark,
94
96
  AutoComplete: autoCompleteDark,
@@ -87,10 +87,12 @@ import { watermarkLight } from '../watermark/styles';
87
87
  import { toggleButtonLight } from '../toggle-button/styles';
88
88
  import { accountOptionLight } from '../_internal/account-option/styles';
89
89
  import { flexLight } from '../flex/styles';
90
+ import { actionCardLight } from '../action-card/styles';
90
91
  export const lightTheme = {
91
92
  name: 'light',
92
93
  common: commonLight,
93
94
  AccountOption: accountOptionLight,
95
+ ActionCard: actionCardLight,
94
96
  Alert: alertLight,
95
97
  Anchor: anchorLight,
96
98
  AutoComplete: 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;
@@ -14,6 +14,9 @@ export const toggleButtonProps = Object.assign(Object.assign(Object.assign({}, u
14
14
  }, viewType: {
15
15
  type: String,
16
16
  default: 'default'
17
+ }, iconPosition: {
18
+ type: String,
19
+ default: 'top'
17
20
  } });
18
21
  export default defineComponent({
19
22
  name: 'ToggleButton',
@@ -97,9 +100,9 @@ export default defineComponent({
97
100
  },
98
101
  render() {
99
102
  var _a, _b, _c;
100
- const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled } = this;
103
+ const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled, iconPosition } = this;
101
104
  onRender === null || onRender === void 0 ? void 0 : onRender();
102
- const iconNode = (h("div", { class: `${mergedClsPrefix}-toggle-button__icon` }, resolveSlot($slots.icon, () => [
105
+ const iconNode = (h("div", { class: `${mergedClsPrefix}-toggle-button__icon ${mergedClsPrefix}-toggle-button__icon--position-${iconPosition}` }, resolveSlot($slots.icon, () => [
103
106
  h(UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(Checkmark, null) })
104
107
  ])));
105
108
  const titleNode = (title || $slots.header) && (h("div", { class: `${mergedClsPrefix}-toggle-button__title` }, ((_a = $slots.header) === null || _a === void 0 ? void 0 : _a.call($slots)) || title));
@@ -49,6 +49,9 @@ export default cB('toggle-button', `
49
49
  font-size: var(--u-icon-size);
50
50
  `), cB('icon', `
51
51
  font-size: var(--u-icon-size);
52
+ `), cM('position-bottom', `
53
+ bottom: 0;
54
+ top: auto;
52
55
  `)]), cE('input', `
53
56
  opacity: 0;
54
57
  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;
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, computed } from 'vue';
1
+ import { h, defineComponent, computed, warn } from 'vue';
2
2
  import { useConfig, useTheme, useThemeClass } from '../../_mixins';
3
3
  import { typographyLight } from '../styles';
4
4
  import style from './styles/a.cssr';
@@ -7,6 +7,9 @@ export default defineComponent({
7
7
  name: 'A',
8
8
  props: aProps,
9
9
  setup(props) {
10
+ if (process.env.NODE_ENV !== 'production') {
11
+ warn('a', 'A component is deprecated, you should use `UText` instead.');
12
+ }
10
13
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
11
14
  const themeRef = useTheme('Typography', '-a', style, typographyLight, props, mergedClsPrefixRef);
12
15
  const cssVarsRef = computed(() => {
@@ -27,6 +27,7 @@ export declare const blockquoteProps: {
27
27
  headerBarWidth5: string;
28
28
  headerBarWidth6: string;
29
29
  pMargin: string;
30
+ margin: string;
30
31
  liMargin: string;
31
32
  olPadding: string;
32
33
  ulPadding: string;
@@ -48,6 +49,8 @@ export declare const blockquoteProps: {
48
49
  pTextColor3Depth: string;
49
50
  pLineHeight: string;
50
51
  pFontSize: string;
52
+ fontSize: string;
53
+ lineHeight: string;
51
54
  headerBarColor: string;
52
55
  headerBarColorPrimary: string;
53
56
  headerBarColorInfo: string;
@@ -93,6 +96,7 @@ export declare const blockquoteProps: {
93
96
  headerBarWidth5: string;
94
97
  headerBarWidth6: string;
95
98
  pMargin: string;
99
+ margin: string;
96
100
  liMargin: string;
97
101
  olPadding: string;
98
102
  ulPadding: string;
@@ -114,6 +118,8 @@ export declare const blockquoteProps: {
114
118
  pTextColor3Depth: string;
115
119
  pLineHeight: string;
116
120
  pFontSize: string;
121
+ fontSize: string;
122
+ lineHeight: string;
117
123
  headerBarColor: string;
118
124
  headerBarColorPrimary: string;
119
125
  headerBarColorInfo: string;
@@ -159,6 +165,7 @@ export declare const blockquoteProps: {
159
165
  headerBarWidth5: string;
160
166
  headerBarWidth6: string;
161
167
  pMargin: string;
168
+ margin: string;
162
169
  liMargin: string;
163
170
  olPadding: string;
164
171
  ulPadding: string;
@@ -180,6 +187,8 @@ export declare const blockquoteProps: {
180
187
  pTextColor3Depth: string;
181
188
  pLineHeight: string;
182
189
  pFontSize: string;
190
+ fontSize: string;
191
+ lineHeight: string;
183
192
  headerBarColor: string;
184
193
  headerBarColorPrimary: string;
185
194
  headerBarColorInfo: string;
@@ -229,6 +238,7 @@ declare const _default: import("vue").DefineComponent<{
229
238
  headerBarWidth5: string;
230
239
  headerBarWidth6: string;
231
240
  pMargin: string;
241
+ margin: string;
232
242
  liMargin: string;
233
243
  olPadding: string;
234
244
  ulPadding: string;
@@ -250,6 +260,8 @@ declare const _default: import("vue").DefineComponent<{
250
260
  pTextColor3Depth: string;
251
261
  pLineHeight: string;
252
262
  pFontSize: string;
263
+ fontSize: string;
264
+ lineHeight: string;
253
265
  headerBarColor: string;
254
266
  headerBarColorPrimary: string;
255
267
  headerBarColorInfo: string;
@@ -295,6 +307,7 @@ declare const _default: import("vue").DefineComponent<{
295
307
  headerBarWidth5: string;
296
308
  headerBarWidth6: string;
297
309
  pMargin: string;
310
+ margin: string;
298
311
  liMargin: string;
299
312
  olPadding: string;
300
313
  ulPadding: string;
@@ -316,6 +329,8 @@ declare const _default: import("vue").DefineComponent<{
316
329
  pTextColor3Depth: string;
317
330
  pLineHeight: string;
318
331
  pFontSize: string;
332
+ fontSize: string;
333
+ lineHeight: string;
319
334
  headerBarColor: string;
320
335
  headerBarColorPrimary: string;
321
336
  headerBarColorInfo: string;
@@ -361,6 +376,7 @@ declare const _default: import("vue").DefineComponent<{
361
376
  headerBarWidth5: string;
362
377
  headerBarWidth6: string;
363
378
  pMargin: string;
379
+ margin: string;
364
380
  liMargin: string;
365
381
  olPadding: string;
366
382
  ulPadding: string;
@@ -382,6 +398,8 @@ declare const _default: import("vue").DefineComponent<{
382
398
  pTextColor3Depth: string;
383
399
  pLineHeight: string;
384
400
  pFontSize: string;
401
+ fontSize: string;
402
+ lineHeight: string;
385
403
  headerBarColor: string;
386
404
  headerBarColorPrimary: string;
387
405
  headerBarColorInfo: string;
@@ -440,6 +458,7 @@ declare const _default: import("vue").DefineComponent<{
440
458
  headerBarWidth5: string;
441
459
  headerBarWidth6: string;
442
460
  pMargin: string;
461
+ margin: string;
443
462
  liMargin: string;
444
463
  olPadding: string;
445
464
  ulPadding: string;
@@ -461,6 +480,8 @@ declare const _default: import("vue").DefineComponent<{
461
480
  pTextColor3Depth: string;
462
481
  pLineHeight: string;
463
482
  pFontSize: string;
483
+ fontSize: string;
484
+ lineHeight: string;
464
485
  headerBarColor: string;
465
486
  headerBarColorPrimary: string;
466
487
  headerBarColorInfo: string;
@@ -506,6 +527,7 @@ declare const _default: import("vue").DefineComponent<{
506
527
  headerBarWidth5: string;
507
528
  headerBarWidth6: string;
508
529
  pMargin: string;
530
+ margin: string;
509
531
  liMargin: string;
510
532
  olPadding: string;
511
533
  ulPadding: string;
@@ -527,6 +549,8 @@ declare const _default: import("vue").DefineComponent<{
527
549
  pTextColor3Depth: string;
528
550
  pLineHeight: string;
529
551
  pFontSize: string;
552
+ fontSize: string;
553
+ lineHeight: string;
530
554
  headerBarColor: string;
531
555
  headerBarColorPrimary: string;
532
556
  headerBarColorInfo: string;
@@ -572,6 +596,7 @@ declare const _default: import("vue").DefineComponent<{
572
596
  headerBarWidth5: string;
573
597
  headerBarWidth6: string;
574
598
  pMargin: string;
599
+ margin: string;
575
600
  liMargin: string;
576
601
  olPadding: string;
577
602
  ulPadding: string;
@@ -593,6 +618,8 @@ declare const _default: import("vue").DefineComponent<{
593
618
  pTextColor3Depth: string;
594
619
  pLineHeight: string;
595
620
  pFontSize: string;
621
+ fontSize: string;
622
+ lineHeight: string;
596
623
  headerBarColor: string;
597
624
  headerBarColorPrimary: string;
598
625
  headerBarColorInfo: string;
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, computed } from 'vue';
1
+ import { h, defineComponent, computed, warn } from 'vue';
2
2
  import { useConfig, useTheme, useThemeClass } from '../../_mixins';
3
3
  import style from './styles/blockquote.cssr';
4
4
  import { typographyLight } from '../styles';
@@ -7,6 +7,9 @@ export default defineComponent({
7
7
  name: 'Blockquote',
8
8
  props: blockquoteProps,
9
9
  setup(props) {
10
+ if (process.env.NODE_ENV !== 'production') {
11
+ warn('blockquote', 'Blockquote component is deprecated, you should implement Blockquote locally in your component instead.');
12
+ }
10
13
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
11
14
  const themeRef = useTheme('Typography', '-blockquote', style, typographyLight, props, mergedClsPrefixRef);
12
15
  const cssVarsRef = computed(() => {