ngx-tethys 21.0.13 → 22.0.0-next.1

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 (277) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/badge/styles/badge.scss +0 -51
  3. package/button/styles/button-group.scss +1 -5
  4. package/button/styles/button-icon.scss +5 -11
  5. package/button/styles/button.scss +84 -58
  6. package/button/styles/mixin.scss +6 -11
  7. package/button/styles/theme.scss +18 -14
  8. package/card/styles/card.scss +0 -35
  9. package/card/styles/mixin.scss +0 -4
  10. package/date-picker/styles/picker.scss +5 -1
  11. package/dialog/styles/dialog.scss +0 -3
  12. package/fesm2022/ngx-tethys-action.mjs +35 -33
  13. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  14. package/fesm2022/ngx-tethys-affix.mjs +15 -13
  15. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  16. package/fesm2022/ngx-tethys-alert.mjs +26 -19
  17. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  18. package/fesm2022/ngx-tethys-anchor.mjs +39 -33
  19. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  20. package/fesm2022/ngx-tethys-arrow-switcher.mjs +32 -21
  21. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  22. package/fesm2022/ngx-tethys-autocomplete.mjs +47 -47
  23. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  24. package/fesm2022/ngx-tethys-avatar.mjs +59 -63
  25. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  26. package/fesm2022/ngx-tethys-back-top.mjs +17 -13
  27. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  28. package/fesm2022/ngx-tethys-badge.mjs +31 -44
  29. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  30. package/fesm2022/ngx-tethys-breadcrumb.mjs +24 -19
  31. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  32. package/fesm2022/ngx-tethys-button.mjs +81 -84
  33. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  34. package/fesm2022/ngx-tethys-calendar.mjs +37 -28
  35. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  36. package/fesm2022/ngx-tethys-card.mjs +32 -48
  37. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  38. package/fesm2022/ngx-tethys-carousel.mjs +34 -25
  39. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  40. package/fesm2022/ngx-tethys-cascader.mjs +96 -62
  41. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  42. package/fesm2022/ngx-tethys-checkbox.mjs +10 -10
  43. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  44. package/fesm2022/ngx-tethys-collapse.mjs +35 -25
  45. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  46. package/fesm2022/ngx-tethys-color-picker.mjs +85 -62
  47. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  48. package/fesm2022/ngx-tethys-comment.mjs +21 -18
  49. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  50. package/fesm2022/ngx-tethys-copy.mjs +15 -11
  51. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  52. package/fesm2022/ngx-tethys-core.mjs +30 -27
  53. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  54. package/fesm2022/ngx-tethys-date-picker.mjs +370 -290
  55. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  56. package/fesm2022/ngx-tethys-date-range.mjs +34 -24
  57. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  58. package/fesm2022/ngx-tethys-dialog.mjs +60 -48
  59. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  60. package/fesm2022/ngx-tethys-divider.mjs +23 -24
  61. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  62. package/fesm2022/ngx-tethys-dot.mjs +8 -9
  63. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  64. package/fesm2022/ngx-tethys-dropdown.mjs +77 -68
  65. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  66. package/fesm2022/ngx-tethys-empty.mjs +38 -86
  67. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  68. package/fesm2022/ngx-tethys-flexible-text.mjs +15 -12
  69. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  70. package/fesm2022/ngx-tethys-form.mjs +81 -65
  71. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  72. package/fesm2022/ngx-tethys-fullscreen.mjs +19 -17
  73. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  74. package/fesm2022/ngx-tethys-grid.mjs +73 -57
  75. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  76. package/fesm2022/ngx-tethys-guider.mjs +18 -18
  77. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  78. package/fesm2022/ngx-tethys-i18n.mjs +5 -4
  79. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  80. package/fesm2022/ngx-tethys-icon.mjs +19 -16
  81. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  82. package/fesm2022/ngx-tethys-image.mjs +28 -25
  83. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  84. package/fesm2022/ngx-tethys-input-number.mjs +27 -19
  85. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  86. package/fesm2022/ngx-tethys-input.mjs +122 -96
  87. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  88. package/fesm2022/ngx-tethys-layout.mjs +116 -133
  89. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  90. package/fesm2022/ngx-tethys-list.mjs +48 -34
  91. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  92. package/fesm2022/ngx-tethys-loading.mjs +11 -10
  93. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  94. package/fesm2022/ngx-tethys-mention.mjs +24 -18
  95. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  96. package/fesm2022/ngx-tethys-menu.mjs +64 -49
  97. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  98. package/fesm2022/ngx-tethys-message.mjs +29 -27
  99. package/fesm2022/ngx-tethys-message.mjs.map +1 -1
  100. package/fesm2022/ngx-tethys-native-table.mjs +289 -193
  101. package/fesm2022/ngx-tethys-native-table.mjs.map +1 -1
  102. package/fesm2022/ngx-tethys-nav.mjs +90 -73
  103. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  104. package/fesm2022/ngx-tethys-notify.mjs +38 -29
  105. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  106. package/fesm2022/ngx-tethys-pagination.mjs +40 -28
  107. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  108. package/fesm2022/ngx-tethys-popover.mjs +36 -30
  109. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  110. package/fesm2022/ngx-tethys-progress.mjs +64 -41
  111. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  112. package/fesm2022/ngx-tethys-property-operation.mjs +15 -14
  113. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  114. package/fesm2022/ngx-tethys-property.mjs +39 -32
  115. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  116. package/fesm2022/ngx-tethys-radio.mjs +31 -25
  117. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  118. package/fesm2022/ngx-tethys-rate.mjs +37 -25
  119. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  120. package/fesm2022/ngx-tethys-resizable.mjs +29 -26
  121. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  122. package/fesm2022/ngx-tethys-result.mjs +25 -17
  123. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  124. package/fesm2022/ngx-tethys-segment.mjs +30 -22
  125. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  126. package/fesm2022/ngx-tethys-select.mjs +95 -57
  127. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  128. package/fesm2022/ngx-tethys-shared.mjs +192 -136
  129. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  130. package/fesm2022/ngx-tethys-skeleton.mjs +94 -66
  131. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  132. package/fesm2022/ngx-tethys-slide.mjs +48 -38
  133. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  134. package/fesm2022/ngx-tethys-slider.mjs +26 -18
  135. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  136. package/fesm2022/ngx-tethys-space.mjs +18 -15
  137. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  138. package/fesm2022/ngx-tethys-statistic.mjs +51 -30
  139. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  140. package/fesm2022/ngx-tethys-stepper.mjs +43 -33
  141. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  142. package/fesm2022/ngx-tethys-strength.mjs +12 -11
  143. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  144. package/fesm2022/ngx-tethys-switch.mjs +25 -17
  145. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  146. package/fesm2022/ngx-tethys-table.mjs +39 -50
  147. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  148. package/fesm2022/ngx-tethys-tabs.mjs +54 -39
  149. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  150. package/fesm2022/ngx-tethys-tag.mjs +28 -33
  151. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  152. package/fesm2022/ngx-tethys-time-picker.mjs +124 -75
  153. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  154. package/fesm2022/ngx-tethys-timeline.mjs +40 -29
  155. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  156. package/fesm2022/ngx-tethys-tooltip.mjs +29 -22
  157. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  158. package/fesm2022/ngx-tethys-transfer.mjs +39 -26
  159. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  160. package/fesm2022/ngx-tethys-tree-select.mjs +91 -58
  161. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  162. package/fesm2022/ngx-tethys-tree.mjs +79 -50
  163. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  164. package/fesm2022/ngx-tethys-typography.mjs +21 -18
  165. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  166. package/fesm2022/ngx-tethys-upload.mjs +24 -21
  167. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  168. package/fesm2022/ngx-tethys-vote.mjs +13 -11
  169. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  170. package/fesm2022/ngx-tethys-watermark.mjs +13 -10
  171. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  172. package/fesm2022/ngx-tethys.mjs +1 -1
  173. package/fesm2022/ngx-tethys.mjs.map +1 -1
  174. package/form/styles/forms.scss +4 -16
  175. package/form/styles/mixin.scss +1 -1
  176. package/input/styles/input-group.scss +7 -12
  177. package/input/styles/input.scss +16 -4
  178. package/input-number/styles/input-number.scss +5 -1
  179. package/package.json +3 -3
  180. package/schematics/dependencies.js +1 -1
  181. package/schematics/ng-update/migration-collection.json +4 -4
  182. package/schematics/ng-update/update-22/badge-dot-hollow-migration.d.ts +6 -0
  183. package/schematics/ng-update/update-22/badge-dot-hollow-migration.js +69 -0
  184. package/schematics/ng-update/update-22/badge-dot-hollow-migration.spec.js +80 -0
  185. package/schematics/ng-update/update-22/button-appearance-migration.d.ts +18 -0
  186. package/schematics/ng-update/update-22/button-appearance-migration.js +126 -0
  187. package/schematics/ng-update/update-22/button-appearance-migration.spec.d.ts +1 -0
  188. package/schematics/ng-update/update-22/button-appearance-migration.spec.js +61 -0
  189. package/schematics/ng-update/update-22/card-deprecated-props-migration.d.ts +6 -0
  190. package/schematics/ng-update/update-22/card-deprecated-props-migration.js +149 -0
  191. package/schematics/ng-update/update-22/card-deprecated-props-migration.spec.d.ts +1 -0
  192. package/schematics/ng-update/update-22/card-deprecated-props-migration.spec.js +67 -0
  193. package/schematics/ng-update/update-22/class-name-migration.spec.d.ts +1 -0
  194. package/schematics/ng-update/update-22/class-name-migration.spec.js +121 -0
  195. package/schematics/ng-update/update-22/css-selectors-migration.spec.d.ts +1 -0
  196. package/schematics/ng-update/update-22/css-selectors-migration.spec.js +72 -0
  197. package/schematics/ng-update/update-22/css-tokens-migration.spec.d.ts +1 -0
  198. package/schematics/ng-update/update-22/css-tokens-migration.spec.js +80 -0
  199. package/schematics/ng-update/update-22/date-picker-popover-options-migration.d.ts +14 -0
  200. package/schematics/ng-update/update-22/date-picker-popover-options-migration.js +160 -0
  201. package/schematics/ng-update/update-22/date-picker-popover-options-migration.spec.d.ts +1 -0
  202. package/schematics/ng-update/update-22/date-picker-popover-options-migration.spec.js +105 -0
  203. package/schematics/ng-update/update-22/divider-deeper-migration.d.ts +12 -0
  204. package/schematics/ng-update/update-22/divider-deeper-migration.js +46 -0
  205. package/schematics/ng-update/update-22/divider-deeper-migration.spec.d.ts +1 -0
  206. package/schematics/ng-update/update-22/divider-deeper-migration.spec.js +41 -0
  207. package/schematics/ng-update/update-22/header-icon-prefix-migration.d.ts +9 -0
  208. package/schematics/ng-update/update-22/header-icon-prefix-migration.js +64 -0
  209. package/schematics/ng-update/update-22/header-icon-prefix-migration.spec.d.ts +1 -0
  210. package/schematics/ng-update/update-22/header-icon-prefix-migration.spec.js +35 -0
  211. package/schematics/ng-update/update-22/index.js +33 -0
  212. package/schematics/ng-update/update-22/index.spec.d.ts +1 -0
  213. package/schematics/ng-update/update-22/index.spec.js +888 -0
  214. package/schematics/ng-update/update-22/input-control-size-migration.d.ts +10 -0
  215. package/schematics/ng-update/update-22/input-control-size-migration.js +118 -0
  216. package/schematics/ng-update/update-22/input-control-size-migration.spec.d.ts +1 -0
  217. package/schematics/ng-update/update-22/input-control-size-migration.spec.js +88 -0
  218. package/schematics/ng-update/update-22/nav-inside-closable-migration.d.ts +10 -0
  219. package/schematics/ng-update/update-22/nav-inside-closable-migration.js +103 -0
  220. package/schematics/ng-update/update-22/nav-inside-closable-migration.spec.d.ts +1 -0
  221. package/schematics/ng-update/update-22/nav-inside-closable-migration.spec.js +81 -0
  222. package/schematics/ng-update/update-22/table-show-header-migration.d.ts +8 -0
  223. package/schematics/ng-update/update-22/table-show-header-migration.js +75 -0
  224. package/schematics/ng-update/update-22/table-show-header-migration.spec.d.ts +1 -0
  225. package/schematics/ng-update/update-22/table-show-header-migration.spec.js +72 -0
  226. package/schematics/ng-update/update-22/tag-appearance-migration.d.ts +12 -0
  227. package/schematics/ng-update/update-22/tag-appearance-migration.js +32 -0
  228. package/schematics/ng-update/update-22/update-data.js +261 -0
  229. package/schematics/package.json +3 -0
  230. package/schematics/tsconfig.json +3 -1
  231. package/schematics/utils/create-tree-compiler-host.js +1 -0
  232. package/schematics/utils/create-tree-ts-parse-config-host.js +1 -0
  233. package/schematics/utils/get-angular-json.js +1 -0
  234. package/schematics/utils/get-workspace-tsconfig.js +1 -0
  235. package/schematics/version.d.ts +1 -1
  236. package/schematics/version.js +1 -1
  237. package/shared/select/select-control/select-control.scss +0 -6
  238. package/shared/select/styles/select.mixin.scss +1 -1
  239. package/styles/bootstrap/_variables.scss +2 -2
  240. package/styles/variables.scss +12 -29
  241. package/types/ngx-tethys-action.d.ts +2 -9
  242. package/types/ngx-tethys-anchor.d.ts +1 -1
  243. package/types/ngx-tethys-autocomplete.d.ts +2 -9
  244. package/types/ngx-tethys-avatar.d.ts +29 -48
  245. package/types/ngx-tethys-badge.d.ts +1 -15
  246. package/types/ngx-tethys-button.d.ts +21 -15
  247. package/types/ngx-tethys-card.d.ts +4 -19
  248. package/types/ngx-tethys-cascader.d.ts +6 -5
  249. package/types/ngx-tethys-collapse.d.ts +5 -4
  250. package/types/ngx-tethys-core.d.ts +3 -1
  251. package/types/ngx-tethys-date-picker.d.ts +12 -26
  252. package/types/ngx-tethys-dialog.d.ts +0 -5
  253. package/types/ngx-tethys-divider.d.ts +1 -6
  254. package/types/ngx-tethys-empty.d.ts +4 -36
  255. package/types/ngx-tethys-input-number.d.ts +2 -3
  256. package/types/ngx-tethys-input.d.ts +26 -37
  257. package/types/ngx-tethys-layout.d.ts +75 -87
  258. package/types/ngx-tethys-menu.d.ts +4 -3
  259. package/types/ngx-tethys-nav.d.ts +3 -14
  260. package/types/ngx-tethys-progress.d.ts +1 -5
  261. package/types/ngx-tethys-property.d.ts +0 -4
  262. package/types/ngx-tethys-select.d.ts +6 -7
  263. package/types/ngx-tethys-shared.d.ts +3 -4
  264. package/types/ngx-tethys-table.d.ts +1 -17
  265. package/types/ngx-tethys-tabs.d.ts +7 -7
  266. package/types/ngx-tethys-tag.d.ts +4 -11
  267. package/types/ngx-tethys-time-picker.d.ts +5 -5
  268. package/types/ngx-tethys-tree-select.d.ts +6 -12
  269. package/badge/examples/state-point/state-point.component.scss +0 -11
  270. package/schematics/ng-update/update-21/index.js +0 -10
  271. package/schematics/ng-update/update-21/index.spec.js +0 -22
  272. package/schematics/ng-update/update-21/update-data.js +0 -16
  273. /package/schematics/ng-update/{update-21/index.spec.d.ts → update-22/badge-dot-hollow-migration.spec.d.ts} +0 -0
  274. /package/schematics/ng-update/{update-21 → update-22}/class-name-migration.d.ts +0 -0
  275. /package/schematics/ng-update/{update-21 → update-22}/class-name-migration.js +0 -0
  276. /package/schematics/ng-update/{update-21 → update-22}/index.d.ts +0 -0
  277. /package/schematics/ng-update/{update-21 → update-22}/update-data.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,62 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ # [22.0.0-next.1](github.com/atinc/ngx-tethys/compare/21.0.13...22.0.0-next.1) (2026-09-03)
