@demos-europe/demosplan-ui 0.3.30 → 0.3.31

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
@@ -4,6 +4,11 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
4
4
 
5
5
  ## UNRELEASED
6
6
 
7
+ ## v0.3.31 - 2024-09-09
8
+
9
+ ### Fixed
10
+ - ([#1011](https://github.com/demos-europe/demosplan-ui/pull/1011)) Fix breakpoint values in Tailwind config ([@spiess-demos](https://github.com/spiess-demos))
11
+
7
12
  ## v0.3.30 - 2024-09-04
8
13
 
9
14
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demos-europe/demosplan-ui",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "license": "MIT",
5
5
  "description": "Vue components, Vue directives, Design Token and Scss files to build interfaces for demosPlan.",
6
6
  "main": "./dist/demosplan-ui.umd.js",
@@ -33,11 +33,17 @@ const lowerCamelToDash = (str) => {
33
33
 
34
34
  // Build Css variables chain to resolve aliases
35
35
  const transformTailwindTokenValue = (token, formatterArguments) => {
36
+ let current = token
37
+
38
+ // Css variables are not supported within media queries. See https://stackoverflow.com/a/40723269
39
+ if (token.path[0] === 'breakpoints') {
40
+ return current.original.value
41
+ }
42
+
36
43
  const { dictionary, platform } = formatterArguments
37
44
  const varName = `--${platform.prefix}${transformTailwindTokenName(token, true).replace(/\./g, '-')}`
38
45
  let fallback = resolveValue(token, dictionary)
39
46
 
40
- let current = token
41
47
  let cssVar = `var(${varName}`
42
48
  while (current.original && current.original.value.startsWith('{')) {
43
49
  const ref = dictionary.getReferences(current.original.value)[0]
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ * Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-box-shadow-xl: 0 0 16px rgb(0 0 0 / 20%), 0 0 3px rgb(0 0 0 / 50%) !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-breakpoints-xl: 1400px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-color-highlight-contrast: $dp-color-white !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-color-11-11: #313695;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-color-magenta-dark-2: #650324 !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-color-background-medium: $dp-color-neutral-light-3 !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-font-size-7: 50px !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-rounded-full: 9999px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-space-1_5: 9px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 04 Sep 2024 08:43:38 GMT
3
+ // Generated on Mon, 09 Sep 2024 07:34:01 GMT
4
4
 
5
5
 
6
6
  $dp-z-ultimate: 10000;
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
- "sm": "var(--dp-breakpoints-sm, 620px)",
3
- "md": "var(--dp-breakpoints-md, 904px)",
4
- "lg": "var(--dp-breakpoints-lg, 1200px)",
5
- "xl": "var(--dp-breakpoints-xl, 1400px)"
2
+ "sm": "620px",
3
+ "md": "904px",
4
+ "lg": "1200px",
5
+ "xl": "1400px"
6
6
  };