devextreme-themebuilder 21.2.7 → 22.1.2-beta

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 (37) hide show
  1. package/dart-compiler/metadata/dx-theme-builder-metadata.json +1 -1
  2. package/data/metadata/dx-theme-builder-metadata.js +4 -4
  3. package/data/scss/widgets/base/_dateBox.scss +1 -1
  4. package/data/scss/widgets/base/_gridBase.scss +11 -3
  5. package/data/scss/widgets/base/_htmlEditor.scss +50 -10
  6. package/data/scss/widgets/base/_icons.scss +6 -2
  7. package/data/scss/widgets/base/_mixins.scss +1 -2
  8. package/data/scss/widgets/base/_numberBox.scss +1 -1
  9. package/data/scss/widgets/base/_overlay.scss +0 -5
  10. package/data/scss/widgets/base/_pager.scss +2 -1
  11. package/data/scss/widgets/base/_popup.scss +1 -3
  12. package/data/scss/widgets/base/_scrollable.scss +5 -10
  13. package/data/scss/widgets/base/_toast.scss +59 -0
  14. package/data/scss/widgets/base/_toolbar.scss +1 -0
  15. package/data/scss/widgets/base/colorView/_mixins.scss +0 -1
  16. package/data/scss/widgets/base/list/_index.scss +1 -5
  17. package/data/scss/widgets/base/scheduler/_index.scss +2 -1
  18. package/data/scss/widgets/base/scheduler/views/_index.scss +1 -1
  19. package/data/scss/widgets/generic/_colors.scss +0 -2
  20. package/data/scss/widgets/generic/accordion/_index.scss +1 -1
  21. package/data/scss/widgets/generic/gridBase/_index.scss +2 -13
  22. package/data/scss/widgets/generic/htmlEditor/_index.scss +63 -0
  23. package/data/scss/widgets/generic/htmlEditor/_sizes.scss +4 -0
  24. package/data/scss/widgets/generic/pager/_index.scss +4 -0
  25. package/data/scss/widgets/generic/validation/_index.scss +0 -2
  26. package/data/scss/widgets/material/_colors.scss +0 -2
  27. package/data/scss/widgets/material/_sizes.scss +1 -0
  28. package/data/scss/widgets/material/accordion/_index.scss +1 -1
  29. package/data/scss/widgets/material/form/_index.scss +1 -6
  30. package/data/scss/widgets/material/gridBase/_index.scss +2 -13
  31. package/data/scss/widgets/material/htmlEditor/_index.scss +45 -0
  32. package/data/scss/widgets/material/htmlEditor/_sizes.scss +3 -0
  33. package/data/scss/widgets/material/pager/_index.scss +9 -4
  34. package/data/scss/widgets/material/toolbar/_index.scss +14 -0
  35. package/data/scss/widgets/material/validation/_index.scss +0 -2
  36. package/modules/bootstrap-extractor.js +1 -1
  37. package/package.json +4 -4
@@ -10,6 +10,7 @@
10
10
  @use "../textEditor/colors" as *;
11
11
  @use "../toolbar/sizes" as *;
12
12
  @use "../common/mixins" as *;
13
+ @use "../fileUploader/sizes" as *;
13
14
  @use "../../base/htmlEditor";
14
15
 
15
16
  // adduse
@@ -349,6 +350,50 @@
349
350
  }
350
351
  }
351
352
 
353
+ .dx-htmleditor-add-image-popup > .dx-overlay-content > .dx-popup-content {
354
+ .dx-collection .dx-field-item:not(.dx-last-col) {
355
+ padding-right: $material-html-editor-add-image-dialog-base-padding;
356
+ }
357
+
358
+ .dx-fix-ratio-container {
359
+ .dx-textbox {
360
+ width: calc(100% - $material-button-height - $material-html-editor-add-image-dialog-base-padding);
361
+ }
362
+
363
+ .dx-buttongroup {
364
+ margin-left: $material-html-editor-add-image-dialog-base-padding;
365
+ width: $material-button-height;
366
+ margin-top: math.div($material-base-inline-widget-height - $material-button-height, 2);
367
+ }
368
+ }
369
+
370
+ .dx-collection .dx-field-item:not(.dx-first-col) {
371
+ padding-left: 0;
372
+ }
373
+
374
+ .dx-fileuploader-input-wrapper {
375
+ padding: $material-html-editor-add-image-dialog-fileuploader-padding;
376
+ border: 3px dashed $base-border-color;
377
+
378
+ .dx-fileuploader-input-label {
379
+ border-width: 0;
380
+ }
381
+ }
382
+ }
383
+
384
+ .dx-htmleditor-add-image-popup {
385
+ .dx-fileuploader-dragover {
386
+ .dx-fileuploader-input {
387
+ padding-top: $material-fileuploader-vertical-padding;
388
+ padding-bottom: $material-fileuploader-vertical-padding + 1px;
389
+ }
390
+
391
+ .dx-fileuploader-content {
392
+ background-color: color.change($htmleditor-border-color, $alpha: 0.8);
393
+ }
394
+ }
395
+ }
396
+
352
397
  .dx-mention {
353
398
  background-color: $htmleditor-mention-bg;
354
399
  }
