allaw-ui 5.0.9 → 5.1.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.
@@ -9,6 +9,8 @@
9
9
  border-radius: 73px;
10
10
  border: 1px solid #e6edf5;
11
11
  background: #fff;
12
+ /* Allow children to shrink in nested flex layouts (Safari/iOS) */
13
+ min-width: 0;
12
14
  }
13
15
 
14
16
  /* Size variants */
@@ -30,14 +32,20 @@
30
32
  opacity: 0.9;
31
33
  border: none;
32
34
  outline: none;
33
- flex: 1;
35
+ /* Let input shrink within flex row and enable ellipsis */
36
+ flex: 1 1 auto;
37
+ min-width: 0;
34
38
  width: auto;
35
39
  padding-left: 3px;
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ white-space: nowrap;
36
43
  }
37
44
 
38
45
  .searchBarPlaceholder::placeholder {
39
46
  color: #728ea7;
40
47
  opacity: 0.8;
48
+ text-overflow: ellipsis;
41
49
  }
42
50
 
43
51
  .searchBarStartIcon {
@@ -126,6 +134,20 @@
126
134
 
127
135
  /* Responsive behavior for mobile */
128
136
  @media (max-width: 479px) {
137
+ .searchBar {
138
+ height: 40px;
139
+ padding: 0 4px 0 12px;
140
+ gap: 6px;
141
+ }
142
+
143
+ .searchBarPlaceholder {
144
+ font-size: 14px;
145
+ }
146
+
147
+ .sizeBig .searchBarPlaceholder {
148
+ font-size: 16px;
149
+ }
150
+
129
151
  .searchBarLocateText {
130
152
  display: none;
131
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "5.0.9",
3
+ "version": "5.1.0",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",