@donkit-ai/design-system 0.2.7 → 0.2.8

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": "@donkit-ai/design-system",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Donkit Design System - minimal design tokens and React components",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -39,6 +39,14 @@
39
39
  line-height: 1.5;
40
40
  }
41
41
 
42
+ .ds-select-trigger > span {
43
+ flex: 1;
44
+ min-width: 0;
45
+ overflow: hidden;
46
+ text-overflow: ellipsis;
47
+ white-space: nowrap;
48
+ }
49
+
42
50
  .ds-select-trigger:hover:not(:disabled) {
43
51
  border-color: var(--color-border-hover);
44
52
  }
@@ -122,17 +130,19 @@
122
130
  text-align: left;
123
131
  transition: background-color var(--transition-normal);
124
132
  line-height: 1.5;
133
+ white-space: normal;
134
+ word-wrap: break-word;
125
135
  }
126
136
 
127
137
  .ds-select-option--small {
128
- height: calc(20px + var(--space-xs) * 2);
129
- padding: 0 var(--space-s);
138
+ min-height: calc(20px + var(--space-xs) * 2);
139
+ padding: var(--space-xs) var(--space-s);
130
140
  font-size: var(--font-size-p2);
131
141
  }
132
142
 
133
143
  .ds-select-option--medium {
134
- height: calc(24px + var(--space-s) * 2);
135
- padding: 0 var(--space-s);
144
+ min-height: calc(24px + var(--space-s) * 2);
145
+ padding: var(--space-s);
136
146
  font-size: var(--font-size-p1);
137
147
  }
138
148