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.
Files changed (155) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/alert/styles/mixin.scss +1 -1
  3. package/anchor/style/anchor.scss +4 -2
  4. package/avatar/styles/avatar.scss +1 -1
  5. package/back-top/styles/back-top.scss +3 -3
  6. package/button/styles/button-group.scss +9 -9
  7. package/button/styles/button.scss +2 -6
  8. package/button/styles/mixin.scss +6 -53
  9. package/calendar/styles/calendar.scss +3 -11
  10. package/card/styles/card.scss +3 -3
  11. package/carousel/styles/carousel.scss +10 -10
  12. package/cascader/styles/cascader.scss +3 -2
  13. package/collapse/styles/collapse.scss +4 -2
  14. package/color-picker/styles/alpha.scss +1 -1
  15. package/color-picker/styles/color-picker-panel.scss +1 -1
  16. package/color-picker/styles/hue.scss +1 -1
  17. package/color-picker/styles/saturation.scss +1 -1
  18. package/comment/styles/mixin.scss +1 -1
  19. package/core/index.d.ts +1 -0
  20. package/core/overlay/abstract-overlay.config.d.ts +5 -0
  21. package/core/theme/index.d.ts +2 -0
  22. package/core/theme/store.d.ts +11 -0
  23. package/core/theme/theme.d.ts +5 -0
  24. package/date-picker/styles/calendar.scss +1 -1
  25. package/date-picker/styles/decade-panel.scss +1 -1
  26. package/date-picker/styles/picker.scss +1 -1
  27. package/date-picker/styles/range-picker.scss +3 -3
  28. package/date-picker/styles/year-panel.scss +2 -2
  29. package/dialog/styles/dialog.scss +6 -6
  30. package/drag-drop/drag-content.directive.d.ts +1 -0
  31. package/drag-drop/drag-drop.service.d.ts +1 -0
  32. package/drag-drop/drag-handle.directive.d.ts +1 -0
  33. package/drag-drop/drag.directive.d.ts +1 -0
  34. package/drag-drop/drop-container.directive.d.ts +2 -5
  35. package/drag-drop/module.d.ts +4 -0
  36. package/dropdown/styles/dropdown.scss +3 -3
  37. package/empty/styles/empty.scss +22 -2
  38. package/esm2022/carousel/carousel.component.mjs +3 -3
  39. package/esm2022/core/index.mjs +2 -1
  40. package/esm2022/core/overlay/abstract-overlay.config.mjs +1 -1
  41. package/esm2022/core/overlay/abstract-overlay.service.mjs +2 -2
  42. package/esm2022/core/theme/index.mjs +3 -0
  43. package/esm2022/core/theme/store.mjs +42 -0
  44. package/esm2022/core/theme/theme.mjs +2 -0
  45. package/esm2022/dialog/dialog-container.component.mjs +2 -2
  46. package/esm2022/drag-drop/drag-content.directive.mjs +2 -1
  47. package/esm2022/drag-drop/drag-drop.service.mjs +2 -1
  48. package/esm2022/drag-drop/drag-handle.directive.mjs +2 -1
  49. package/esm2022/drag-drop/drag.directive.mjs +2 -1
  50. package/esm2022/drag-drop/drop-container.directive.mjs +2 -1
  51. package/esm2022/drag-drop/module.mjs +9 -2
  52. package/esm2022/empty/svgs.mjs +103 -8
  53. package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
  54. package/esm2022/notify/notify.component.mjs +3 -3
  55. package/esm2022/result/result.component.mjs +3 -3
  56. package/esm2022/table/table-skeleton.component.mjs +3 -3
  57. package/esm2022/version.mjs +2 -2
  58. package/esm2022/watermark/config.mjs +2 -2
  59. package/esm2022/watermark/watermark.directive.mjs +18 -10
  60. package/fesm2022/ngx-tethys-carousel.mjs +2 -2
  61. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  62. package/fesm2022/ngx-tethys-core.mjs +43 -3
  63. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  64. package/fesm2022/ngx-tethys-dialog.mjs +1 -1
  65. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  66. package/fesm2022/ngx-tethys-drag-drop.mjs +13 -2
  67. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  68. package/fesm2022/ngx-tethys-empty.mjs +102 -7
  69. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  70. package/fesm2022/ngx-tethys-guider.mjs +2 -2
  71. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  72. package/fesm2022/ngx-tethys-notify.mjs +2 -2
  73. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  74. package/fesm2022/ngx-tethys-result.mjs +2 -2
  75. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  76. package/fesm2022/ngx-tethys-table.mjs +2 -2
  77. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  78. package/fesm2022/ngx-tethys-watermark.mjs +18 -10
  79. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  80. package/fesm2022/ngx-tethys.mjs +1 -1
  81. package/fesm2022/ngx-tethys.mjs.map +1 -1
  82. package/form/styles/form-check.scss +1 -1
  83. package/form/styles/forms.scss +2 -3
  84. package/form/styles/mixin.scss +6 -5
  85. package/guider/styles/guider-tip.scss +2 -1
  86. package/icon/examples/all/all.component.scss +3 -1
  87. package/image/styles/image.scss +15 -11
  88. package/input/styles/input-group.scss +1 -1
  89. package/input/styles/input.scss +2 -2
  90. package/layout/examples/sidebar/sidebar.component.scss +1 -1
  91. package/layout/styles/layout.scss +3 -3
  92. package/menu/examples/theme/theme.component.scss +0 -8
  93. package/menu/styles/theme.scss +4 -4
  94. package/message/styles/message.scss +1 -1
  95. package/nav/examples/basic/basic.component.scss +1 -1
  96. package/nav/examples/extra/extra.component.scss +1 -1
  97. package/nav/examples/fill/fill.component.scss +1 -1
  98. package/nav/examples/lite/lite.component.scss +1 -1
  99. package/nav/examples/pills/pills.component.scss +1 -1
  100. package/nav/examples/responsive/responsive.component.scss +1 -1
  101. package/nav/examples/size/size.component.scss +1 -1
  102. package/nav/examples/tabs/tabs.component.scss +1 -1
  103. package/nav/examples/type/type.component.scss +1 -1
  104. package/nav/examples/vertical/vertical.component.scss +1 -1
  105. package/notify/styles/notify.scss +4 -4
  106. package/package.json +1 -1
  107. package/pagination/styles/pagination.scss +2 -2
  108. package/popover/styles.scss +3 -3
  109. package/property/styles/properties.scss +1 -1
  110. package/resizable/examples/line/line.component.scss +3 -1
  111. package/resizable/examples/style.scss +7 -5
  112. package/result/styles/result.scss +25 -1
  113. package/schematics/version.d.ts +1 -1
  114. package/schematics/version.js +1 -1
  115. package/segment/styles/mixin.scss +2 -3
  116. package/segment/styles/segment.scss +1 -1
  117. package/select/styles/select.scss +1 -1
  118. package/shared/option/styles/option.mixin.scss +1 -1
  119. package/shared/select/styles/select.mixin.scss +2 -2
  120. package/slide/examples/drawer-container/drawer-container.component.scss +1 -1
  121. package/slide/examples/layout/layout.component.scss +4 -2
  122. package/slide/styles/slide.scss +3 -2
  123. package/slider/slider.scss +2 -2
  124. package/stepper/examples/basic/basic.component.scss +3 -1
  125. package/stepper/examples/icon/icon.component.scss +3 -1
  126. package/stepper/styles/stepper.scss +7 -3
  127. package/styles/bootstrap/_variables.scss +14 -876
  128. package/styles/bootstrap/utilities/_background.scss +27 -5
  129. package/styles/bootstrap/utilities/_text.scss +29 -31
  130. package/styles/index.scss +2 -1
  131. package/styles/mixins/background-variant.scss +2 -10
  132. package/styles/mixins/utilities.scss +2 -11
  133. package/styles/modules/cdk/drag-drop.scss +6 -8
  134. package/styles/modules/close.scss +1 -1
  135. package/styles/modules/reboot.scss +1 -1
  136. package/styles/modules/tables.scss +1 -1
  137. package/styles/modules/utils.scss +0 -17
  138. package/styles/theme/dark.scss +70 -0
  139. package/styles/theme/default.scss +70 -0
  140. package/styles/theme/index.scss +2 -0
  141. package/styles/variables.scss +114 -76
  142. package/switch/styles/mixin.scss +0 -13
  143. package/table/styles/table.scss +7 -19
  144. package/tabs/styles/tabs.scss +1 -1
  145. package/tag/styles/mixin.scss +7 -42
  146. package/tag/styles/tag.scss +2 -2
  147. package/time-picker/styles/time-panel.scss +1 -1
  148. package/timeline/styles/timeline.scss +2 -2
  149. package/tooltip/styles.scss +4 -4
  150. package/transfer/styles/transfer.scss +2 -2
  151. package/tree/styles/tree.scss +3 -5
  152. package/watermark/config.d.ts +1 -1
  153. package/watermark/watermark.directive.d.ts +23 -2
  154. package/carousel/styles/index.scss +0 -1
  155. package/carousel/styles/variables.scss +0 -5
