@ui5/webcomponents-tools 1.15.0-rc.1 → 1.15.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 CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.15.0](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.2...v1.15.0) (2023-06-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **framework:** missing CSS variables in compact mode / rtl mode ([#7189](https://github.com/SAP/ui5-webcomponents/issues/7189)) ([9b39b9c](https://github.com/SAP/ui5-webcomponents/commit/9b39b9ce5c3720dbb106c5638f858754e11a735f))
12
+
13
+
14
+
15
+
16
+
17
+ # [1.15.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.1...v1.15.0-rc.2) (2023-06-22)
18
+
19
+ **Note:** Version bump only for package @ui5/webcomponents-tools
20
+
21
+
22
+
23
+
24
+
6
25
  # [1.15.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.0...v1.15.0-rc.1) (2023-06-15)
7
26
 
8
27
  **Note:** Version bump only for package @ui5/webcomponents-tools
@@ -7,6 +7,7 @@ const modifySelectors = require("modify-selectors");
7
7
  const fs = require("fs");
8
8
 
9
9
  const packageName = JSON.parse(fs.readFileSync("./package.json")).name;
10
+ const selectors = [".sapUiSizeCompact", ".ui5-content-density-compact", "[data-ui5-compact-size]", "[dir=\"rtl\"]", "[dir=\"ltr\"]"];
10
11
 
11
12
  module.exports = {
12
13
  plugins: [
@@ -30,6 +31,19 @@ module.exports = {
30
31
  },
31
32
  ],
32
33
  }),
34
+ modifySelectors({
35
+ enable: true,
36
+ modify: [
37
+ {
38
+ match: (selector) => {
39
+ return selectors.some($ => selector.startsWith($));
40
+ },
41
+ with: (selector) => {
42
+ return `${selector.replace(" ", "")}, ${selector}`;
43
+ },
44
+ },
45
+ ]
46
+ }),
33
47
  postcssCSStoJSON({ toReplace: 'src', packageName }),
34
48
  postcssCSStoESM({ toReplace: 'src', packageName }),
35
49
  ]
@@ -83,7 +83,7 @@ const generateFiles = (componentName, tagName, library, packageName, isTypeScrip
83
83
  // Change the color of the output
84
84
  console.warn('\x1b[33m%s\x1b[0m', `
85
85
  Make sure to import the component in your bundle by using:
86
- import ${componentName} from "./dist/${componentName}.js";`);
86
+ import "./dist/${componentName}.js";`);
87
87
  }
88
88
 
89
89
  // Main function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "1.15.0-rc.1",
3
+ "version": "1.15.0",
4
4
  "description": "UI5 Web Components: webcomponents.tools",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -79,5 +79,5 @@
79
79
  "devDependencies": {
80
80
  "yargs": "^17.5.1"
81
81
  },
82
- "gitHead": "3f60daa4116acec326076557b25d27b88a464b77"
82
+ "gitHead": "9a5b399dc1902253e8698384511bad890a9a370b"
83
83
  }