@delon/theme 20.0.0 → 20.0.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.
@@ -210,7 +210,7 @@ declare class LayoutDefaultTopMenuItemComponent {
210
210
 
211
211
  declare class LayoutDefaultModule {
212
212
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultModule, never>;
213
- static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutDefaultModule, [typeof LayoutDefaultComponent, typeof LayoutDefaultNavComponent, typeof LayoutDefaultHeaderComponent, typeof LayoutDefaultHeaderItemComponent, typeof LayoutDefaultHeaderItemTriggerDirective, typeof LayoutDefaultTopMenuItemComponent], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.NzToolTipModule, typeof i10.NzIconModule, typeof i11.NzAvatarModule, typeof i12.NzDropDownModule, typeof i13.NzBadgeModule], [typeof LayoutDefaultComponent, typeof LayoutDefaultNavComponent, typeof LayoutDefaultHeaderComponent, typeof LayoutDefaultHeaderItemComponent, typeof LayoutDefaultHeaderItemTriggerDirective, typeof LayoutDefaultTopMenuItemComponent]>;
213
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutDefaultModule, [typeof LayoutDefaultComponent, typeof LayoutDefaultNavComponent, typeof LayoutDefaultHeaderComponent, typeof LayoutDefaultHeaderItemComponent, typeof LayoutDefaultHeaderItemTriggerDirective, typeof LayoutDefaultTopMenuItemComponent], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.NzTooltipModule, typeof i10.NzIconModule, typeof i11.NzAvatarModule, typeof i12.NzDropDownModule, typeof i13.NzBadgeModule], [typeof LayoutDefaultComponent, typeof LayoutDefaultNavComponent, typeof LayoutDefaultHeaderComponent, typeof LayoutDefaultHeaderItemComponent, typeof LayoutDefaultHeaderItemTriggerDirective, typeof LayoutDefaultTopMenuItemComponent]>;
214
214
  static ɵinj: i0.ɵɵInjectorDeclaration<LayoutDefaultModule>;
215
215
  }
216
216
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/theme",
3
- "version": "20.0.0",
3
+ "version": "20.0.1",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,11 +21,11 @@
21
21
  "component"
22
22
  ],
23
23
  "dependencies": {
24
- "ng-zorro-antd": "^20.0.0",
25
- "@delon/acl": "^20.0.0",
26
- "@delon/abc": "^20.0.0",
27
- "@delon/form": "^20.0.0",
28
- "@delon/util": "^20.0.0",
24
+ "ng-zorro-antd": "^20.1.0",
25
+ "@delon/acl": "^20.0.1",
26
+ "@delon/abc": "^20.0.1",
27
+ "@delon/form": "^20.0.1",
28
+ "@delon/util": "^20.0.1",
29
29
  "tslib": "^2.3.0"
30
30
  },
31
31
  "module": "fesm2022/theme.mjs",