@@ -1,3 +1,5 @@
1
+ @use 'variables.scss' as variables2;
2
+
1
3
  :host {
2
4
  display: block;
3
5
  height: 200px;
@@ -6,8 +8,8 @@
6
8
  display: flex;
7
9
  align-items: center;
8
10
  justify-content: center;
9
- background: #eee;
10
- border: 1px solid #ddd;
11
+ background: variables2.$gray-200;
12
+ border: 1px solid variables2.$gray-300;
11
13
  }
12
14
 
13
15
  .bottom-right {
@@ -23,8 +25,8 @@
23
25
  justify-content: center;
24
26
  }
25
27
  .right {
26
- background: #fff;
27
- border: 1px solid #ddd;
28
+ background: variables2.$bg-default;
29
+ border: 1px solid variables2.$gray-300;
28
30
  text-align: center;
29
31
  font-size: 12px;
30
32
  height: 22px;
@@ -43,7 +45,7 @@ thy-resizable-grid-example:host {
43
45
  margin-top: 8px;
44
46
  margin-bottom: 8px;
45
47
  background: rgba(0, 160, 233, 0.7);
46
- color: #fff;
48
+ color: variables2.$white;
47
49
  }
48
50
 
49
51
  .col-right {
@@ -1,4 +1,4 @@
1
- @use "../../styles/variables";
1
+ @use '../../styles/variables';
2
2
 
3
3
  .thy-result {
4
4
  display: block;
@@ -20,3 +20,27 @@
20
20
  }
21
21
  }
22
22
  }
