ngx-tethys 18.1.0 → 18.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/alert/styles/mixin.scss +1 -1
- package/anchor/style/anchor.scss +4 -2
- package/avatar/styles/avatar.scss +1 -1
- package/back-top/styles/back-top.scss +3 -3
- package/button/styles/button-group.scss +9 -9
- package/button/styles/button.scss +2 -6
- package/button/styles/mixin.scss +6 -53
- package/calendar/styles/calendar.scss +3 -11
- package/card/styles/card.scss +3 -3
- package/carousel/styles/carousel.scss +10 -10
- package/cascader/styles/cascader.scss +3 -2
- package/collapse/styles/collapse.scss +4 -2
- package/color-picker/styles/alpha.scss +1 -1
- package/color-picker/styles/color-picker-panel.scss +1 -1
- package/color-picker/styles/hue.scss +1 -1
- package/color-picker/styles/saturation.scss +1 -1
- package/comment/styles/mixin.scss +1 -1
- package/core/index.d.ts +1 -0
- package/core/overlay/abstract-overlay.config.d.ts +5 -0
- package/core/theme/index.d.ts +2 -0
- package/core/theme/store.d.ts +11 -0
- package/core/theme/theme.d.ts +5 -0
- package/date-picker/styles/calendar.scss +1 -1
- package/date-picker/styles/decade-panel.scss +1 -1
- package/date-picker/styles/picker.scss +1 -1
- package/date-picker/styles/range-picker.scss +3 -3
- package/date-picker/styles/year-panel.scss +2 -2
- package/dialog/styles/dialog.scss +6 -6
- package/drag-drop/drag-content.directive.d.ts +1 -0
- package/drag-drop/drag-drop.service.d.ts +1 -0
- package/drag-drop/drag-handle.directive.d.ts +1 -0
- package/drag-drop/drag.directive.d.ts +1 -0
- package/drag-drop/drop-container.directive.d.ts +2 -5
- package/drag-drop/module.d.ts +4 -0
- package/dropdown/styles/dropdown.scss +3 -3
- package/empty/styles/empty.scss +22 -2
- package/esm2022/carousel/carousel.component.mjs +3 -3
- package/esm2022/core/index.mjs +2 -1
- package/esm2022/core/overlay/abstract-overlay.config.mjs +1 -1
- package/esm2022/core/overlay/abstract-overlay.service.mjs +2 -2
- package/esm2022/core/theme/index.mjs +3 -0
- package/esm2022/core/theme/store.mjs +42 -0
- package/esm2022/core/theme/theme.mjs +2 -0
- package/esm2022/dialog/dialog-container.component.mjs +2 -2
- package/esm2022/drag-drop/drag-content.directive.mjs +2 -1
- package/esm2022/drag-drop/drag-drop.service.mjs +2 -1
- package/esm2022/drag-drop/drag-handle.directive.mjs +2 -1
- package/esm2022/drag-drop/drag.directive.mjs +2 -1
- package/esm2022/drag-drop/drop-container.directive.mjs +2 -1
- package/esm2022/drag-drop/module.mjs +9 -2
- package/esm2022/empty/svgs.mjs +103 -8
- package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
- package/esm2022/notify/notify.component.mjs +3 -3
- package/esm2022/result/result.component.mjs +3 -3
- package/esm2022/table/table-skeleton.component.mjs +3 -3
- package/esm2022/version.mjs +2 -2
- package/esm2022/watermark/config.mjs +2 -2
- package/esm2022/watermark/watermark.directive.mjs +18 -10
- package/fesm2022/ngx-tethys-carousel.mjs +2 -2
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +43 -3
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-drag-drop.mjs +13 -2
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +102 -7
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +2 -2
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +2 -2
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +2 -2
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +2 -2
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +18 -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/form-check.scss +1 -1
- package/form/styles/forms.scss +2 -3
- package/form/styles/mixin.scss +6 -5
- package/guider/styles/guider-tip.scss +2 -1
- package/icon/examples/all/all.component.scss +3 -1
- package/image/styles/image.scss +15 -11
- package/input/styles/input-group.scss +1 -1
- package/input/styles/input.scss +2 -2
- package/layout/examples/sidebar/sidebar.component.scss +1 -1
- package/layout/styles/layout.scss +3 -3
- package/menu/examples/theme/theme.component.scss +0 -8
- package/menu/styles/theme.scss +4 -4
- package/message/styles/message.scss +1 -1
- package/nav/examples/basic/basic.component.scss +1 -1
- package/nav/examples/extra/extra.component.scss +1 -1
- package/nav/examples/fill/fill.component.scss +1 -1
- package/nav/examples/lite/lite.component.scss +1 -1
- package/nav/examples/pills/pills.component.scss +1 -1
- package/nav/examples/responsive/responsive.component.scss +1 -1
- package/nav/examples/size/size.component.scss +1 -1
- package/nav/examples/tabs/tabs.component.scss +1 -1
- package/nav/examples/type/type.component.scss +1 -1
- package/nav/examples/vertical/vertical.component.scss +1 -1
- package/notify/styles/notify.scss +4 -4
- package/package.json +1 -1
- package/pagination/styles/pagination.scss +2 -2
- package/popover/styles.scss +3 -3
- package/property/styles/properties.scss +1 -1
- package/resizable/examples/line/line.component.scss +3 -1
- package/resizable/examples/style.scss +7 -5
- package/result/styles/result.scss +25 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/styles/mixin.scss +2 -3
- package/segment/styles/segment.scss +1 -1
- package/select/styles/select.scss +1 -1
- package/shared/option/styles/option.mixin.scss +1 -1
- package/shared/select/styles/select.mixin.scss +2 -2
- package/slide/examples/drawer-container/drawer-container.component.scss +1 -1
- package/slide/examples/layout/layout.component.scss +4 -2
- package/slide/styles/slide.scss +3 -2
- package/slider/slider.scss +2 -2
- package/stepper/examples/basic/basic.component.scss +3 -1
- package/stepper/examples/icon/icon.component.scss +3 -1
- package/stepper/styles/stepper.scss +7 -3
- package/styles/bootstrap/_variables.scss +14 -876
- package/styles/bootstrap/utilities/_background.scss +27 -5
- package/styles/bootstrap/utilities/_text.scss +29 -31
- package/styles/index.scss +2 -1
- package/styles/mixins/background-variant.scss +2 -10
- package/styles/mixins/utilities.scss +2 -11
- package/styles/modules/cdk/drag-drop.scss +6 -8
- package/styles/modules/close.scss +1 -1
- package/styles/modules/reboot.scss +1 -1
- package/styles/modules/tables.scss +1 -1
- package/styles/modules/utils.scss +0 -17
- package/styles/theme/dark.scss +70 -0
- package/styles/theme/default.scss +70 -0
- package/styles/theme/index.scss +2 -0
- package/styles/variables.scss +114 -76
- package/switch/styles/mixin.scss +0 -13
- package/table/styles/table.scss +7 -19
- package/tabs/styles/tabs.scss +1 -1
- package/tag/styles/mixin.scss +7 -42
- package/tag/styles/tag.scss +2 -2
- package/time-picker/styles/time-panel.scss +1 -1
- package/timeline/styles/timeline.scss +2 -2
- package/tooltip/styles.scss +4 -4
- package/transfer/styles/transfer.scss +2 -2
- package/tree/styles/tree.scss +3 -5
- package/watermark/config.d.ts +1 -1
- package/watermark/watermark.directive.d.ts +23 -2
- package/carousel/styles/index.scss +0 -1
- package/carousel/styles/variables.scss +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
# [18.2.0-next.0](https://github.com/atinc/ngx-tethys/compare/18.1.0...18.2.0-next.0) (2024-11-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **core:** support projectableNodes for ThyAbstractOverlayConfig and rename ThyStealthViewDirective to ThyStealthView #TINFR-651 ([#3230](https://github.com/atinc/ngx-tethys/issues/3230)) ([f838b96](https://github.com/atinc/ngx-tethys/commit/f838b967ae2066790617f1ace6729d4ea4025369)), closes [#TINFR-651](https://github.com/atinc/ngx-tethys/issues/TINFR-651)
|
|
11
|
+
* **drag-drop:** mark drag-drop as deprecated #TINFR-438 ([#3231](https://github.com/atinc/ngx-tethys/issues/3231)) ([7497858](https://github.com/atinc/ngx-tethys/commit/7497858e449a5d217c3117432db3648f27766e52)), closes [#TINFR-438](https://github.com/atinc/ngx-tethys/issues/TINFR-438)
|
|
12
|
+
* support dark theme for all components #TINFR-950 ([#3238](https://github.com/atinc/ngx-tethys/issues/3238)) ([0f325bb](https://github.com/atinc/ngx-tethys/commit/0f325bb330ffc5586c5c99bdaf98011cb1ced61a)), closes [#TINFR-950](https://github.com/atinc/ngx-tethys/issues/TINFR-950)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
5
16
|
# [18.1.0](https://github.com/atinc/ngx-tethys/compare/18.1.0-next.1...18.1.0) (2024-10-31)
|
|
6
17
|
|
|
7
18
|
|
package/alert/styles/mixin.scss
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
@mixin thy-alert-bordered-variant($color) {
|
|
21
21
|
color: variables.$gray-600;
|
|
22
|
-
background: variables.$
|
|
22
|
+
background: variables.$bg-default;
|
|
23
23
|
border-color: variables.$gray-200 variables.$gray-200 variables.$gray-200 $color;
|
|
24
24
|
border-left-width: 2px;
|
|
25
25
|
@include thy-alert-inner($color);
|
package/anchor/style/anchor.scss
CHANGED
|
@@ -10,7 +10,7 @@ $anchor-border-width: 2px;
|
|
|
10
10
|
margin-block-start: -4px;
|
|
11
11
|
padding-block-start: 4px;
|
|
12
12
|
overflow: auto;
|
|
13
|
-
background-color: variables.$
|
|
13
|
+
background-color: variables.$bg-default;
|
|
14
14
|
|
|
15
15
|
&:not(&-horizontal) {
|
|
16
16
|
.thy-anchor {
|
|
@@ -69,7 +69,9 @@ $anchor-border-width: 2px;
|
|
|
69
69
|
position: absolute;
|
|
70
70
|
bottom: 0;
|
|
71
71
|
border-top: $anchor-border-width solid variables.$primary;
|
|
72
|
-
transition:
|
|
72
|
+
transition:
|
|
73
|
+
left 0.2s ease-in-out,
|
|
74
|
+
width 0.2s ease-in-out;
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
&-link {
|
|
@@ -20,15 +20,15 @@ $back-top-width: 36px;
|
|
|
20
20
|
width: $back-top-width;
|
|
21
21
|
height: $back-top-width;
|
|
22
22
|
overflow: hidden;
|
|
23
|
-
background-color: variables.$
|
|
23
|
+
background-color: variables.$bg-float;
|
|
24
24
|
border-radius: 50%;
|
|
25
25
|
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
26
|
-
box-shadow:
|
|
26
|
+
box-shadow: variables.$float-btn-box-shadow;
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
justify-content: center;
|
|
30
30
|
&:hover {
|
|
31
|
-
box-shadow:
|
|
31
|
+
box-shadow: variables.$float-btn-hover-box-shadow;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
6
|
-
@use
|
|
7
|
-
@use
|
|
8
|
-
@use
|
|
1
|
+
@use '../../styles/bootstrap/mixins/border-radius';
|
|
2
|
+
@use '../../styles/mixins/hover';
|
|
3
|
+
@use '../../styles/bootstrap/functions-variables';
|
|
4
|
+
@use '../../styles/bootstrap/variables' as bootstrap-variables;
|
|
5
|
+
@use '../../styles/mixins/shadow';
|
|
6
|
+
@use '../../styles/variables';
|
|
7
|
+
@use './button.scss';
|
|
8
|
+
@use 'mixin';
|
|
9
9
|
// stylelint-disable selector-no-qualifying-type
|
|
10
10
|
|
|
11
11
|
// Make the div behave like a button
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
// The clickable button for toggling the menu
|
|
163
163
|
// Set the same inset shadow as the :active state
|
|
164
164
|
.btn-group.show .dropdown-toggle {
|
|
165
|
-
@include shadow.box-shadow(
|
|
165
|
+
@include shadow.box-shadow(variables.$btn-active-box-shadow);
|
|
166
166
|
|
|
167
167
|
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
168
168
|
&.btn-link {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
&:focus,
|
|
54
54
|
&.focus {
|
|
55
|
-
outline: 0;
|
|
55
|
+
outline: 0;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// Disabled comes first so active can properly restyle
|
|
@@ -73,10 +73,6 @@
|
|
|
73
73
|
&:not(:disabled):not(.disabled):active,
|
|
74
74
|
&:not(:disabled):not(.disabled).active {
|
|
75
75
|
background-image: none;
|
|
76
|
-
// @include box-shadow($btn-active-box-shadow);
|
|
77
|
-
// &:focus {
|
|
78
|
-
// @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
|
|
79
|
-
// }
|
|
80
76
|
}
|
|
81
77
|
|
|
82
78
|
&:not(:disabled):not(.disabled).loading {
|
|
@@ -206,7 +202,7 @@ fieldset:disabled a.btn {
|
|
|
206
202
|
&.focus {
|
|
207
203
|
text-decoration: variables.$link-hover-decoration;
|
|
208
204
|
border-color: transparent;
|
|
209
|
-
box-shadow: none;
|
|
205
|
+
box-shadow: variables.$box-shadow-none;
|
|
210
206
|
}
|
|
211
207
|
|
|
212
208
|
&.disabled,
|
package/button/styles/mixin.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
6
|
-
@use
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@use '../../styles/bootstrap/mixins/gradients';
|
|
3
|
+
@use '../../styles/mixins/hover';
|
|
4
|
+
@use '../../styles/bootstrap/variables' as bootstrap-variables;
|
|
5
|
+
@use '../../styles/mixins/shadow';
|
|
6
|
+
@use '../../styles/variables';
|
|
7
7
|
|
|
8
8
|
// Button variants
|
|
9
9
|
//
|
|
@@ -19,27 +19,15 @@
|
|
|
19
19
|
$active-background: color.adjust($background, $lightness: -10%),
|
|
20
20
|
$active-border: color.adjust($border, $lightness: -12.5%)
|
|
21
21
|
) {
|
|
22
|
-
// color: color-yiq($background);
|
|
23
22
|
color: $color;
|
|
24
23
|
@include gradients.gradient-bg($background);
|
|
25
24
|
border-color: $border;
|
|
26
25
|
@include hover.hover {
|
|
27
|
-
// color: color-yiq($hover-background);
|
|
28
26
|
color: $hover-color;
|
|
29
27
|
@include gradients.gradient-bg($hover-background);
|
|
30
28
|
border-color: $hover-border;
|
|
31
29
|
@include shadow.box-shadow(variables.$btn-box-shadow);
|
|
32
30
|
}
|
|
33
|
-
&:focus,
|
|
34
|
-
&.focus {
|
|
35
|
-
// Avoid using mixin so we can pass custom focus shadow properly
|
|
36
|
-
// @if $enable-shadows {
|
|
37
|
-
// box-shadow: $btn-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
|
38
|
-
// }
|
|
39
|
-
// @else {
|
|
40
|
-
// box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
|
41
|
-
// }
|
|
42
|
-
} // Disabled comes first so active can properly restyle
|
|
43
31
|
&.disabled,
|
|
44
32
|
&:disabled {
|
|
45
33
|
&:hover {
|
|
@@ -47,25 +35,6 @@
|
|
|
47
35
|
}
|
|
48
36
|
@include button-disabled(variables.$btn-disabled-border-color);
|
|
49
37
|
}
|
|
50
|
-
&:not(:disabled):not(.disabled):active,
|
|
51
|
-
&:not(:disabled):not(.disabled).active,
|
|
52
|
-
.show > &.dropdown-toggle {
|
|
53
|
-
// color: color-yiq($active-background);
|
|
54
|
-
// background-color: $active-background;
|
|
55
|
-
// @if $enable-gradients {
|
|
56
|
-
// background-image: none; // Remove the gradient for the pressed/active state
|
|
57
|
-
// }
|
|
58
|
-
// border-color: $active-border;
|
|
59
|
-
&:focus {
|
|
60
|
-
// Avoid using mixin so we can pass custom focus shadow properly
|
|
61
|
-
// @if $enable-shadows {
|
|
62
|
-
// box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
|
63
|
-
// }
|
|
64
|
-
// @else {
|
|
65
|
-
// box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
|
66
|
-
// }
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
38
|
}
|
|
70
39
|
|
|
71
40
|
@mixin button-outline-variant($color, $border-color, $hover-color, $hover-background, $hover-border, $active-background, $active-border) {
|
|
@@ -78,10 +47,6 @@
|
|
|
78
47
|
background-color: $hover-background;
|
|
79
48
|
border-color: $hover-border;
|
|
80
49
|
}
|
|
81
|
-
&:focus,
|
|
82
|
-
&.focus {
|
|
83
|
-
// box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
|
|
84
|
-
}
|
|
85
50
|
&.disabled,
|
|
86
51
|
&:disabled {
|
|
87
52
|
&:hover {
|
|
@@ -95,15 +60,6 @@
|
|
|
95
60
|
color: $hover-color;
|
|
96
61
|
background-color: $active-background;
|
|
97
62
|
border-color: $active-border;
|
|
98
|
-
&:focus {
|
|
99
|
-
// Avoid using mixin so we can pass custom focus shadow properly
|
|
100
|
-
// @if $enable-shadows and $btn-active-box-shadow !=none {
|
|
101
|
-
// box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5);
|
|
102
|
-
// }
|
|
103
|
-
// @else {
|
|
104
|
-
// box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
|
|
105
|
-
// }
|
|
106
|
-
}
|
|
107
63
|
}
|
|
108
64
|
}
|
|
109
65
|
|
|
@@ -131,7 +87,6 @@
|
|
|
131
87
|
|
|
132
88
|
@mixin button-hover-box-shadow($color) {
|
|
133
89
|
&:hover {
|
|
134
|
-
// lighten($primary-active-theme, 15%)
|
|
135
90
|
@include shadow.box-shadow(0px 2px 5px 1px rgba($color, 0.6));
|
|
136
91
|
}
|
|
137
92
|
}
|
|
@@ -141,8 +96,6 @@
|
|
|
141
96
|
color: variables.$btn-disabled-color;
|
|
142
97
|
background-color: variables.$btn-disabled-bg-color;
|
|
143
98
|
border-color: $color;
|
|
144
|
-
// border-color: $btn-disabled-border-color;
|
|
145
|
-
// border: none;
|
|
146
99
|
}
|
|
147
100
|
|
|
148
101
|
@include shadow.box-shadow(none);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
2
|
|
|
3
3
|
$calendar-full-prefix-cls: 'thy-calendar-full';
|
|
4
4
|
|
|
@@ -24,8 +24,8 @@ $calendar-full-prefix-cls: 'thy-calendar-full';
|
|
|
24
24
|
position: absolute;
|
|
25
25
|
top: 0;
|
|
26
26
|
left: 0;
|
|
27
|
-
box-shadow:
|
|
28
|
-
background: variables.$
|
|
27
|
+
box-shadow: variables.$calendar-active-box-shadow;
|
|
28
|
+
background: variables.$bg-default;
|
|
29
29
|
width: 100%;
|
|
30
30
|
min-height: 100%;
|
|
31
31
|
z-index: 2;
|
|
@@ -52,14 +52,6 @@ $calendar-full-prefix-cls: 'thy-calendar-full';
|
|
|
52
52
|
font-weight: 400;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.#{$calendar-full-prefix-cls}-selected-day {
|
|
56
|
-
// background: $gray-80;
|
|
57
|
-
// border-color: $primary;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.#{$calendar-full-prefix-cls}-date-value-text {
|
|
61
|
-
}
|
|
62
|
-
|
|
63
55
|
.#{$calendar-full-prefix-cls}-today {
|
|
64
56
|
.#{$calendar-full-prefix-cls}-date-value-today-text {
|
|
65
57
|
width: 24px;
|
package/card/styles/card.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
|
+
@use 'mixin';
|
|
3
3
|
|
|
4
4
|
.thy-card {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
background: variables.$
|
|
7
|
+
background: variables.$bg-default;
|
|
8
8
|
border-radius: variables.$card-border-radius;
|
|
9
9
|
|
|
10
10
|
.thy-card-header {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use '../../styles/variables';
|
|
2
|
-
@use './variables' as vars;
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
$carousel-prefix-cls: 'thy-carousel';
|
|
4
|
+
|
|
5
|
+
#{$carousel-prefix-cls} {
|
|
5
6
|
margin-left: auto;
|
|
6
7
|
margin-right: auto;
|
|
7
8
|
position: relative;
|
|
8
|
-
//overflow: hidden;
|
|
9
9
|
padding: 0;
|
|
10
10
|
z-index: 1;
|
|
11
11
|
.thy-carousel-initialized {
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
cursor: variables.$hand-cursor;
|
|
63
63
|
&:hover {
|
|
64
64
|
thy-dot {
|
|
65
|
-
|
|
65
|
+
border-color: variables.$white;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
thy-dot {
|
|
69
69
|
transition: 0.3s opacity;
|
|
70
|
-
color: variables.$
|
|
71
|
-
|
|
70
|
+
border-color: variables.$carousel-dot-bg-color;
|
|
71
|
+
|
|
72
72
|
&:hover,
|
|
73
73
|
&.active {
|
|
74
|
-
|
|
74
|
+
border-color: variables.$white;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
transform: translateY(-50%);
|
|
83
83
|
z-index: 200;
|
|
84
84
|
cursor: variables.$hand-cursor;
|
|
85
|
-
color: variables.$
|
|
85
|
+
color: variables.$white;
|
|
86
86
|
user-select: none;
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
width: 32px;
|
|
89
89
|
height: 32px;
|
|
90
90
|
transition: 0.3s background;
|
|
91
|
-
background:
|
|
91
|
+
background: variables.$carousel-control-bg-color;
|
|
92
92
|
border-radius: 50%;
|
|
93
93
|
thy-icon {
|
|
94
94
|
position: absolute;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
font-size: 22px;
|
|
100
100
|
}
|
|
101
101
|
&:hover {
|
|
102
|
-
background:
|
|
102
|
+
background: variables.$carousel-control-hover-bg-color;
|
|
103
103
|
}
|
|
104
104
|
&-pre {
|
|
105
105
|
left: 12px;
|
|
@@ -21,11 +21,12 @@ $cascader-menu-min-width: 122px;
|
|
|
21
21
|
}
|
|
22
22
|
&-menus {
|
|
23
23
|
font-size: 14px;
|
|
24
|
-
background: variables.$
|
|
24
|
+
background: variables.$bg-panel;
|
|
25
25
|
position: relative;
|
|
26
26
|
z-index: 1050;
|
|
27
27
|
border-radius: 4px;
|
|
28
|
-
|
|
28
|
+
border: 1px solid variables.$gray-200;
|
|
29
|
+
box-shadow: variables.$box-shadow;
|
|
29
30
|
white-space: nowrap;
|
|
30
31
|
margin-top: 4px;
|
|
31
32
|
margin-bottom: 4px;
|
|
@@ -20,7 +20,9 @@ $thy-collapse-prefix-cls: 'thy-collapse';
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
position: relative;
|
|
22
22
|
cursor: variables.$hand-cursor;
|
|
23
|
-
transition:
|
|
23
|
+
transition:
|
|
24
|
+
all 0.3s,
|
|
25
|
+
visibility 0s;
|
|
24
26
|
.#{$thy-collapse-prefix-cls}-title {
|
|
25
27
|
flex: 1;
|
|
26
28
|
font-size: variables.$collapse-header-font-size;
|
|
@@ -43,7 +45,7 @@ $thy-collapse-prefix-cls: 'thy-collapse';
|
|
|
43
45
|
}
|
|
44
46
|
.#{$thy-collapse-prefix-cls}-content {
|
|
45
47
|
border-top: 1px solid variables.$gray-200;
|
|
46
|
-
background-color: variables.$
|
|
48
|
+
background-color: variables.$bg-default;
|
|
47
49
|
&-box {
|
|
48
50
|
padding: 0px variables.$collapse-spacing-x (variables.$collapse-spacing-y + 4) variables.$collapse-spacing-x;
|
|
49
51
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
border: variables.$comment-actions-border;
|
|
14
14
|
border-radius: variables.$comment-actions-border-radius;
|
|
15
15
|
box-shadow: variables.$box-shadow;
|
|
16
|
-
background-color: variables.$
|
|
16
|
+
background-color: variables.$bg-panel;
|
|
17
17
|
cursor: variables.$hand-cursor;
|
|
18
18
|
display: inline-flex;
|
|
19
19
|
visibility: hidden;
|
package/core/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './event-dispatchers/index';
|
|
|
5
5
|
export * from './request-animation';
|
|
6
6
|
export * from './scroll';
|
|
7
7
|
export * from './animation';
|
|
8
|
+
export * from './theme';
|
|
8
9
|
export * from './overlay/index';
|
|
9
10
|
export * from './update-host-class.service';
|
|
10
11
|
export * from './translate';
|
|
@@ -115,6 +115,11 @@ export declare class ThyAbstractOverlayConfig<TData = unknown> {
|
|
|
115
115
|
* @default true
|
|
116
116
|
*/
|
|
117
117
|
canPush?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Projectable nodes of thy abstract overlay config, only for component
|
|
120
|
+
* @type Node[][]
|
|
121
|
+
*/
|
|
122
|
+
projectableNodes?: Node[][];
|
|
118
123
|
}
|
|
119
124
|
export interface ThyAbstractOverlayOptions {
|
|
120
125
|
/** component name, e.g. dialog | popover | slide */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ThyTheme } from './theme';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ThyThemeStore {
|
|
4
|
+
readonly theme: import("@angular/core").WritableSignal<ThyTheme>;
|
|
5
|
+
constructor();
|
|
6
|
+
setTheme(theme: ThyTheme): void;
|
|
7
|
+
normalizeColor(color: string | string[]): string;
|
|
8
|
+
isDark(): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThyThemeStore, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThyThemeStore>;
|
|
11
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
line-height: variables.$line-height-base;
|
|
10
10
|
text-align: left;
|
|
11
11
|
list-style: none;
|
|
12
|
-
background-color: variables.$
|
|
12
|
+
background-color: variables.$bg-panel;
|
|
13
13
|
background-clip: padding-box;
|
|
14
14
|
border: style.$border-width-base style.$border-style-base variables.$border-color;
|
|
15
15
|
border-radius: variables.$border-radius-lg;
|
|
@@ -120,10 +120,10 @@ $input-box-height: 34px;
|
|
|
120
120
|
padding-left: 0;
|
|
121
121
|
line-height: bootstrap-variables.$input-height-sm;
|
|
122
122
|
border: 0;
|
|
123
|
-
box-shadow: none;
|
|
123
|
+
box-shadow: variables.$box-shadow-none;
|
|
124
124
|
|
|
125
125
|
&:focus {
|
|
126
|
-
box-shadow: none;
|
|
126
|
+
box-shadow: variables.$box-shadow-none;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -213,7 +213,7 @@ $input-box-height: 34px;
|
|
|
213
213
|
&-combobox {
|
|
214
214
|
display: inline-block;
|
|
215
215
|
height: 100%;
|
|
216
|
-
background-color: variables.$
|
|
216
|
+
background-color: variables.$bg-default;
|
|
217
217
|
border-top: style.$border-width-base style.$border-style-base style.$border-color-split;
|
|
218
218
|
}
|
|
219
219
|
&-select {
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
bottom: 0;
|
|
10
10
|
left: 0;
|
|
11
11
|
z-index: style.$zindex-picker-panel;
|
|
12
|
-
background: variables.$
|
|
12
|
+
background: variables.$bg-default;
|
|
13
13
|
border-radius: variables.$border-radius-lg;
|
|
14
14
|
outline: none;
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
|
-
background: variables.$
|
|
17
|
+
background: variables.$bg-default;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.#{style.$calendar-prefix-cls}-year-panel-hidden {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
1
|
+
@use '../../styles/bootstrap/mixins/border-radius';
|
|
2
|
+
@use '../../styles/bootstrap/mixins/breakpoints';
|
|
3
|
+
@use '../../styles/bootstrap/mixins/text-truncate';
|
|
4
|
+
@use '../../styles/variables';
|
|
5
|
+
@use '../../styles/modules/utils.scss';
|
|
6
6
|
|
|
7
7
|
.thy-dialog-content-sidebar-header {
|
|
8
8
|
min-height: variables.$dialog-header-height;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
// isn't set, we have to inherit the min and max values explicitly.
|
|
27
27
|
min-height: inherit;
|
|
28
28
|
max-height: inherit;
|
|
29
|
-
background: variables.$
|
|
29
|
+
background: variables.$bg-default;
|
|
30
30
|
box-shadow: variables.$dialog-box-shadow;
|
|
31
31
|
|
|
32
32
|
.thy-layout {
|
|
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/**
|
|
7
7
|
* @name thy-drop-container,[thyDropContainer]
|
|
8
8
|
* @order 30
|
|
9
|
+
* @deprecated please use @angular/cdk/drag-drop
|
|
9
10
|
*/
|
|
10
11
|
export declare class ThyDropContainerDirective<T = any> implements OnInit, AfterContentInit, IThyDropContainerDirective, OnDestroy {
|
|
11
12
|
private ngZone;
|
|
@@ -64,9 +65,5 @@ export declare class ThyDropContainerDirective<T = any> implements OnInit, After
|
|
|
64
65
|
ngOnDestroy(): void;
|
|
65
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDropContainerDirective<any>, never>;
|
|
66
67
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyDropContainerDirective<any>, "thy-drop-container,[thyDropContainer]", never, { "dragContainer": { "alias": "thyDropContainer"; "required": false; }; "data": { "alias": "thyDropContainerData"; "required": false; }; "disabled": { "alias": "thyDropContainerDisabled"; "required": false; }; "beforeStart": { "alias": "thyBeforeDragStart"; "required": false; }; "beforeOver": { "alias": "thyBeforeDragOver"; "required": false; }; "beforeDrop": { "alias": "thyBeforeDragDrop"; "required": false; }; }, { "started": "thyDragStarted"; "ended": "thyDragEnded"; "overed": "thyDragOvered"; "dropped": "thyDragDropped"; }, ["draggables"], never, true, never>;
|
|
67
|
-
static ngAcceptInputType_disabled: boolean
|
|
68
|
-
* dragend 触发时调用
|
|
69
|
-
*/ | /**
|
|
70
|
-
* dragend 触发时调用
|
|
71
|
-
*/ string | number;
|
|
68
|
+
static ngAcceptInputType_disabled: boolean | string | number;
|
|
72
69
|
}
|
package/drag-drop/module.d.ts
CHANGED
|
@@ -3,7 +3,11 @@ import * as i1 from "./drop-container.directive";
|
|
|
3
3
|
import * as i2 from "./drag.directive";
|
|
4
4
|
import * as i3 from "./drag-handle.directive";
|
|
5
5
|
import * as i4 from "./drag-content.directive";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated please use @angular/cdk/drag-drop
|
|
8
|
+
*/
|
|
6
9
|
export declare class ThyDragDropModule {
|
|
10
|
+
constructor();
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyDragDropModule, never>;
|
|
8
12
|
static ɵmod: i0.ɵɵNgModuleDeclaration<ThyDragDropModule, never, [typeof i1.ThyDropContainerDirective, typeof i2.ThyDragDirective, typeof i3.ThyDragHandleDirective, typeof i4.ThyDragContentDirective], [typeof i1.ThyDropContainerDirective, typeof i2.ThyDragDirective, typeof i3.ThyDragHandleDirective, typeof i4.ThyDragContentDirective]>;
|
|
9
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThyDragDropModule>;
|