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.
- package/CHANGELOG.md +57 -0
- package/badge/styles/badge.scss +0 -51
- package/button/styles/button-group.scss +1 -5
- package/button/styles/button-icon.scss +5 -11
- package/button/styles/button.scss +84 -58
- package/button/styles/mixin.scss +6 -11
- package/button/styles/theme.scss +18 -14
- package/card/styles/card.scss +0 -35
- package/card/styles/mixin.scss +0 -4
- package/date-picker/styles/picker.scss +5 -1
- package/dialog/styles/dialog.scss +0 -3
- package/fesm2022/ngx-tethys-action.mjs +35 -33
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +15 -13
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-alert.mjs +26 -19
- package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +39 -33
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +32 -21
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +47 -47
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +59 -63
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +17 -13
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +31 -44
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +24 -19
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +81 -84
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +37 -28
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +32 -48
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +34 -25
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +96 -62
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -10
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +35 -25
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +85 -62
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +21 -18
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +15 -11
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +30 -27
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +370 -290
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +34 -24
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +60 -48
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +23 -24
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +8 -9
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +77 -68
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +38 -86
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +15 -12
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +81 -65
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +19 -17
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +73 -57
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +18 -18
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +5 -4
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +19 -16
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +28 -25
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +27 -19
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +122 -96
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +116 -133
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +48 -34
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +11 -10
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +24 -18
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +64 -49
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +29 -27
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-native-table.mjs +289 -193
- package/fesm2022/ngx-tethys-native-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +90 -73
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +38 -29
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +40 -28
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +36 -30
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +64 -41
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property-operation.mjs +15 -14
- package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +39 -32
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +31 -25
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +37 -25
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +29 -26
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +25 -17
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +30 -22
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +95 -57
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +192 -136
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +94 -66
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +48 -38
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +26 -18
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +18 -15
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +51 -30
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +43 -33
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +12 -11
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +25 -17
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +39 -50
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +54 -39
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +28 -33
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +124 -75
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +40 -29
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +29 -22
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +39 -26
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +91 -58
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +79 -50
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +21 -18
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +24 -21
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +13 -11
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +13 -10
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/styles/forms.scss +4 -16
- package/form/styles/mixin.scss +1 -1
- package/input/styles/input-group.scss +7 -12
- package/input/styles/input.scss +16 -4
- package/input-number/styles/input-number.scss +5 -1
- package/package.json +3 -3
- package/schematics/dependencies.js +1 -1
- package/schematics/ng-update/migration-collection.json +4 -4
- package/schematics/ng-update/update-22/badge-dot-hollow-migration.d.ts +6 -0
- package/schematics/ng-update/update-22/badge-dot-hollow-migration.js +69 -0
- package/schematics/ng-update/update-22/badge-dot-hollow-migration.spec.js +80 -0
- package/schematics/ng-update/update-22/button-appearance-migration.d.ts +18 -0
- package/schematics/ng-update/update-22/button-appearance-migration.js +126 -0
- package/schematics/ng-update/update-22/button-appearance-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/button-appearance-migration.spec.js +61 -0
- package/schematics/ng-update/update-22/card-deprecated-props-migration.d.ts +6 -0
- package/schematics/ng-update/update-22/card-deprecated-props-migration.js +149 -0
- package/schematics/ng-update/update-22/card-deprecated-props-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/card-deprecated-props-migration.spec.js +67 -0
- package/schematics/ng-update/update-22/class-name-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/class-name-migration.spec.js +121 -0
- package/schematics/ng-update/update-22/css-selectors-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/css-selectors-migration.spec.js +72 -0
- package/schematics/ng-update/update-22/css-tokens-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/css-tokens-migration.spec.js +80 -0
- package/schematics/ng-update/update-22/date-picker-popover-options-migration.d.ts +14 -0
- package/schematics/ng-update/update-22/date-picker-popover-options-migration.js +160 -0
- package/schematics/ng-update/update-22/date-picker-popover-options-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/date-picker-popover-options-migration.spec.js +105 -0
- package/schematics/ng-update/update-22/divider-deeper-migration.d.ts +12 -0
- package/schematics/ng-update/update-22/divider-deeper-migration.js +46 -0
- package/schematics/ng-update/update-22/divider-deeper-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/divider-deeper-migration.spec.js +41 -0
- package/schematics/ng-update/update-22/header-icon-prefix-migration.d.ts +9 -0
- package/schematics/ng-update/update-22/header-icon-prefix-migration.js +64 -0
- package/schematics/ng-update/update-22/header-icon-prefix-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/header-icon-prefix-migration.spec.js +35 -0
- package/schematics/ng-update/update-22/index.js +33 -0
- package/schematics/ng-update/update-22/index.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/index.spec.js +888 -0
- package/schematics/ng-update/update-22/input-control-size-migration.d.ts +10 -0
- package/schematics/ng-update/update-22/input-control-size-migration.js +118 -0
- package/schematics/ng-update/update-22/input-control-size-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/input-control-size-migration.spec.js +88 -0
- package/schematics/ng-update/update-22/nav-inside-closable-migration.d.ts +10 -0
- package/schematics/ng-update/update-22/nav-inside-closable-migration.js +103 -0
- package/schematics/ng-update/update-22/nav-inside-closable-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/nav-inside-closable-migration.spec.js +81 -0
- package/schematics/ng-update/update-22/table-show-header-migration.d.ts +8 -0
- package/schematics/ng-update/update-22/table-show-header-migration.js +75 -0
- package/schematics/ng-update/update-22/table-show-header-migration.spec.d.ts +1 -0
- package/schematics/ng-update/update-22/table-show-header-migration.spec.js +72 -0
- package/schematics/ng-update/update-22/tag-appearance-migration.d.ts +12 -0
- package/schematics/ng-update/update-22/tag-appearance-migration.js +32 -0
- package/schematics/ng-update/update-22/update-data.js +261 -0
- package/schematics/package.json +3 -0
- package/schematics/tsconfig.json +3 -1
- package/schematics/utils/create-tree-compiler-host.js +1 -0
- package/schematics/utils/create-tree-ts-parse-config-host.js +1 -0
- package/schematics/utils/get-angular-json.js +1 -0
- package/schematics/utils/get-workspace-tsconfig.js +1 -0
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/shared/select/select-control/select-control.scss +0 -6
- package/shared/select/styles/select.mixin.scss +1 -1
- package/styles/bootstrap/_variables.scss +2 -2
- package/styles/variables.scss +12 -29
- package/types/ngx-tethys-action.d.ts +2 -9
- package/types/ngx-tethys-anchor.d.ts +1 -1
- package/types/ngx-tethys-autocomplete.d.ts +2 -9
- package/types/ngx-tethys-avatar.d.ts +29 -48
- package/types/ngx-tethys-badge.d.ts +1 -15
- package/types/ngx-tethys-button.d.ts +21 -15
- package/types/ngx-tethys-card.d.ts +4 -19
- package/types/ngx-tethys-cascader.d.ts +6 -5
- package/types/ngx-tethys-collapse.d.ts +5 -4
- package/types/ngx-tethys-core.d.ts +3 -1
- package/types/ngx-tethys-date-picker.d.ts +12 -26
- package/types/ngx-tethys-dialog.d.ts +0 -5
- package/types/ngx-tethys-divider.d.ts +1 -6
- package/types/ngx-tethys-empty.d.ts +4 -36
- package/types/ngx-tethys-input-number.d.ts +2 -3
- package/types/ngx-tethys-input.d.ts +26 -37
- package/types/ngx-tethys-layout.d.ts +75 -87
- package/types/ngx-tethys-menu.d.ts +4 -3
- package/types/ngx-tethys-nav.d.ts +3 -14
- package/types/ngx-tethys-progress.d.ts +1 -5
- package/types/ngx-tethys-property.d.ts +0 -4
- package/types/ngx-tethys-select.d.ts +6 -7
- package/types/ngx-tethys-shared.d.ts +3 -4
- package/types/ngx-tethys-table.d.ts +1 -17
- package/types/ngx-tethys-tabs.d.ts +7 -7
- package/types/ngx-tethys-tag.d.ts +4 -11
- package/types/ngx-tethys-time-picker.d.ts +5 -5
- package/types/ngx-tethys-tree-select.d.ts +6 -12
- package/badge/examples/state-point/state-point.component.scss +0 -11
- package/schematics/ng-update/update-21/index.js +0 -10
- package/schematics/ng-update/update-21/index.spec.js +0 -22
- package/schematics/ng-update/update-21/update-data.js +0 -16
- /package/schematics/ng-update/{update-21/index.spec.d.ts → update-22/badge-dot-hollow-migration.spec.d.ts} +0 -0
- /package/schematics/ng-update/{update-21 → update-22}/class-name-migration.d.ts +0 -0
- /package/schematics/ng-update/{update-21 → update-22}/class-name-migration.js +0 -0
- /package/schematics/ng-update/{update-21 → update-22}/index.d.ts +0 -0
- /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
|
|
package/badge/styles/badge.scss
CHANGED
|
@@ -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,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,
|
|
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
|
-
|
|
189
|
-
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
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
|
-
|
|
234
|
-
|
|
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 {
|
package/button/styles/mixin.scss
CHANGED
|
@@ -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,
|
package/button/styles/theme.scss
CHANGED
|
@@ -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
|
|
29
|
-
@include btn-link-variant($
|
|
36
|
+
.btn-link-default {
|
|
37
|
+
@include btn-link-variant($gray-500, $primary, none);
|
|
30
38
|
}
|
|
31
39
|
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
56
|
+
.btn-link-success {
|
|
53
57
|
@include btn-link-variant($success, $success, underline);
|
|
54
58
|
}
|
|
55
59
|
|
package/card/styles/card.scss
CHANGED
|
@@ -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
|
}
|
package/card/styles/mixin.scss
CHANGED
|
@@ -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;
|