@@ -6,13 +6,16 @@
6
6
  $material-toolbar-size-editor-width: null !default;
7
7
  $material-html-editor-horizontal-padding: 15px !default;
8
8
  $material-htmleditor-toolbar-padding: null !default;
9
+ $material-html-editor-add-image-dialog-fileuploader-padding: null !default;
9
10
 
10
11
  @if $size == "default" {
11
12
  $material-toolbar-size-editor-width: 120px !default;
12
13
  $material-htmleditor-toolbar-padding: 16px !default;
14
+ $material-html-editor-add-image-dialog-fileuploader-padding: 50px 40px;
13
15
  }
14
16
 
15
17
  @else if $size == "compact" {
16
18
  $material-toolbar-size-editor-width: 90px !default;
17
19
  $material-htmleditor-toolbar-padding: 11px !default;
20
+ $material-html-editor-add-image-dialog-fileuploader-padding: 40px 30px;
18
21
  }
@@ -23,6 +23,10 @@
23
23
  }
24
24
 
25
25
  .dx-pages {
26
+ .dx-page-indexes {
27
+ vertical-align: middle;
28
+ }
29
+
26
30
  .dx-navigate-button,
27
31
  .dx-light-pages {
28
32
  vertical-align: middle;
@@ -73,6 +77,11 @@
73
77
  }
74
78
 
75
79
  .dx-page-sizes .dx-page-size {
80
+ &:first-child,
81
+ &.dx-first-child {
82
+ margin-left: 0;
83
+ }
84
+
76
85
  padding: $material-pager-page-padding;
77
86
  line-height: $material-pager-page-line-height;
78
87
  }
@@ -85,8 +94,4 @@
85
94
  color: $pager-page-selected-color;
86
95
  }
87
96
  }
88
-
89
- .dx-page-sizes .dx-page-size:first-child {
90
- margin-left: 0;
91
- }
92
97
  }
@@ -73,6 +73,20 @@
73
73
  padding: 0;
74
74
  }
75
75
 
76
+ .dx-button-mode-contained {
77
+ &.dx-button-default {
78
+ @include dx-button-flat-color-styling($button-default-bg, transparent, transparent, transparent);
79
+ }
80
+
81
+ &.dx-button-danger {
82
+ @include dx-button-flat-color-styling($button-danger-bg, transparent, transparent, transparent);
83
+ }
84
+
85
+ &.dx-button-success {
86
+ @include dx-button-flat-color-styling($button-success-bg, transparent, transparent, transparent);
87
+ }
88
+ }
89
+
76
90
  .dx-button {
77
91
  height: $material-list-item-height;
78
92
  padding: 0;
@@ -8,8 +8,6 @@
8
8
 
9
9
  // adduse
10
10
  @use "../overlay";
11
-
12
-
13
11
  @include dx-base-validation($validation-summary-color, $validation-message-color, $validation-message-background-color);
14
12
 
15
13
  .dx-invalid-message > .dx-overlay-content {
@@ -76,7 +76,7 @@ class BootstrapExtractor {
76
76
  }
77
77
  readSassFile(fileName) {
78
78
  return __awaiter(this, void 0, void 0, function* () {
79
- const path = require.resolve(`bootstrap-v${this.version}/scss/${fileName}`);
79
+ const path = require.resolve(`bootstrap${this.version}/scss/${fileName}`);
80
80
  return fs_1.promises.readFile(path, 'utf8');
81
81
  });
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devextreme-themebuilder",
3
- "version": "21.2.7",
3
+ "version": "22.1.2-beta",
4
4
  "description": "DevExtreme ThemeBuilder",
5
5
  "keywords": [
6
6
  "devextreme",
@@ -14,8 +14,8 @@
14
14
  "license": "SEE LICENSE IN README.md",
15
15
  "dependencies": {
16
16
  "autoprefixer": "^10.2.4",
17
- "bootstrap-v4": "npm:bootstrap@^4.6.0",
18
- "bootstrap-v5": "npm:bootstrap@^5.0.2",
17
+ "bootstrap4": "npm:bootstrap@^4.6.0",
18
+ "bootstrap5": "npm:bootstrap@^5.0.2",
19
19
  "clean-css": "^5.1.0",
20
20
  "less": "^3.13.1",
21
21
  "postcss": "^8.2.6",
@@ -43,7 +43,7 @@
43
43
  "filing-cabinet": "^2.6.0",
44
44
  "fs-extra": "^9.0.0",
45
45
  "jest": "^26.6.1",
46
- "precinct": "^6.3.1",
46
+ "precinct": "^8.3.1",
47
47
  "sinon": "^9.2.4",
48
48
  "ts-jest": "^26.5.2",
49
49
  "ts-node": "^8.10.1",