6
+
7
+
8
+ ### Features
9
+
10
+ * **button:** support thyAppearance on v22 #TINFR-3855 ([#3909](/github.com/atinc/ngx-tethys/issues/3909)) ([67ac8f8](github.com/atinc/ngx-tethys/commits/67ac8f8169322543f5cfb66cbeb55e3baa0ae849)), closes [#TINFR-3855](github.com/atinc/ngx-tethys/issues/TINFR-3855)
11
+ * **schematics:** migrate ThyAvatarService.avatarSrcTransform to srcTransform #NEXUS-5084 ([#3901](/github.com/atinc/ngx-tethys/issues/3901)) ([a3b5aca](github.com/atinc/ngx-tethys/commits/a3b5aca40328d21155888711728853cb669ba06e)), closes [#NEXUS-5084](github.com/atinc/ngx-tethys/issues/NEXUS-5084)
12
+ * **schematics:** migrate thy-link/thyLink to thy-anchor-link/thyAnchorLink for anchor #NEXUS-5085 ([#3899](/github.com/atinc/ngx-tethys/issues/3899)) ([03c8626](github.com/atinc/ngx-tethys/commits/03c8626d0494fcaab3de8b330ece4a56827a7381)), closes [#NEXUS-5085](github.com/atinc/ngx-tethys/issues/NEXUS-5085)
13
+ * **schematics:** migrate thyDeeper to thyColor light for thy-divider, including $divider-deeper-color to $gray-300 #NEXUS-5087 ([#3902](/github.com/atinc/ngx-tethys/issues/3902)) ([10025c4](github.com/atinc/ngx-tethys/commits/10025c4a6ec25502cc53a33deb30e8be7234d845)), closes [#NEXUS-5087](github.com/atinc/ngx-tethys/issues/NEXUS-5087)
14
+ * **schematics:** migrate ThyPropertyItem.setKeepEditing to setEditing #NEXUS-5077 ([#3898](/github.com/atinc/ngx-tethys/issues/3898)) ([0c40a5e](github.com/atinc/ngx-tethys/commits/0c40a5e0e80f4cec2a6ae69cc739bc88d8b66abf)), closes [#NEXUS-5077](github.com/atinc/ngx-tethys/issues/NEXUS-5077)
15
+ * **schematics:** migrate thyShowHeader to thyHeadless and remove thyLoadingText for thy-table #NEXUS-5086 ([#3900](/github.com/atinc/ngx-tethys/issues/3900)) ([a4ed5cc](github.com/atinc/ngx-tethys/commits/a4ed5cccc8c88f5cbe6c212d9c860b71fc6d218a)), closes [#NEXUS-5086](github.com/atinc/ngx-tethys/issues/NEXUS-5086)
16
+ * **schematics:** remove thyHasLeftRightPadding and migrate thy-card-header thySize and thy-card-content thySize to thy-card #NEXUS-5089 ([#3905](/github.com/atinc/ngx-tethys/issues/3905)) ([e8ec072](github.com/atinc/ngx-tethys/commits/e8ec0726f4c57e5695454324eb2e169a0003b99e)), closes [#NEXUS-5089](github.com/atinc/ngx-tethys/issues/NEXUS-5089)
17
+ * **schematics:** remove thyIconPrefix and add schematic migration to thyIcon #NEXUS-5098 ([#3911](/github.com/atinc/ngx-tethys/issues/3911)) ([0799dfb](github.com/atinc/ngx-tethys/commits/0799dfb92dac313636433eec3a6c3ce11778bdc7)), closes [#NEXUS-5098](github.com/atinc/ngx-tethys/issues/NEXUS-5098)
18
+ * **schematics:** remove thyInsideClosable and add schematic migration to thyPopoverOptions #NEXUS-5097 ([#3908](/github.com/atinc/ngx-tethys/issues/3908)) ([b1d15b5](github.com/atinc/ngx-tethys/commits/b1d15b578dccd2f5cb490c53a85c32a4f6316caa)), closes [#NEXUS-5097](github.com/atinc/ngx-tethys/issues/NEXUS-5097)
19
+ * **schematics:** remove thyIsDot and thyIsHollow for thy-badge #NEXUS-5092 ([#3906](/github.com/atinc/ngx-tethys/issues/3906)) ([1bd140d](github.com/atinc/ngx-tethys/commits/1bd140dd3129355d9e8ff576c8c5bc4881303af4)), closes [#NEXUS-5092](github.com/atinc/ngx-tethys/issues/NEXUS-5092)
20
+ * **schematics:** remove thyOffset/thyHasBackdrop from PickerDirective and migrate to thyPopoverOptions #NEXUS-5095 ([#3910](/github.com/atinc/ngx-tethys/issues/3910)) ([0199294](github.com/atinc/ngx-tethys/commits/01992947a761db126fc3d9220dcd3d38a15d2c4e)), closes [#NEXUS-5095](github.com/atinc/ngx-tethys/issues/NEXUS-5095)
21
+
22
+ ## [21.0.13](github.com/atinc/ngx-tethys/compare/22.0.0-next.0...21.0.13) (2026-09-03)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **tabs:** should activate first tab by default when tabs have id and thyActiveTab is not set and simplify active logic #TINFR-3852 ([#3881](/github.com/atinc/ngx-tethys/issues/3881)) ([e792228](github.com/atinc/ngx-tethys/commits/e792228831dce3b2b8f4fcb02a9595c19171a6ef)), closes [#TINFR-3852](github.com/atinc/ngx-tethys/issues/TINFR-3852)
28
+
29
+
30
+ ### Features
31
+
32
+ * add input control size migration for v22 #TINFR-3837 ([#3871](/github.com/atinc/ngx-tethys/issues/3871)) ([5fbcbfb](github.com/atinc/ngx-tethys/commits/5fbcbfbd5455a89aa1e7bab4ccb129be52987bcc)), closes [#TINFR-3837](github.com/atinc/ngx-tethys/issues/TINFR-3837)
33
+ * adjust button and input default size #TINFR-3841 ([#3869](/github.com/atinc/ngx-tethys/issues/3869)) ([a4d8ee0](github.com/atinc/ngx-tethys/commits/a4d8ee09b538597f48ab60def2106f46e814588a)), closes [#TINFR-3841](github.com/atinc/ngx-tethys/issues/TINFR-3841)
34
+ * **core:** add ThyFormControlSize, remove SelectControlSize #NEXUS-4981 ([#3875](/github.com/atinc/ngx-tethys/issues/3875)) ([67be811](github.com/atinc/ngx-tethys/commits/67be811527acfceec089b372ba65d54974029cbe)), closes [#NEXUS-4981](github.com/atinc/ngx-tethys/issues/NEXUS-4981)
35
+ * **schematics:** migrate clear to thyClear for thy-input-search #NEXUS-5046 ([#3891](/github.com/atinc/ngx-tethys/issues/3891)) ([2d1cfb5](github.com/atinc/ngx-tethys/commits/2d1cfb56cda6f2eb62cdd3a6024372f8e809ed0a)), closes [#NEXUS-5046](github.com/atinc/ngx-tethys/issues/NEXUS-5046)
36
+ * **schematics:** migrate CompatibleDate to ThyCompatibleDate for date-picker #NEXUS-5068 ([#3896](/github.com/atinc/ngx-tethys/issues/3896)) ([9d26bc1](github.com/atinc/ngx-tethys/commits/9d26bc1919569d72328bd162546a973fcfaa212b)), closes [#NEXUS-5068](github.com/atinc/ngx-tethys/issues/NEXUS-5068)
37
+ * **schematics:** migrate ThyActiveTabInfo to ThyActiveTabValue for thy-tabs #NEXUS-5023 ([1b336d2](github.com/atinc/ngx-tethys/commits/1b336d27cc9c1c9774ed563937ac3e1d14666307)), closes [#NEXUS-5023](github.com/atinc/ngx-tethys/issues/NEXUS-5023)
38
+ * **schematics:** migrate thyContext to thyContent for thy-badge #NEXUS-5066 ([#3893](/github.com/atinc/ngx-tethys/issues/3893)) ([deb9b7a](github.com/atinc/ngx-tethys/commits/deb9b7a88f35976697b6f6593f2b779028abefe1)), closes [#NEXUS-5066](github.com/atinc/ngx-tethys/issues/NEXUS-5066)
39
+ * **schematics:** migrate ThyDialogSizes.supperLg to superLg #NEXUS-5069 ([#3894](/github.com/atinc/ngx-tethys/issues/3894)) ([4677cdd](github.com/atinc/ngx-tethys/commits/4677cddc11f29e7a0946b9ab9c17cbc69a9204af)), closes [#NEXUS-5069](github.com/atinc/ngx-tethys/issues/NEXUS-5069)
40
+ * **schematics:** migrate thyHasBorder to thyDivided for thy-header #NEXUS-5001 ([#3877](/github.com/atinc/ngx-tethys/issues/3877)) ([574a208](github.com/atinc/ngx-tethys/commits/574a20834449de0ae4bd872fb715045f34045885)), closes [#NEXUS-5001](github.com/atinc/ngx-tethys/issues/NEXUS-5001)
41
+ * **schematics:** migrate thyNavLink to thyNavItem and migrate thyNavLinkActive to thyNavItemActive for thy-nav-item #NEXUS-5002 ([#3878](/github.com/atinc/ngx-tethys/issues/3878)) ([cb6b877](github.com/atinc/ngx-tethys/commits/cb6b877eda44fc4b4d7f3d747bca77ffc5609ac4)), closes [#NEXUS-5002](github.com/atinc/ngx-tethys/issues/NEXUS-5002)
42
+ * **schematics:** migrate thyShowRemove to thyRemovable and thyOnRemove to thyRemove for thy-avatar #NEXUS-5028 ([1e9811c](github.com/atinc/ngx-tethys/commits/1e9811ca261b6ce909bb93f184aa458fd9251f03)), closes [#NEXUS-5028](github.com/atinc/ngx-tethys/issues/NEXUS-5028)
43
+ * **schematics:** migrate ThyStackedValue to ThyProgressStackedValue for progress #NEXUS-5067 ([#3895](/github.com/atinc/ngx-tethys/issues/3895)) ([2de37f7](github.com/atinc/ngx-tethys/commits/2de37f7c11d695dbbf4e8080ed69062e98f25eb5)), closes [#NEXUS-5067](github.com/atinc/ngx-tethys/issues/NEXUS-5067)
44
+ * **schematics:** migrate thyTheme to thyAppearance for thy-action #NEXUS-4996 ([#3873](/github.com/atinc/ngx-tethys/issues/3873)) ([95f0ad8](github.com/atinc/ngx-tethys/commits/95f0ad897249c4dd6f8513ccacb82c0a17d7e8a6)), closes [#NEXUS-4996](github.com/atinc/ngx-tethys/issues/NEXUS-4996)
45
+ * **schematics:** migrate thyTheme to thyAppearance for thy-tag, including weak-fill to subtle conversion #NEXUS-4997 ([#3876](/github.com/atinc/ngx-tethys/issues/3876)) ([ad5a023](github.com/atinc/ngx-tethys/commits/ad5a0230cf87ae94c027aa3688e9fe171e6ce572)), closes [#NEXUS-4997](github.com/atinc/ngx-tethys/issues/NEXUS-4997)
46
+ * **schematics:** migrate type to thyType for thy-input #NEXUS-5014 ([#3879](/github.com/atinc/ngx-tethys/issues/3879)) ([ef1bc2e](github.com/atinc/ngx-tethys/commits/ef1bc2e3a3711dcd3a5c395df33606edc582d473)), closes [#NEXUS-5014](github.com/atinc/ngx-tethys/issues/NEXUS-5014)
47
+ * **schematics:** replace thyAutocompleteComponent with thyAutocomplete for trigger #NEXUS-5065 ([#3892](/github.com/atinc/ngx-tethys/issues/3892)) ([a4b3539](github.com/atinc/ngx-tethys/commits/a4b3539b091d9ed9039045b7acf07671216825ae)), closes [#NEXUS-5065](github.com/atinc/ngx-tethys/issues/NEXUS-5065)
48
+ * **schematics:** unify placeholder input and thyPlaceHolder to thyPlaceholder #NEXUS-5016 ([#3890](/github.com/atinc/ngx-tethys/issues/3890)) ([7a455bd](github.com/atinc/ngx-tethys/commits/7a455bd12bd90fc3bd3d289be6367e133b83ae07)), closes [#NEXUS-5016](github.com/atinc/ngx-tethys/issues/NEXUS-5016)
49
+ * **style:** add bg-*-subtile token #NEXUS-4936 ([#3885](/github.com/atinc/ngx-tethys/issues/3885)) ([b8b9a4d](github.com/atinc/ngx-tethys/commits/b8b9a4d74e779524c4b1a5177e2aabb0f8278a3a)), closes [#NEXUS-4936](github.com/atinc/ngx-tethys/issues/NEXUS-4936)
50
+ * **style:** add z-index token and overflow-x/y token #NEXUS-4592 ([94660bb](github.com/atinc/ngx-tethys/commits/94660bb6b07a6eb9ad087a85177d5fee243230dc)), closes [#NEXUS-4592](github.com/atinc/ngx-tethys/issues/NEXUS-4592)
51
+ * **styles:** spacing utilities support ms/me and ps/pe #NEXUS-4977 ([#3872](/github.com/atinc/ngx-tethys/issues/3872)) ([701a8ec](github.com/atinc/ngx-tethys/commits/701a8ec472c1e46ee3306ea6110847f900db5172)), closes [#NEXUS-4977](github.com/atinc/ngx-tethys/issues/NEXUS-4977) [#NEXUS-4977](github.com/atinc/ngx-tethys/issues/NEXUS-4977)
52
+
53
+ # [22.0.0-next.0](github.com/atinc/ngx-tethys/compare/21.0.12...22.0.0-next.0) (2026-08-26)
54
+
55
+ ### Features
56
+
57
+ * build: upgrade ng to v22 #TINFR-3745 ([#3824](/github.com/atinc/ngx-tethys/issues/3824)) ([7767bf2c](github.com/atinc/ngx-tethys/commits/7767bf2cebd90f468872953c8255542201aa379e)), closes [#TINFR-3745](github.com/atinc/ngx-tethys/issues/TINFR-3745)
58
+
59
+
60
+
5
61
  ## [21.0.13](github.com/atinc/ngx-tethys/compare/21.0.12...21.0.13) (2026-09-03)