@@ -34,7 +34,7 @@ declare class ThemeBtnComponent implements OnInit, OnDestroy {
34
34
 
35
35
  declare class ThemeBtnModule {
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeBtnModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeBtnModule, never, [typeof i1.CommonModule, typeof i2.NzDropDownModule, typeof i3.NzToolTipModule, typeof ThemeBtnComponent], [typeof ThemeBtnComponent]>;
37
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeBtnModule, never, [typeof i1.CommonModule, typeof i2.NzDropDownModule, typeof i3.NzTooltipModule, typeof ThemeBtnComponent], [typeof ThemeBtnComponent]>;
38
38
  static ɵinj: i0.ɵɵInjectorDeclaration<ThemeBtnModule>;
39
39
  }
40
40
 
package/variable.css CHANGED
@@ -30973,10 +30973,14 @@ nz-space-item {
30973
30973
  }
30974
30974
  .ant-float-btn-group {
30975
30975
  position: fixed;
30976
+ bottom: 48px;
30976
30977
  z-index: 99;
30977
- display: block;
30978
+ display: flex;
30979
+ flex-direction: column;
30980
+ align-items: center;
30981
+ justify-content: center;
30978
30982
  box-sizing: border-box;
30979
- width: 40px;
30983
+ min-width: 40px;
30980
30984
  height: auto;
30981
30985
  min-height: 40px;
30982
30986
  margin: 0;
@@ -30990,22 +30994,73 @@ nz-space-item {
30990
30994
  border-radius: 2px;
30991
30995
  box-shadow: none;
30992
30996
  inset-inline-end: 24px;
30993
- inset-block-end: 48px;
30994
30997
  }
30995
30998
  .ant-float-btn-group-wrap {
30996
- position: relative;
30999
+ position: absolute;
30997
31000
  z-index: -1;
30998
- display: block;
30999
- margin-bottom: 16px;
31001
+ display: flex;
31002
+ align-items: center;
31003
+ justify-content: center;
31000
31004
  }
31001
- .ant-float-btn-group-rtl {
31005
+ .ant-float-btn-group.ant-float-btn-group-rtl {
31002
31006
  direction: rtl;
31003
31007
  }
31004
31008
  .ant-float-btn-group .ant-float-btn {
31005
31009
  position: static;
31006
31010
  }
31007
- .ant-float-btn-group-circle .ant-float-btn-circle:not(:last-child) {
31008
- margin-bottom: 16px;
31011
+ .ant-float-btn-group-top > .ant-float-btn-group-wrap {
31012
+ top: auto;
31013
+ bottom: calc(40px + 16px);
31014
+ flex-direction: column;
31015
+ }
31016
+ .ant-float-btn-group-top > .ant-float-btn-group-wrap::after {
31017
+ position: absolute;
31018
+ bottom: -16px;
31019
+ width: 100%;
31020
+ height: 16px;
31021
+ content: '';
31022
+ }
31023
+ .ant-float-btn-group-bottom > .ant-float-btn-group-wrap {
31024
+ top: calc(40px + 16px);
31025
+ bottom: auto;
31026
+ flex-direction: column;
31027
+ }
31028
+ .ant-float-btn-group-bottom > .ant-float-btn-group-wrap::after {
31029
+ position: absolute;
31030
+ top: -16px;
31031
+ width: 100%;
31032
+ height: 16px;
31033
+ content: '';
31034
+ }
31035
+ .ant-float-btn-group-left > .ant-float-btn-group-wrap {
31036
+ right: calc(40px + 16px);
31037
+ left: auto;
31038
+ flex-direction: row;
31039
+ }
31040
+ .ant-float-btn-group-left > .ant-float-btn-group-wrap::after {
31041
+ position: absolute;
31042
+ right: -16px;
31043
+ width: 16px;
31044
+ height: 100%;
31045
+ content: '';
31046
+ }
31047
+ .ant-float-btn-group-right > .ant-float-btn-group-wrap {
31048
+ right: auto;
31049
+ left: calc(40px + 16px);
31050
+ flex-direction: row;
31051
+ }
31052
+ .ant-float-btn-group-right > .ant-float-btn-group-wrap::after {
31053
+ position: absolute;
31054
+ left: -16px;
31055
+ width: 16px;
31056
+ height: 100%;
31057
+ content: '';
31058
+ }
31059
+ .ant-float-btn-group-circle {
31060
+ gap: 16px;
31061
+ }
31062
+ .ant-float-btn-group-circle .ant-float-btn-group-wrap {
31063
+ gap: 16px;
31009
31064
  }
31010
31065
  .ant-float-btn-group-circle .ant-float-btn-body {
31011
31066
  width: 40px;
@@ -31015,43 +31070,61 @@ nz-space-item {
31015
31070
  padding: 0;
31016
31071
  border-radius: 0;
31017
31072
  }
31073
+ .ant-float-btn-group-square .ant-float-btn-square.ant-float-btn-group-trigger {
31074
+ border-radius: 2px;
31075
+ }
31018
31076
  .ant-float-btn-group-square .ant-float-btn-square:first-child {
31019
31077
  border-start-start-radius: 2px;
31020
31078
  border-start-end-radius: 2px;
31021
31079
  }
31022
31080
  .ant-float-btn-group-square .ant-float-btn-square:last-child {
31023
- border-start-start-radius: 2px;
31024
- border-start-end-radius: 2px;
31081
+ border-end-start-radius: 2px;
31082
+ border-end-end-radius: 2px;
31025
31083
  }
31026
31084
  .ant-float-btn-group-square .ant-float-btn-square:not(:last-child) {
31027
31085
  border-bottom: 1px solid #d9d9d9;
31028
31086
  }
31029
31087
  .ant-float-btn-group-square .ant-float-btn-group-wrap {
31030
- display: block;
31031
- overflow: hidden;
31032
31088
  border-radius: 2px;
31033
31089
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
31034
31090
  }
31035
31091
  .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square {
31036
- margin-top: 0;
31037
31092
  padding: 4px;
31038
31093
  border-radius: 0;
31039
31094
  box-shadow: none;
31040
31095
  }
31041
- .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square:first-child {
31042
- border-start-start-radius: 2px;
31043
- border-start-end-radius: 2px;
31096
+ .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square .ant-float-btn-body {
31097
+ width: 32px;
31098
+ height: 32px;
31044
31099
  }
31045
- .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square:last-child {
31100
+ .ant-float-btn-group-top > .ant-float-btn-group-wrap > .ant-float-btn-square:first-child,
31101
+ .ant-float-btn-group-bottom > .ant-float-btn-group-wrap > .ant-float-btn-square:first-child {
31046
31102
  border-start-start-radius: 2px;
31047
31103
  border-start-end-radius: 2px;
31048
31104
  }
31049
- .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square:not(:last-child) {
31105
+ .ant-float-btn-group-top > .ant-float-btn-group-wrap > .ant-float-btn-square:last-child,
31106
+ .ant-float-btn-group-bottom > .ant-float-btn-group-wrap > .ant-float-btn-square:last-child {
31107
+ border-end-start-radius: 2px;
31108
+ border-end-end-radius: 2px;
31109
+ }
31110
+ .ant-float-btn-group-top > .ant-float-btn-group-wrap > .ant-float-btn-square:not(:last-child),
31111
+ .ant-float-btn-group-bottom > .ant-float-btn-group-wrap > .ant-float-btn-square:not(:last-child) {
31050
31112
  border-bottom: 1px solid #d9d9d9;
31051
31113
  }
31052
- .ant-float-btn-group-square .ant-float-btn-group-wrap .ant-float-btn-square .ant-float-btn-body {
31053
- width: 32px;
31054
- height: 32px;
31114
+ .ant-float-btn-group-left > .ant-float-btn-group-wrap > .ant-float-btn-square:first-child,
31115
+ .ant-float-btn-group-right > .ant-float-btn-group-wrap > .ant-float-btn-square:first-child {
31116
+ border-start-start-radius: 2px;
31117
+ border-end-start-radius: 2px;
31118
+ }
31119
+ .ant-float-btn-group-left > .ant-float-btn-group-wrap > .ant-float-btn-square:last-child,
31120
+ .ant-float-btn-group-right > .ant-float-btn-group-wrap > .ant-float-btn-square:last-child {
31121
+ border-start-end-radius: 2px;
31122
+ border-end-end-radius: 2px;
31123
+ }
31124
+ .ant-float-btn-group-left > .ant-float-btn-group-wrap > .ant-float-btn-square:not(:last-child),
31125
+ .ant-float-btn-group-right > .ant-float-btn-group-wrap > .ant-float-btn-square:not(:last-child) {
31126
+ border-inline-end: 1px solid #d9d9d9;
31127
+ border-bottom: none;
31055
31128
  }
31056
31129
  .ant-float-btn-group-circle-shadow {
31057
31130
  box-shadow: none;