Skip to content

Commit e0e1a9f

Browse files
authored
Merge pull request #1160 from cloudinary/node-upgrade-improvements
Fix CSS & JS deprecation warnings following node upgrade
2 parents 26db9ff + d3c1910 commit e0e1a9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+372
-278
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ cloudinary-image-management-and-manipulation-in-the-cloud-cdn.zip
5252
cloudinary-wordpress-v2.zip
5353
cloudinary-wordpress-v3.zip
5454
package/dist
55+
56+
# AI generated files
57+
.claude/

css/cloudinary.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/gallery.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '6da83dfb91692f575603');
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '9cc411f20e1aa5754b7f');

js/gallery.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/components/_brand.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "../variables" as *;
2+
13
@font-face {
24
font-family: cloudinary;
35
src: url(fonts/cloudinary.eot);

src/css/components/_edit_overlay.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
@import '../variables';
1+
@use "sass:color";
2+
@use "../variables" as *;
23

34
.edit-overlay {
45
&-grid {
@@ -79,7 +80,7 @@
7980
border: 2px solid $color-red;
8081

8182
&:hover {
82-
background-color: darken($color-red, 5%);
83+
background-color: color.adjust($color-red, $lightness: -5%);
8384
color: $color-white;
8485
}
8586
}

src/css/components/_settings.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "../variables" as *;
2+
13
.settings {
24

35
&-image {

src/css/components/_sync.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "../variables" as *;
2+
13
.sync {
24

35
.spinner {

src/css/components/_terms_order.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "../variables" as *;
2+
13
.cld {
24

35
&-tax {

src/css/components/_ui.scss

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,45 @@
1-
.cld {
2-
@import "ui/ui-components";
3-
@import "ui/grid";
4-
@import "ui/page";
5-
@import "ui/panel";
6-
@import "ui/loading";
7-
@import "ui/sidebar";
8-
@import "ui/charts";
9-
@import "ui/asset-table";
10-
@import "ui/links";
11-
@import "ui/tooltips";
12-
@import "ui/notice";
13-
@import "ui/grid";
14-
@import "ui/media";
15-
@import "ui/group";
16-
@import "ui/input";
17-
@import "ui/gallery";
18-
@import "ui/tables";
19-
@import "ui/modal";
20-
@import "ui/sidebar";
21-
@import "ui/plan";
22-
@import "ui/wizard";
23-
@import "ui/import";
24-
@import "ui/sizes-preview";
25-
@import "ui/cron";
26-
}
1+
@use "../variables" as *;
272

3+
// UI Components - using @forward to re-export all UI modules.
4+
@forward "ui/ui-components";
5+
@forward "ui/grid";
6+
@forward "ui/page";
7+
@forward "ui/tabs";
8+
@forward "ui/panel";
9+
@forward "ui/panels/legacy";
10+
@forward "ui/panels/panel-short";
11+
@forward "ui/panels/infobox";
12+
@forward "ui/panels/submit-switch-cloud";
13+
@forward "ui/panels/optimize";
14+
@forward "ui/loading";
15+
@forward "ui/sidebar";
16+
@forward "ui/charts";
17+
@forward "ui/asset-table";
18+
@forward "ui/links";
19+
@forward "ui/tooltips";
20+
@forward "ui/notice";
21+
@forward "ui/media";
22+
@forward "ui/group";
23+
@forward "ui/input";
24+
@forward "ui/controls/text";
25+
@forward "ui/controls/select";
26+
@forward "ui/controls/on-off";
27+
@forward "ui/controls/icon-toggle";
28+
@forward "ui/controls/excluded_types";
29+
@forward "ui/controls/input-tags";
30+
@forward "ui/gallery";
31+
@forward "ui/tables";
32+
@forward "ui/modal";
33+
@forward "ui/plan";
34+
@forward "ui/wizard";
35+
@forward "ui/wizard/tabs";
36+
@forward "ui/wizard/intro";
37+
@forward "ui/wizard/connect";
38+
@forward "ui/wizard/optimize";
39+
@forward "ui/wizard/complete";
40+
@forward "ui/import";
41+
@forward "ui/sizes-preview";
42+
@forward "ui/cron";
2843

2944
// Extras.
3045
.tippy-box[data-theme~="cloudinary"] {

0 commit comments

Comments
 (0)