6
62
 
7
63
 
@@ -11,6 +67,7 @@ All notable changes to this project will be documented in this file. See [commit
11
67
  * **style:** add z-index token and overflow-x/y token #NEXUS-4592 ([94660bb](github.com/atinc/ngx-tethys/commits/94660bb6b07a6eb9ad087a85177d5fee243230dc)), closes [#NEXUS-4592](github.com/atinc/ngx-tethys/issues/NEXUS-4592)
12
68
  * **styles:** spacing utilities support ms/me and ps/pe #NEXUS-4977 ([#3872](/github.com/atinc/ngx-tethys/issues/3872)) ([701a8ec](github.com/atinc/ngx-tethys/commits/701a8ec472c1e46ee3306ea6110847f900db5172)), closes [#NEXUS-4977](github.com/atinc/ngx-tethys/issues/NEXUS-4977) [#NEXUS-4977](github.com/atinc/ngx-tethys/issues/NEXUS-4977)
13
69
 
70
+
14
71
  ## [21.0.12](github.com/atinc/ngx-tethys/compare/21.0.11...21.0.12) (2026-08-26)
15
72
 
16
73
 
@@ -34,45 +34,18 @@
34
34
  @include mixin.set-badge-size(1rem, 0.75rem, 4px);
35
35
  }
