@siemens/element-theme 51.2.0 → 51.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siemens/element-theme",
3
- "version": "51.2.0",
3
+ "version": "51.3.0",
4
4
  "description": "Element CSS theme.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,3 +1,4 @@
1
+ @use 'sass:map';
1
2
  @use '../variables';
2
3
  @use '../selectors';
3
4
 
@@ -80,6 +81,37 @@
80
81
  }
81
82
  }
82
83
 
84
+ // Opt in on the destination list or the draggable item to show an insertion line.
85
+ // Keep the placeholder visible in copy-source lists until it becomes an anchor.
86
+ .cdk-drop-list.drop-line-placeholder:not([cdkDropListHasAnchor])
87
+ > .cdk-drag-placeholder:not(.cdk-drag-anchor),
88
+ .cdk-drop-list:not([cdkDropListHasAnchor])
89
+ .cdk-drag-placeholder.drop-line-placeholder:not(.cdk-drag-anchor) {
90
+ block-size: 0;
91
+ min-block-size: 0;
92
+ inline-size: auto;
93
+ margin-inline: map.get(variables.$spacers-inline, 4);
94
+ margin-block: 0;
95
+ padding: 0;
96
+ border: 0;
97
+ opacity: 1;
98
+ background-color: transparent !important;
99
+ position: relative;
100
+ z-index: 999;
101
+
102
+ &::after {
103
+ position: absolute;
104
+ inline-size: 100%;
105
+ block-size: map.get(variables.$spacers-block, 1);
106
+ content: '';
107
+ background-color: variables.$si-sys-color-effects-focus;
108
+ }
109
+
110
+ > * {
111
+ display: none;
112
+ }
113
+ }
114
+
83
115
  // The anchor is a clone of the placeholder left behind in the source list when
84
116
  // `cdkDropListHasAnchor` is used. Make sure it always renders like the original item.
85
117
  .cdk-drag-anchor,