@db-ux/core-foundations 2.1.1 → 2.2.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 (38) hide show
  1. package/build/styles/_variables.scss +13 -0
  2. package/build/styles/absolute.css +51 -0
  3. package/build/styles/defaults/_default-properties.scss +60 -0
  4. package/build/styles/defaults/_default-variables.scss +10 -0
  5. package/build/styles/defaults/default-theme.css +1 -1
  6. package/build/styles/density/classes/all.css +1 -0
  7. package/build/styles/density/classes/expressive.css +1 -0
  8. package/build/styles/density/classes/functional.css +1 -0
  9. package/build/styles/density/classes/regular.css +1 -0
  10. package/build/styles/fonts/classes/all.css +1 -0
  11. package/build/styles/fonts/classes/body/2xl.css +1 -0
  12. package/build/styles/fonts/classes/body/2xs.css +1 -0
  13. package/build/styles/fonts/classes/body/3xl.css +1 -0
  14. package/build/styles/fonts/classes/body/3xs.css +1 -0
  15. package/build/styles/fonts/classes/body/all.css +1 -0
  16. package/build/styles/fonts/classes/body/lg.css +1 -0
  17. package/build/styles/fonts/classes/body/md.css +1 -0
  18. package/build/styles/fonts/classes/body/sm.css +1 -0
  19. package/build/styles/fonts/classes/body/xl.css +1 -0
  20. package/build/styles/fonts/classes/body/xs.css +1 -0
  21. package/build/styles/fonts/classes/headline/2xl.css +1 -0
  22. package/build/styles/fonts/classes/headline/2xs.css +1 -0
  23. package/build/styles/fonts/classes/headline/3xl.css +1 -0
  24. package/build/styles/fonts/classes/headline/3xs.css +1 -0
  25. package/build/styles/fonts/classes/headline/all.css +1 -0
  26. package/build/styles/fonts/classes/headline/lg.css +1 -0
  27. package/build/styles/fonts/classes/headline/md.css +1 -0
  28. package/build/styles/fonts/classes/headline/sm.css +1 -0
  29. package/build/styles/fonts/classes/headline/xl.css +1 -0
  30. package/build/styles/fonts/classes/headline/xs.css +1 -0
  31. package/build/styles/helpers/classes/all.css +1 -0
  32. package/build/styles/helpers/classes/divider.css +1 -0
  33. package/build/styles/helpers/classes/focus.css +1 -0
  34. package/build/styles/index.css +1 -0
  35. package/build/styles/relative.css +51 -0
  36. package/build/styles/rollup.css +51 -0
  37. package/build/styles/webpack.css +51 -0
  38. package/package.json +1 -1
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -204,6 +204,7 @@ blockquote:not([class])::before, blockquote:not([class])::after {
204
204
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
205
205
  /* Elevation */
206
206
  /* Border */
207
+ /* Opacity */
207
208
  /* Transitions */
208
209
  /* Use this file if you want the default color and density in your project */
209
210
  :not([data-disable-focus=true]):is(a,
@@ -47,6 +47,7 @@
47
47
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
48
48
  /* Elevation */
49
49
  /* Border */
50
+ /* Opacity */
50
51
  /* Transitions */
51
52
  /* Variants for adaptive components like input, select, notification, ... */
52
53
  blockquote:not([class]), [data-mode], :is(:root, :host) {
@@ -3029,6 +3030,56 @@ select,
3029
3030
  initial-value: 0.3s cubic-bezier(0.15, 0, 0.45, 1);
3030
3031
  inherits: true;
3031
3032
  }
3033
+ @property --db-opacity-3xs {
3034
+ syntax: "<number>";
3035
+ initial-value: 0.08;
3036
+ inherits: true;
3037
+ }
3038
+ @property --db-opacity-2xs {
3039
+ syntax: "<number>";
3040
+ initial-value: 0.16;
3041
+ inherits: true;
3042
+ }
3043
+ @property --db-opacity-xs {
3044
+ syntax: "<number>";
3045
+ initial-value: 0.24;
3046
+ inherits: true;
3047
+ }
3048
+ @property --db-opacity-sm {
3049
+ syntax: "<number>";
3050
+ initial-value: 0.32;
3051
+ inherits: true;
3052
+ }
3053
+ @property --db-opacity-md {
3054
+ syntax: "<number>";
3055
+ initial-value: 0.4;
3056
+ inherits: true;
3057
+ }
3058
+ @property --db-opacity-lg {
3059
+ syntax: "<number>";
3060
+ initial-value: 0.68;
3061
+ inherits: true;
3062
+ }
3063
+ @property --db-opacity-xl {
3064
+ syntax: "<number>";
3065
+ initial-value: 0.76;
3066
+ inherits: true;
3067
+ }
3068
+ @property --db-opacity-2xl {
3069
+ syntax: "<number>";
3070
+ initial-value: 0.84;
3071
+ inherits: true;
3072
+ }
3073
+ @property --db-opacity-3xl {
3074
+ syntax: "<number>";
3075
+ initial-value: 0.92;
3076
+ inherits: true;
3077
+ }
3078
+ @property --db-opacity-full {
3079
+ syntax: "<number>";
3080
+ initial-value: 1;
3081
+ inherits: true;
3082
+ }
3032
3083
  @property --db-typography-regular-desktop-headline-3xl {
3033
3084
  syntax: "*";
3034
3085
  initial-value: bolder 5rem/1.2 "OpenSans Head", helvetica, arial, sans-serif;
@@ -47,6 +47,7 @@
47
47
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
48
48
  /* Elevation */
49
49
  /* Border */
50
+ /* Opacity */
50
51
  /* Transitions */
51
52
  /* Variants for adaptive components like input, select, notification, ... */
52
53
  blockquote:not([class]), [data-mode], :is(:root, :host) {
@@ -3029,6 +3030,56 @@ select,
3029
3030
  initial-value: 0.3s cubic-bezier(0.15, 0, 0.45, 1);
3030
3031
  inherits: true;
3031
3032
  }
3033
+ @property --db-opacity-3xs {
3034
+ syntax: "<number>";
3035
+ initial-value: 0.08;
3036
+ inherits: true;
3037
+ }
3038
+ @property --db-opacity-2xs {
3039
+ syntax: "<number>";
3040
+ initial-value: 0.16;
3041
+ inherits: true;
3042
+ }
3043
+ @property --db-opacity-xs {
3044
+ syntax: "<number>";
3045
+ initial-value: 0.24;
3046
+ inherits: true;
3047
+ }
3048
+ @property --db-opacity-sm {
3049
+ syntax: "<number>";
3050
+ initial-value: 0.32;
3051
+ inherits: true;
3052
+ }
3053
+ @property --db-opacity-md {
3054
+ syntax: "<number>";
3055
+ initial-value: 0.4;
3056
+ inherits: true;
3057
+ }
3058
+ @property --db-opacity-lg {
3059
+ syntax: "<number>";
3060
+ initial-value: 0.68;
3061
+ inherits: true;
3062
+ }
3063
+ @property --db-opacity-xl {
3064
+ syntax: "<number>";
3065
+ initial-value: 0.76;
3066
+ inherits: true;
3067
+ }
3068
+ @property --db-opacity-2xl {
3069
+ syntax: "<number>";
3070
+ initial-value: 0.84;
3071
+ inherits: true;
3072
+ }
3073
+ @property --db-opacity-3xl {
3074
+ syntax: "<number>";
3075
+ initial-value: 0.92;
3076
+ inherits: true;
3077
+ }
3078
+ @property --db-opacity-full {
3079
+ syntax: "<number>";
3080
+ initial-value: 1;
3081
+ inherits: true;
3082
+ }
3032
3083
  @property --db-typography-regular-desktop-headline-3xl {
3033
3084
  syntax: "*";
3034
3085
  initial-value: bolder 5rem/1.2 "OpenSans Head", helvetica, arial, sans-serif;
@@ -47,6 +47,7 @@
47
47
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
48
48
  /* Elevation */
49
49
  /* Border */
50
+ /* Opacity */
50
51
  /* Transitions */
51
52
  /* Variants for adaptive components like input, select, notification, ... */
52
53
  blockquote:not([class]), [data-mode], :is(:root, :host) {
@@ -3029,6 +3030,56 @@ select,
3029
3030
  initial-value: 0.3s cubic-bezier(0.15, 0, 0.45, 1);
3030
3031
  inherits: true;
3031
3032
  }
3033
+ @property --db-opacity-3xs {
3034
+ syntax: "<number>";
3035
+ initial-value: 0.08;
3036
+ inherits: true;
3037
+ }
3038
+ @property --db-opacity-2xs {
3039
+ syntax: "<number>";
3040
+ initial-value: 0.16;
3041
+ inherits: true;
3042
+ }
3043
+ @property --db-opacity-xs {
3044
+ syntax: "<number>";
3045
+ initial-value: 0.24;
3046
+ inherits: true;
3047
+ }
3048
+ @property --db-opacity-sm {
3049
+ syntax: "<number>";
3050
+ initial-value: 0.32;
3051
+ inherits: true;
3052
+ }
3053
+ @property --db-opacity-md {
3054
+ syntax: "<number>";
3055
+ initial-value: 0.4;
3056
+ inherits: true;
3057
+ }
3058
+ @property --db-opacity-lg {
3059
+ syntax: "<number>";
3060
+ initial-value: 0.68;
3061
+ inherits: true;
3062
+ }
3063
+ @property --db-opacity-xl {
3064
+ syntax: "<number>";
3065
+ initial-value: 0.76;
3066
+ inherits: true;
3067
+ }
3068
+ @property --db-opacity-2xl {
3069
+ syntax: "<number>";
3070
+ initial-value: 0.84;
3071
+ inherits: true;
3072
+ }
3073
+ @property --db-opacity-3xl {
3074
+ syntax: "<number>";
3075
+ initial-value: 0.92;
3076
+ inherits: true;
3077
+ }
3078
+ @property --db-opacity-full {
3079
+ syntax: "<number>";
3080
+ initial-value: 1;
3081
+ inherits: true;
3082
+ }
3032
3083
  @property --db-typography-regular-desktop-headline-3xl {
3033
3084
  syntax: "*";
3034
3085
  initial-value: bolder 5rem/1.2 "OpenSans Head", helvetica, arial, sans-serif;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/core-foundations",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "Provides basic tokens and assets based on DB UX Design System (Version 3).",
6
6
  "repository": {