36
36
 
37
- .thy-badge-dot {
38
- padding: 0;
39
- width: 10px;
40
- height: 10px;
41
- border-radius: 50%;
42
- // vertical-align: middle;
43
- }
44
-
45
- .thy-badge-hollow {
46
- padding: 0;
47
- width: 10px;
48
- height: 10px;
49
- border-radius: 50%;
50
- // vertical-align: middle;
51
- border: solid 1px variables.$badge-bg;
52
- background-color: transparent;
53
- }
54
-
55
37
  // #endregion
56
38
  // #region
57
39
  .thy-badge-danger {
58
40
  @include mixin.set-badge-color(variables.$white, variables.$badge-danger-color);
59
- &.thy-badge-hollow {
60
- background-color: transparent;
61
- }
62
41
  }
63
42
 
64
43
  .thy-badge-warning {
65
44
  @include mixin.set-badge-color(variables.$white, variables.$warning);
66
- &.thy-badge-hollow {
67
- background-color: transparent;
68
- }
69
45
  }
70
46
 
71
47
  .thy-badge-primary {
72
48
  @include mixin.set-badge-color(variables.$white, variables.$primary);
73
- &.thy-badge-hollow {
74
- background-color: transparent;
75
- }
76
49
  }
77
50
 
78
51
  .thy-badge-default {
@@ -81,21 +54,11 @@
81
54
 
82
55
  .thy-badge-success {
83
56
  @include mixin.set-badge-color(variables.$white, variables.$success);
84
- &.thy-badge-hollow {
85
- background-color: transparent;
86
- }
87
57
  }
88
58
 
89
59
  // 使用 thy-badge-default,暂时没有去除
90
60
  .thy-badge-secondary {
91
61
  @include mixin.set-badge-color(variables.$gray-600, variables.$gray-200);
92
- &.thy-badge-dot {
93
- @include mixin.set-badge-color(variables.$gray-600, variables.$gray-400);
94
- }
95
- &.thy-badge-hollow {
96
- background-color: transparent;
97
- @include mixin.set-badge-color(variables.$gray-600, variables.$gray-400);
98
- }
99
62
  }
100
63
 
101
64
  // #endregion
@@ -114,26 +77,12 @@
114
77
  &.thy-badge-count {
115
78
  @include mixin.set-badge-size(1.5rem, 0.875rem, 4px);
116
79
  }
117
- &.thy-badge-dot,
118
- &.thy-badge-hollow {
119
- width: 10px;
120
- height: 10px;
121
- }
122
-
123
- &.thy-badge-hollow {
124
- border-width: 2px;
125
- }
126
80
  }