23
+
24
+ .thy-result-svg-success,
25
+ .thy-result-svg-error,
26
+ .thy-result-svg-warning {
27
+ display: inline-block;
28
+ }
29
+ .thy-result-svg-success-dark,
30
+ .thy-result-svg-error-dark,
31
+ .thy-result-svg-warning-dark {
32
+ display: none;
33
+ }
34
+
35
+ :root[theme='dark'] {
36
+ .thy-result-svg-success,
37
+ .thy-result-svg-error,
38
+ .thy-result-svg-warning {
39
+ display: none;
40
+ }
41
+ .thy-result-svg-success-dark,
42
+ .thy-result-svg-error-dark,
43
+ .thy-result-svg-warning-dark {
44
+ display: inline-block;
45
+ }
46
+ }
@@ -1 +1 @@
1
- export declare const VERSION = "18.1.0";
1
+ export declare const VERSION = "18.2.0-next.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '18.1.0';
4
+ exports.VERSION = '18.2.0-next.0';
@@ -24,7 +24,6 @@
24
24
  font-size: variables.$font-size-base;
25
25
  }
26
26
  }
27
-
28
27
  }
29
28
  &-#{$size} &-item-icon {
30
29
  @if ($size == xs) {
@@ -36,9 +35,9 @@
36
35
  }
37
36
 
38
37
  @mixin segment-item-active() {
39
- background-color: variables.$segment-item-active-bg;
38
+ background-color: variables.$segment-active-bg-color;
40
39
  border-radius: variables.$segment-border-radius;
41
- box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 4px -1px rgba(0, 0, 0, 0.1);
40
+ box-shadow: variables.$segment-active-box-shadow;
42
41
  }
43
42
 
