@idds/styles 1.0.60 → 1.0.62

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.60",
3
+ "version": "1.0.62",
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
-
@@ -35,6 +35,8 @@
35
35
  opacity: 0;
36
36
  visibility: hidden;
37
37
  display: block;
38
+ /* Allow arrow to be visible outside content bounds */
39
+ overflow: visible;
38
40
  }
39
41
 
40
42
  /* Basic Tooltip Bubble */
@@ -215,39 +217,39 @@
215
217
  /* Positioning classes */
216
218
  /* Reduced margin to eliminate gap and prevent hover area break */
217
219
  .ina-tooltip--placement-top {
218
- bottom: 100%;
220
+ bottom: 90%;
219
221
  left: 50%;
220
222
  transform: translateX(-50%);
221
223
  margin-bottom: 0;
222
224
  }
223
225
 
224
226
  .ina-tooltip--placement-top-start {
225
- bottom: 100%;
227
+ bottom: 90%;
226
228
  left: 0;
227
229
  margin-bottom: 0;
228
230
  }
229
231
 
230
232
  .ina-tooltip--placement-top-end {
231
- bottom: 100%;
233
+ bottom: 90%;
232
234
  right: 0;
233
235
  margin-bottom: 0;
234
236
  }
235
237
 
236
238
  .ina-tooltip--placement-bottom {
237
- top: 100%;
239
+ top: 90%;
238
240
  left: 50%;
239
241
  transform: translateX(-50%);
240
242
  margin-top: 0;
241
243
  }
242
244
 
243
245
  .ina-tooltip--placement-bottom-start {
244
- top: 100%;
246
+ top: 90%;
245
247
  left: 0;
246
248
  margin-top: 0;
247
249
  }
248
250
 
249
251
  .ina-tooltip--placement-bottom-end {
250
- top: 100%;
252
+ top: 90%;
251
253
  right: 0;
252
254
  margin-top: 0;
253
255
  }
@@ -305,7 +307,7 @@
305
307
 
306
308
  /* Top arrows (pointing down to trigger) - arrow at bottom of tooltip */
307
309
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top::after {
308
- top: 100%; /* At the bottom of tooltip content */
310
+ bottom: -10px; /* At the bottom of tooltip content, pointing down (5px border + 5px offset) */
309
311
  left: 50%;
310
312
  margin-left: -5px; /* Half of border-width to center */
311
313
  border-width: 5px;
@@ -314,7 +316,7 @@
314
316
  }
315
317
 
316
318
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top-start::after {
317
- top: 100%;
319
+ bottom: -10px;
318
320
  left: 16px;
319
321
  margin-left: -5px;
320
322
  border-width: 5px;
@@ -322,7 +324,7 @@
322
324
  }
323
325
 
324
326
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-top-end::after {
325
- top: 100%;
327
+ bottom: -10px;
326
328
  right: 16px;
327
329
  margin-left: -5px;
328
330
  border-width: 5px;
@@ -331,7 +333,7 @@
331
333
 
332
334
  /* Bottom arrows (pointing up to trigger) - arrow at top of tooltip */
333
335
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom::after {
334
- bottom: 100%; /* At the top of tooltip content */
336
+ top: -10px; /* At the top of tooltip content, pointing up (5px border + 5px offset) */
335
337
  left: 50%;
336
338
  margin-left: -5px;
337
339
  border-width: 5px;
@@ -339,7 +341,7 @@
339
341
  }
340
342
 
341
343
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-start::after {
342
- bottom: 100%;
344
+ top: -10px;
343
345
  left: 16px;
344
346
  margin-left: -5px;
345
347
  border-width: 5px;
@@ -347,7 +349,7 @@
347
349
  }
348
350
 
349
351
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-end::after {
350
- bottom: 100%;
352
+ top: -10px;
351
353
  right: 16px;
352
354
  margin-left: -5px;
353
355
  border-width: 5px;
@@ -357,7 +359,7 @@
357
359
  /* Left arrows (pointing right to trigger) - arrow at right edge of tooltip */
358
360
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left::after {
359
361
  top: 50%;
360
- right: -5px; /* Positioned at right edge, pointing right */
362
+ right: -10px; /* Positioned at right edge, pointing right (5px border + 5px offset) */
361
363
  margin-top: -5px;
362
364
  border-width: 5px;
363
365
  border-color: transparent transparent transparent transparent;
@@ -365,7 +367,7 @@
365
367
 
366
368
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left-start::after {
367
369
  top: 16px;
368
- right: -5px;
370
+ right: -10px;
369
371
  margin-top: -5px;
370
372
  border-width: 5px;
371
373
  border-color: transparent transparent transparent transparent;
@@ -373,7 +375,7 @@
373
375
 
374
376
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left-end::after {
375
377
  bottom: 16px;
376
- right: -5px;
378
+ right: -10px;
377
379
  margin-top: -5px;
378
380
  border-width: 5px;
379
381
  border-color: transparent transparent transparent transparent;
@@ -382,7 +384,7 @@
382
384
  /* Right arrows (pointing left to trigger) - arrow at left edge of tooltip */
383
385
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right::after {
384
386
  top: 50%;
385
- left: -5px; /* Positioned at left edge, pointing left */
387
+ left: -10px; /* Positioned at left edge, pointing left (5px border + 5px offset) */
386
388
  margin-top: -5px;
387
389
  border-width: 5px;
388
390
  border-color: transparent transparent transparent transparent;
@@ -390,7 +392,7 @@
390
392
 
391
393
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right-start::after {
392
394
  top: 16px;
393
- left: -5px;
395
+ left: -10px;
394
396
  margin-top: -5px;
395
397
  border-width: 5px;
396
398
  border-color: transparent transparent transparent transparent;
@@ -398,7 +400,7 @@
398
400
 
399
401
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right-end::after {
400
402
  bottom: 16px;
401
- left: -5px;
403
+ left: -10px;
402
404
  margin-top: -5px;
403
405
  border-width: 5px;
404
406
  border-color: transparent transparent transparent transparent;