127
81
 
128
82
  .thy-badge-sm {
129
83
  &.thy-badge-count {
130
84
  @include mixin.set-badge-size(0.875rem, 0.75rem, 3px);
131
85
  }
132
- &.thy-badge-dot,
133
- &.thy-badge-hollow {
134
- width: 6px;
135
- height: 6px;
136
- }
137
86
  }
138
87
 
139
88
  // #endregion
@@ -18,10 +18,6 @@
18
18
  > .btn {
19
19
  position: relative;
20
20
  flex: 0 1 auto;
21
- padding: variables.$btn-padding-y variables.$btn-group-btn-padding-x-md;
22
- &.thy-btn-icon-only {
23
- @include mixin.btn-icon-only-variant(variables.$btn-padding-y, 0.625rem);
24
- }
25
21
  // Bring the hover, focused, and "active" buttons to the front to overlay
26
22
  // the borders properly
27
23
  @include hover.hover {
@@ -107,7 +103,7 @@
107
103
  @extend .btn-md;
108
104
  padding: variables.$btn-group-btn-padding-y-md variables.$btn-group-btn-padding-x-md;
109
105
  &.thy-btn-icon-only {
110
- @include mixin.btn-icon-only-variant(variables.$btn-group-btn-padding-y-md, 0.5rem);
106
+ @include mixin.btn-icon-only-variant(variables.$btn-group-btn-padding-y-md, variables.$btn-icon-only-padding-x-md);
111
107
  }
112
108
  }
113
109
  .btn-group-lg > .btn {
@@ -23,12 +23,6 @@
23
23
  @include mixin.btn-icon-active(variables.$primary);
24
24
  }
25
25
 
26
- @include mixin.btn-icon-size-variant(
27
- variables.$font-size-md,
28
- variables.$btn-icon-circle-padding-base,
29
- variables.$font-size-md,
30
- variables.$input-btn-height
31
- );
32
26
  }
