@idds/styles 1.0.61 → 1.2.1

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": "@idds/styles",
3
- "version": "1.0.61",
3
+ "version": "1.2.1",
4
4
  "description": "Shared CSS styles and colors for INA Digital Design System",
5
5
  "type": "module",
6
6
  "main": "./src/index.css",
@@ -52,14 +52,18 @@
52
52
  ============================================ */
53
53
 
54
54
  /* Filled - Default State */
55
- .ina-chip__item--variant-filled:not(.ina-chip__item--selected):not(.ina-chip__item--disabled) {
55
+ .ina-chip__item--variant-filled:not(.ina-chip__item--selected):not(
56
+ .ina-chip__item--disabled
57
+ ) {
56
58
  background-color: var(--ina-primary-25);
57
59
  color: var(--ina-content-primary);
58
60
  border-color: var(--ina-primary-25);
59
61
  }
60
62
 
61
63
  /* Filled - Hover State */
62
- .ina-chip__item--variant-filled:not(.ina-chip__item--selected):not(.ina-chip__item--disabled):hover {
64
+ .ina-chip__item--variant-filled:not(.ina-chip__item--selected):not(
65
+ .ina-chip__item--disabled
66
+ ):hover {
63
67
  background-color: var(--ina-primary-50);
64
68
  color: var(--ina-content-primary);
65
69
  border-color: var(--ina-primary-25);
@@ -86,14 +90,18 @@
86
90
  ============================================ */
87
91
 
88
92
  /* Outline - Default State */
89
- .ina-chip__item--variant-outline:not(.ina-chip__item--selected):not(.ina-chip__item--disabled) {
93
+ .ina-chip__item--variant-outline:not(.ina-chip__item--selected):not(
94
+ .ina-chip__item--disabled
95
+ ) {
90
96
  background-color: var(--ina-neutral-25, #ffffff);
91
97
  color: var(--ina-content-primary);
92
98
  border-color: var(--ina-stroke-primary);
93
99
  }
94
100
 
95
101
  /* Outline - Hover State */
96
- .ina-chip__item--variant-outline:not(.ina-chip__item--selected):not(.ina-chip__item--disabled):hover {
102
+ .ina-chip__item--variant-outline:not(.ina-chip__item--selected):not(
103
+ .ina-chip__item--disabled
104
+ ):hover {
97
105
  background-color: var(--ina-primary-50);
98
106
  color: var(--ina-content-primary);
99
107
  border-color: var(--ina-stroke-primary);
@@ -226,3 +234,12 @@
226
234
  transform: scale(1);
227
235
  }
228
236
  }
237
+ .ina-chip__input {
238
+ min-width: 100%;
239
+ max-width: 100%;
240
+ }
241
+ @media (max-width: 640px) {
242
+ .ina-chip__input {
243
+ min-width: 500px;
244
+ }
245
+ }
@@ -75,19 +75,19 @@
75
75
  }
76
76
 
77
77
  .ina-dropdown__menu--width-sm {
78
- width: 120px;
78
+ min-width: 120px;
79
79
  }
80
80
 
81
81
  .ina-dropdown__menu--width-md {
82
- width: 160px;
82
+ min-width: 160px;
83
83
  }
84
84
 
85
85
  .ina-dropdown__menu--width-lg {
86
- width: 200px;
86
+ min-width: 200px;
87
87
  }
88
88
 
89
89
  .ina-dropdown__menu--width-xl {
90
- width: 240px;
90
+ min-width: 240px;
91
91
  }
92
92
 
93
93
  .ina-dropdown__menu--width-full {
@@ -116,6 +116,7 @@
116
116
  display: flex;
117
117
  align-items: center;
118
118
  gap: var(--ina-spacing-2);
119
+ margin-bottom: 0 !important;
119
120
  }
120
121
 
121
122
  .ina-dropdown__item:hover {
@@ -127,8 +127,8 @@
127
127
  top: 50%;
128
128
  left: 50%;
129
129
  transform: translate(-50%, -50%);
130
- width: 8px;
131
- height: 8px;
130
+ width: 11px;
131
+ height: 11px;
132
132
  border-radius: 50%;
133
133
  background-color: var(--ina-neutral-200, #e5e5e5);
134
134
  }
@@ -145,7 +145,6 @@
145
145
 
146
146
  .ina-radio-input__option-label--disabled {
147
147
  cursor: not-allowed;
148
- color: #e0e0e0;
149
148
  }
150
149
 
151
150
  /* Size variants */
@@ -180,6 +179,7 @@
180
179
  flex-direction: row;
181
180
  flex-wrap: wrap;
182
181
  gap: var(--ina-spacing-4);
182
+ align-items: center;
183
183
  }
184
184
 
185
185
  /* Status variants */
@@ -25,7 +25,9 @@
25
25
  box-sizing: border-box;
26
26
  }
27
27
 
28
- .ina-single-file-upload__container:hover:not(.ina-single-file-upload__container--disabled) {
28
+ .ina-single-file-upload__container:hover:not(
29
+ .ina-single-file-upload__container--disabled
30
+ ) {
29
31
  border-color: var(--ina-guide-500, #0968f6);
30
32
  }
31
33
 
@@ -119,7 +121,8 @@
119
121
  }
120
122
 
121
123
  .ina-single-file-upload__container--disabled .ina-single-file-upload__title,
122
- .ina-single-file-upload__container--disabled .ina-single-file-upload__description {
124
+ .ina-single-file-upload__container--disabled
125
+ .ina-single-file-upload__description {
123
126
  color: var(--ina-content-tertiary);
124
127
  }
125
128
 
@@ -163,7 +166,7 @@
163
166
  padding: 0;
164
167
  border: none;
165
168
  background: transparent;
166
- color: var(--ina-content-primary);
169
+ color: var(--ina-negative-500);
167
170
  cursor: pointer;
168
171
  display: flex;
169
172
  align-items: center;
@@ -173,7 +176,7 @@
173
176
  }
174
177
 
175
178
  .ina-single-file-upload__delete-button:hover {
176
- color: var(--ina-content-negative, var(--ina-red-600));
179
+ color: var(--ina-negative-600, var(--ina-red-600));
177
180
  }
178
181
 
179
182
  .ina-single-file-upload__delete-button:focus-visible {
@@ -181,4 +184,3 @@
181
184
  outline-offset: 2px;
182
185
  border-radius: 2px;
183
186
  }
184
-
@@ -217,39 +217,39 @@
217
217
  /* Positioning classes */
218
218
  /* Reduced margin to eliminate gap and prevent hover area break */
219
219
  .ina-tooltip--placement-top {
220
- bottom: 85%;
220
+ bottom: 90%;
221
221
  left: 50%;
222
222
  transform: translateX(-50%);
223
223
  margin-bottom: 0;
224
224
  }
225
225
 
226
226
  .ina-tooltip--placement-top-start {
227
- bottom: 85%;
227
+ bottom: 90%;
228
228
  left: 0;
229
229
  margin-bottom: 0;
230
230
  }
231
231
 
232
232
  .ina-tooltip--placement-top-end {
233
- bottom: 85%;
233
+ bottom: 90%;
234
234
  right: 0;
235
235
  margin-bottom: 0;
236
236
  }
237
237
 
238
238
  .ina-tooltip--placement-bottom {
239
- top: 100%;
239
+ top: 90%;
240
240
  left: 50%;
241
241
  transform: translateX(-50%);
242
242
  margin-top: 0;
243
243
  }
244
244
 
245
245
  .ina-tooltip--placement-bottom-start {
246
- top: 100%;
246
+ top: 90%;
247
247
  left: 0;
248
248
  margin-top: 0;
249
249
  }
250
250
 
251
251
  .ina-tooltip--placement-bottom-end {
252
- top: 100%;
252
+ top: 90%;
253
253
  right: 0;
254
254
  margin-top: 0;
255
255
  }
@@ -307,7 +307,7 @@
307
307
 
308
308
  /* Top arrows (pointing down to trigger) - arrow at bottom of tooltip */
309
309
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top::after {
310
- top: 100%; /* At the bottom of tooltip content */
310
+ bottom: -10px; /* At the bottom of tooltip content, pointing down (5px border + 5px offset) */
311
311
  left: 50%;
312
312
  margin-left: -5px; /* Half of border-width to center */
313
313
  border-width: 5px;
@@ -316,7 +316,7 @@
316
316
  }
317
317
 
318
318
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top-start::after {
319
- top: 100%;
319
+ bottom: -10px;
320
320
  left: 16px;
321
321
  margin-left: -5px;
322
322
  border-width: 5px;
@@ -324,7 +324,7 @@
324
324
  }
325
325
 
326
326
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top-end::after {
327
- top: 100%;
327
+ bottom: -10px;
328
328
  right: 16px;
329
329
  margin-left: -5px;
330
330
  border-width: 5px;
@@ -333,7 +333,7 @@
333
333
 
334
334
  /* Bottom arrows (pointing up to trigger) - arrow at top of tooltip */
335
335
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom::after {
336
- bottom: 85%; /* At the top of tooltip content */
336
+ top: -10px; /* At the top of tooltip content, pointing up (5px border + 5px offset) */
337
337
  left: 50%;
338
338
  margin-left: -5px;
339
339
  border-width: 5px;
@@ -341,7 +341,7 @@
341
341
  }
342
342
 
343
343
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-start::after {
344
- bottom: 85%;
344
+ top: -10px;
345
345
  left: 16px;
346
346
  margin-left: -5px;
347
347
  border-width: 5px;
@@ -349,7 +349,7 @@
349
349
  }
350
350
 
351
351
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-end::after {
352
- bottom: 85%;
352
+ top: -10px;
353
353
  right: 16px;
354
354
  margin-left: -5px;
355
355
  border-width: 5px;