44
43
  @mixin segment-disabled() {
@@ -6,7 +6,7 @@
6
6
  display: inline-block;
7
7
  padding: variables.$segment-container-padding;
8
8
  color: variables.$segment-default-color;
9
- background-color: variables.$segment-bg;
9
+ background-color: variables.$gray-100;
10
10
  border-radius: variables.$segment-border-radius;
11
11
  transition: all 0.3s ease-in-out;
12
12
 
@@ -64,7 +64,7 @@ select.form-control-md {
64
64
  right: 12px;
65
65
  font-size: variables.$font-size-base;
66
66
  z-index: 11;
67
- background: variables.$white;
67
+ background: variables.$bg-default;
68
68
  @include utilities.absolute-vertical-align-middle(false);
69
69
  }
70
70
 
@@ -184,7 +184,7 @@
184
184
  margin: variables.$list-grid-option-margin;
185
185
  width: variables.$list-grid-option-width;
186
186
  height: variables.$list-grid-option-height;
187
- background: variables.$white;
187
+ background: variables.$bg-default;
188
188
  border-radius: variables.$border-radius;
189
189
  border: solid 1px variables.$gray-200;
190
190
  cursor: variables.$hand-cursor;
@@ -71,7 +71,7 @@ $avatarHeight: (
71
71
  }
72
72
 
73
73
  &:hover {
74
- background-color: variables.$white;
74
+ background-color: variables.$bg-default;
75
75
  span {
76
76
  background-color: rgba(variables.$danger, 0.1);
77
77
  }
@@ -91,7 +91,7 @@ $avatarHeight: (
91
91
 
92
92
  @mixin thy-select-dropdown {
93
93
  width: 100%;
94
- background: variables.$white;
94
+ background: variables.$bg-panel;
95
95
  border-radius: variables.$border-radius;
96
96
  @include shadow.section-box-shadow();
97
97
  }
@@ -5,6 +5,6 @@
5
5
  flex-direction: row;
6
6
  thy-slide-layout {
7
7
  margin-right: 20px;
8
- background: variables2.$white;
8
+ background: variables2.$bg-default;
9
9
  }
10
10
  }
@@ -4,7 +4,9 @@
4
4
  display: flex;
5
5
  flex-direction: row;
6
6
  thy-slide-layout {
7
- margin-right: 20px;
8
- background: variables2.$white;
7
+ background: variables2.$bg-default;
8
+ &:first-child {
9
+ margin-right: 20px;
10
+ }
9
11
  }
10
12
  }
@@ -1,5 +1,5 @@
1
- @use "../../styles/variables";
2
- @use "sass:map";
1
+ @use '../../styles/variables';
2
+ @use 'sass:map';
3
3
 
4
4
  $directions: (('left', 'right'), ('right', 'left'), ('top', 'bottom'), ('bottom', 'top'));
5
5
 
@@ -67,6 +67,7 @@ $directions: (('left', 'right'), ('right', 'left'), ('top', 'bottom'), ('bottom'
67
67
  flex: auto;
68
68
  flex-direction: column;
69
69
  height: 100%;
70
+ background: variables.$bg-default;
70
71
 
71
72
  .thy-slide-header {
72
73
  display: flex;
@@ -8,7 +8,7 @@
8
8
  }
9
9
  .thy-slider-pointer {
10
10
  border-color: $color;
11
- background-color: variables.$white;
11
+ background-color: variables.$bg-default;
12
12
  }
13
13
  }
14
14
  }
@@ -99,7 +99,7 @@
99
99
  height: 14px;
100
100
  border-width: 1px;
101
101
  border-style: solid;
102
- background-color: variables.$white;
102
+ background-color: variables.$bg-default;
103
103
  }
104
104
  }
105
105
 
@@ -1,6 +1,8 @@
1
+ @use 'variables.scss' as variables2;
2
+
1
3
  .demo-stepper {
2
4
  .demo-stepper-body {
3
- border: 1px solid #ddd;
5
+ border: 1px solid variables2.$gray-300;
4
6
  margin-top: 10px;
5
7
  padding: 20px;
6
8
  width: 100%;
@@ -1,6 +1,8 @@
1
+ @use 'variables.scss' as variables2;
2
+
1
3
  .demo-stepper {
2
4
  .demo-stepper-body {
3
- border: 1px solid #ddd;
5
+ border: 1px solid variables2.$gray-300;
4
6
  margin-top: 10px;
5
7
  padding: 20px;
6
8
  width: 100%;
@@ -23,12 +23,16 @@
23
23
  border-radius: 100%;
24
24
  text-align: center;
25
25
  background-color: variables.$gray-200;
26
- transition: background-color 0.3s, border-color 0.3s;
26
+ transition:
27
+ background-color 0.3s,
28
+ border-color 0.3s;
27
29
  }
28
30
  .thy-step-icon {
29
31
  display: none;
30
32
  font-size: 24px;
31
- transition: background-color 0.3s, border-color 0.3s;
33
+ transition:
34
+ background-color 0.3s,
35
+ border-color 0.3s;
32
36
  }
33
37
  .thy-step-label {
34
38
  padding: variables.$stepper-label-padding;
@@ -60,7 +64,7 @@
60
64
  border-bottom: 6px solid variables.$gray-200;
61
65
  }
62
66
  &::after {
63
- border-bottom-color: variables.$white;
67
+ border-bottom-color: variables.$bg-default;
64
68
  }
65
69
  }
66
70
  }