33
27
 
34
28
  .btn-icon.btn-icon-danger-weak {
@@ -137,7 +131,7 @@
137
131
 
138
132
  &.active,
139
133
  &.btn-icon-active {
140
- @include mixin.btn-icon-circle-active(variables.$primary, variables.$btn-icon-circle-padding-base);
134
+ @include mixin.btn-icon-circle-active(variables.$primary, variables.$btn-icon-circle-padding-md);
141
135
  }
142
136
  }
143
137
 
@@ -180,7 +174,7 @@
180
174
  );
181
175
  &.btn-icon-circle.active,
182
176
  &.btn-icon-circle.btn-icon-active {
183
- @include mixin.btn-icon-circle-active(variables.$primary, variables.$btn-icon-circle-padding-base);
177
+ @include mixin.btn-icon-circle-active(variables.$primary, variables.$btn-icon-circle-padding-md);
184
178
  }
185
179
  }
186
180
 
@@ -204,17 +198,17 @@
204
198
  i,
205
199
  .wtf {
206
200
  border: 2px solid variables.$primary;
207
- padding: variables.$btn-icon-circle-padding-base - variables.$btn-icon-circle-padding-difference;
201
+ padding: variables.$btn-icon-circle-padding-md - variables.$btn-icon-circle-padding-difference;
208
202
  color: variables.$primary;
209
203
  }
210
204
  &.border-thick {
211
205
  i,
212
206
  .wtf {
213
- padding: variables.$btn-icon-circle-padding-base - variables.$btn-icon-circle-padding-difference;
207
+ padding: variables.$btn-icon-circle-padding-md - variables.$btn-icon-circle-padding-difference;
214
208
  }
215
209
  i,
216
210
  .wtf {
217
- padding: variables.$btn-icon-circle-padding-base - variables.$btn-icon-circle-padding-difference;
211
+ padding: variables.$btn-icon-circle-padding-md - variables.$btn-icon-circle-padding-difference;
218
212
  }
219
213
  }
220
214
  }
@@ -1,3 +1,4 @@
1
+ @use 'sass:list';
1
2
  @use 'sass:meta';
2
3
  @use '../../styles/bootstrap/functions-variables';
3
4
  @use '../../styles/mixins/hover';
@@ -28,22 +29,9 @@
28
29
  line-height: 1rem;
29
30
  }
30
31
 
31
- @include mixin.button-size(
32
- variables.$btn-padding-y,
33
- variables.$btn-padding-x,
34
- variables.$btn-font-size-base,
35
- variables.$btn-line-height,
36
- variables.$btn-border-radius,
37
- variables.$btn-base-min-width
38
- );
39
-
40
32
  // icon space
41
33
  @include mixin.button-icon-spacing(7px);
42
34
 
43
- &.thy-btn-icon-only {
44
- @include mixin.btn-icon-only-variant(variables.$btn-padding-y, variables.$btn-icon-only-padding-x);
45
- }
46
-
47
35
  @include hover.hover-focus {
48
36
  text-decoration: none;
49
37
  @include transition.transition(bootstrap-variables.$btn-transition); // Share hover and focus styles
@@ -97,6 +85,23 @@ fieldset:disabled a.btn {
97
85
  }
98
86
  }
99
87
 
88
+ .btn-default {
89
+ @include mixin.button-variant(
90
+ variables.$gray-700,
91
+ variables.$gray-700,
92
+ variables.$gray-200,
93
+ variables.$gray-200,
94
+ variables.$gray-200,
95
+ variables.$gray-200,
96
+ variables.$gray-200,
97
+ variables.$gray-200
98
+ );
99
+
100
+ &:hover {
101
+ @include shadow.box-shadow(0px 2px 5px 1px variables.$gray-80);
102
+ }
103
+ }
104
+
100
105
  @each $color, $value in functions-variables.$theme-colors {
101
106
  .btn-outline-#{$color} {
102
107
  @include mixin.button-outline-variant($value, $value, variables.$white, $value, null, $value, null);
@@ -115,11 +120,6 @@ fieldset:disabled a.btn {
115
120
  );
116
121
  }
117
122
 
118
- // 圆角方正,回归正常的圆角
119
- .btn-square {
120
- @include mixin.btn-square-radius();
121
- }
122
-
123
123
  //
124
124
  // Button Sizes
125
125
  //
@@ -143,12 +143,12 @@ fieldset:disabled a.btn {
143
143
  variables.$btn-padding-y-md,
144
144
  variables.$btn-padding-x-md,
145
145
  variables.$btn-font-size-md,
146
- variables.$btn-line-height,
146
+ variables.$btn-line-height-md,
147
147
  variables.$btn-border-radius,
148
148
  variables.$btn-md-min-width
149
149
  );
150
150
  &.thy-btn-icon-only {
151
- @include mixin.btn-icon-only-variant(variables.$btn-padding-y-md, 0.5rem);
151
+ @include mixin.btn-icon-only-variant(variables.$btn-padding-y-md, variables.$btn-icon-only-padding-x-md);
152
152
  }
153
153
  }
154
154
 
@@ -185,22 +185,51 @@ fieldset:disabled a.btn {
185
185
  //
186
186
  // Link buttons
187
187
  //
188
- // Make a button look and behave like a link
189
- .btn-link {
188
+ $btn-link-color-map: (
189
+ 'default': (
190
+ variables.$gray-500,
191
+ variables.$primary,
192
+ none
193
+ ),
194
+ 'primary': (
195
+ variables.$link-color,
196
+ variables.$link-hover-color,
197
+ variables.$link-hover-decoration
198
+ ),
199
+ 'info': (
200
+ variables.$info,
201
+ variables.$primary,
202
+ none
203
+ ),
204
+ 'warning': (
205
+ variables.$warning,
206
+ variables.$warning,
207
+ none
208
+ ),
209
+ 'danger': (
210
+ variables.$danger,
211
+ variables.$danger,
212
+ underline
213
+ ),
214
+ 'success': (
215
+ variables.$success,
216
+ variables.$success,
217
+ underline
218
+ )
219
+ );
220
+
221
+ @mixin btn-link-shell {
190
222
  font-weight: bootstrap-variables.$font-weight-normal;
191
- color: variables.$link-color;
192
223
  background-color: transparent;
224
+ border-color: transparent;
193
225
 
194
226
  @include hover.hover {
195
- color: variables.$link-hover-color;
196
- text-decoration: variables.$link-hover-decoration;
197
227
  background-color: transparent;
198
228
  border-color: transparent;
199
229
  }
200
230
 
201
231
  &:focus,
202
232
  &.focus {
203
- text-decoration: variables.$link-hover-decoration;
204
233
  border-color: transparent;
205
234
  box-shadow: variables.$box-shadow-none;
206
235
  }
@@ -208,20 +237,26 @@ fieldset:disabled a.btn {
208
237
  &.disabled,
209
238
  &:disabled {
210
239
  background-color: transparent;
240
+ border-color: transparent;
241
+ color: variables.$btn-link-disabled-color;
211
242
 
212
243
  @include hover.hover-focus {
213
244
  color: variables.$btn-link-disabled-color;
214
245
  text-decoration: none;
215
246
  }
216
247
  }
248
+ }
217
249
 
218
- &:disabled,
219
- &.disabled {
220
- color: variables.$btn-link-disabled-color;
221
- border-color: transparent;
222
- }
250
+ .btn-link {
251
+ @include btn-link-shell;
252
+ @include mixin.btn-link-variant(variables.$link-color, variables.$link-hover-color, variables.$link-hover-decoration);
253
+ }
223
254
 
224
- // No need for an active state here
255
+ @each $type, $colors in $btn-link-color-map {
256
+ .btn-link-#{$type} {
257
+ @include btn-link-shell;
258
+ @include mixin.btn-link-variant(list.nth($colors, 1), list.nth($colors, 2), list.nth($colors, 3));
259
+ }
225
260
  }
226
261
 
227
262
  // 去除按钮图标和按钮链接的最小宽度
@@ -230,32 +265,10 @@ fieldset:disabled a.btn {
230
265
  min-width: 0px;
231
266
  }
232
267
 
233
- .btn-link.btn-link-info {
234
- @include mixin.btn-link-variant(variables.$info, variables.$primary, none);
235
- }
236
-
237
- // 兼容之前的样式
238
- .btn-link.btn-link-default {
239
- @include mixin.btn-link-variant(variables.$btn-link-color-default, variables.$primary, none);
240
- }
241
-
242
- // 默认显示灰色,鼠标移上去显示主色
243
- .btn-link.btn-link-primary-weak {
244
- @include mixin.btn-link-variant(variables.$gray-500, variables.$primary, none);
245
- }
246
-
247
- // 默认显示灰色,鼠标移上去显示红色
248
- .btn-link.btn-link-danger-weak {
249
- @include mixin.btn-link-variant(variables.$gray-500, variables.$danger, none);
250
- }
251
-
252
- // 默认显示灰色,鼠标移上去显示红色
253
- .btn-link.btn-link-danger {
254
- @include mixin.btn-link-variant(variables.$danger, variables.$danger, underline);
255
- }
256
-
257
- .btn-link.btn-link-success {
258
- @include mixin.btn-link-variant(variables.$success, variables.$success, underline);
268
+ @each $type, $colors in $btn-link-color-map {
269
+ .btn.btn-link-#{$type} {
270
+ min-width: 0px;
271
+ }
259
272
  }
260
273
 
261
274
  //
@@ -287,10 +300,23 @@ input[type='button'] {
287
300
  &.btn-link {
288
301
  margin-left: variables.$btn-pair-child-link-margin-left;
289
302
  }
303
+
304
+ @each $type, $colors in $btn-link-color-map {
305
+ &.btn-link-#{$type} {
306
+ margin-left: variables.$btn-pair-child-link-margin-left;
307
+ }
308
+ }
290
309
  }
310
+
291
311
  .btn-link + .btn {
292
312
  margin-left: variables.$btn-pair-child-link-margin-left;
293
313
  }
314
+
315
+ @each $type, $colors in $btn-link-color-map {
316
+ .btn-link-#{$type} + .btn {
317
+ margin-left: variables.$btn-pair-child-link-margin-left;
318
+ }
319
+ }
294
320
  }
295
321
 
296
322
  .btn-pair-sm {
@@ -83,6 +83,12 @@
83
83
  &.btn-link {
84
84
  padding: $padding-y 10px;
85
85
  }
86
+
87
+ @each $type in default, primary, info, warning, danger, success {
88
+ &.btn-link-#{$type} {
89
+ padding: $padding-y 10px;
90
+ }
91
+ }
86
92
  }
87
93
 
88
94
  @mixin button-hover-box-shadow($color) {
@@ -135,17 +141,6 @@
135
141
  }
136
142
  }
137
143
 
138
- @mixin btn-square-radius {
139
- // 设置大小也不影响 border-radius
140
- border-radius: variables.$border-radius;
141
- &.btn-lg,
142
- &.btn-md,
143
- &.btn-sm,
144
- &.btn-xs {
145
- border-radius: variables.$border-radius;
146
- }
147
- }
148
-
149
144
  @mixin btn-icon-circle-hover-variant($round-padding, $btn-icon-circle-font-size, $diameter) {
150
145
  &.btn-icon-circle {
151
146
  i,
@@ -3,6 +3,14 @@
3
3
  @include button-hover-box-shadow($primary);
4
4
  }
5
5
 
6
+ .btn-default {
7
+ @include button-variant($gray-700, $gray-700, $gray-200, $gray-200, $gray-200, $gray-200, $gray-200, $gray-200);
8
+
9
+ &:hover {
10
+ box-shadow: 0px 2px 5px 1px $gray-80;
11
+ }
12
+ }
13
+
6
14
  .btn-outline-primary {
7
15
  @include button-outline-variant($primary, $primary, $white, $primary, null, $primary, null);
8
16
  }
@@ -25,31 +33,27 @@
25
33
  }
26
34
  }
27
35
 
28
- .btn-link.btn-link-info {
29
- @include btn-link-variant($info, $primary, none);
36
+ .btn-link-default {
37
+ @include btn-link-variant($gray-500, $primary, none);
30
38
  }
31
39
 
32
- // 兼容之前的样式
33
- .btn-link.btn-link-default {
34
- @include btn-link-variant($btn-link-color-default, $primary, none);
40
+ .btn-link-primary {
41
+ @include btn-link-variant($link-color, $link-hover-color, $link-hover-decoration);
35
42
  }
36
43
 
37
- // 默认显示灰色,鼠标移上去显示主色
38
- .btn-link.btn-link-primary-weak {
39
- @include btn-link-variant($gray-500, $primary, none);
44
+ .btn-link-info {
45
+ @include btn-link-variant($info, $primary, none);
40
46
  }
41
47
 
42
- // 默认显示灰色,鼠标移上去显示红色
43
- .btn-link.btn-link-danger-weak {
44
- @include btn-link-variant($gray-500, $danger, none);
48
+ .btn-link-warning {
49
+ @include btn-link-variant($warning, $warning, none);
45
50
  }
46
51
 
47
- // 默认显示灰色,鼠标移上去显示红色
48
- .btn-link.btn-link-danger {
52
+ .btn-link-danger {
49
53
  @include btn-link-variant($danger, $danger, underline);
50
54
  }
51
55
 
52
- .btn-link.btn-link-success {
56
+ .btn-link-success {
53
57
  @include btn-link-variant($success, $success, underline);
54
58
  }
55
59
 
@@ -65,19 +65,6 @@
65
65
  );
66
66
  }
67
67
 
68
- .thy-card-header {
69
- &--sm {
70
- padding-top: 0;
71
- }
72
-
73
- &--lg {
74
- padding: {
75
- top: 15px;
76
- bottom: 15px;
77
- }
78
- }
79
- }
80
-
81
68
  .thy-card-content {
82
69
  flex: auto;
83
70
 
@@ -93,11 +80,6 @@
93
80
  overflow-y: auto;
94
81
  overflow-x: hidden;
95
82
  }
96
-
97
- &--sm {
98
- padding-top: 0px;
99
- padding-bottom: 10px;
100
- }
101
83
  }
102
84
 
103
85
  // 分割的模式, 头底部出现分割线,标题前面的垂直分割符隐藏,上下间距变大
@@ -114,23 +96,6 @@
114
96
  }
115
97
  }
116
98
 
117
- &--clear-left-right-padding {
118
- .thy-card-header {
119
- padding-left: 0;
120
- padding-right: 0;
121
- }
122
-
123
- .thy-card-content {
124
- padding-left: 0;
125
- padding-right: 0;
126
- // @deprecated remove in v11
127
- &--alignment-title {
128
- padding-left: 10px;
129
- padding-right: 10px;
130
- }
131
- }
132
- }
133
-
134
99
  &--bordered {
135
100
  border: 1px solid variables.$card-border-color;
136
101
  }
@@ -31,10 +31,6 @@
31
31
  top: $divided-content-padding-y;
32
32
  bottom: $divided-content-padding-y;
33
33
  }
34
- // 兼容 content 的 sm 大小,新的 card 大小完全由 thy-card 的 thySize 决定
35
- &--sm {
36
- padding-top: 12px;
37
- }
38
34
  }
39
35
  }
40
36
  }
@@ -124,7 +124,11 @@
124
124
  border-color: variables.$primary;
125
125
  }
126
126
  .form-control {
127
- padding-right: variables.$input-padding-x + variables.$font-size-md;
127
+ padding-right: variables.$input-padding-x-md + variables.$font-size-md;
128
+
129
+ &.form-control-lg {
130
+ padding-right: variables.$input-padding-x-lg + variables.$font-size-md;
131
+ }
128
132
  }
129
133
 
130
134
  &-input {
@@ -171,7 +171,6 @@
171
171
  }
172
172
  }
173
173
 
174
- // expect supper-lg
175
174
  .cdk-overlay-pane {
176
175
  &.dialog-md,
177
176
  &.dialog-sm,
@@ -180,8 +179,6 @@
180
179
  max-height: variables.$dialog-default-max-height;
181
180
  }
182
181
 
183
- // supper lg
184
- &.dialog-supper-lg,
185
182
  &.dialog-super-lg {
186
183
  width: variables.$dialog-super-lg-width;
187
184
  height: variables.$dialog-super-lg-height;