@idds/styles 1.0.41 → 1.0.43

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.41",
3
+ "version": "1.0.43",
4
4
  "description": "Shared CSS styles and colors for INA Digital Design System",
5
5
  "type": "module",
6
6
  "main": "./src/index.css",
@@ -260,7 +260,6 @@
260
260
  .ina-drawer--position-right .ina-drawer__panel {
261
261
  /* Default width for panels without specific width variant */
262
262
  min-width: 420px;
263
- width: 420px;
264
263
  max-width: 520px;
265
264
  /* Full height for side panels */
266
265
  height: 100vh;
@@ -270,23 +269,19 @@
270
269
  /* Width variants for desktop - Side panels (left/right) */
271
270
  .ina-drawer--position-left .ina-drawer__panel--width-sm,
272
271
  .ina-drawer--position-right .ina-drawer__panel--width-sm {
273
- width: 320px !important;
274
- min-width: 320px !important;
275
- max-width: 400px !important;
272
+ width: 420px !important;
276
273
  height: 100vh !important;
277
274
  max-height: 100vh !important;
278
275
  }
279
276
 
280
277
  .ina-drawer--position-left .ina-drawer__panel--width-md,
281
278
  .ina-drawer--position-right .ina-drawer__panel--width-md {
282
- width: 400px !important;
283
- min-width: 400px !important;
284
- max-width: 500px !important;
279
+ width: 520px !important;
285
280
  height: 100vh !important;
286
281
  max-height: 100vh !important;
287
282
  }
288
283
 
289
- .ina-drawer--position-left .ina-drawer__panel--width-lg,
284
+ /* .ina-drawer--position-left .ina-drawer__panel--width-lg,
290
285
  .ina-drawer--position-right .ina-drawer__panel--width-lg {
291
286
  width: 500px !important;
292
287
  min-width: 500px !important;
@@ -311,16 +306,16 @@
311
306
  max-width: 800px !important;
312
307
  height: 100vh !important;
313
308
  max-height: 100vh !important;
314
- }
309
+ } */
315
310
 
316
- .ina-drawer--position-left .ina-drawer__panel--width-full,
311
+ /* .ina-drawer--position-left .ina-drawer__panel--width-full,
317
312
  .ina-drawer--position-right .ina-drawer__panel--width-full {
318
313
  width: 80vw !important;
319
314
  min-width: 80vw !important;
320
315
  max-width: 80vw !important;
321
316
  height: 100vh !important;
322
317
  max-height: 100vh !important;
323
- }
318
+ } */
324
319
 
325
320
  /* Width variants for desktop - Top/Bottom panels (always 100vw) */
326
321
  .ina-drawer--position-top .ina-drawer__panel--width-sm,
@@ -343,7 +338,7 @@
343
338
  }
344
339
 
345
340
  /* Custom width support - for values like '40vw', '500px', etc. - Side panels */
346
- .ina-drawer--position-left .ina-drawer__panel--width-40vw,
341
+ /* .ina-drawer--position-left .ina-drawer__panel--width-40vw,
347
342
  .ina-drawer--position-right .ina-drawer__panel--width-40vw {
348
343
  width: 40vw !important;
349
344
  min-width: 40vw;
@@ -377,19 +372,19 @@
377
372
  max-width: 70vw;
378
373
  height: 100vh !important;
379
374
  max-height: 100vh !important;
380
- }
375
+ } */
381
376
 
382
- .ina-drawer--position-left .ina-drawer__panel--width-80vw,
377
+ /* .ina-drawer--position-left .ina-drawer__panel--width-80vw,
383
378
  .ina-drawer--position-right .ina-drawer__panel--width-80vw {
384
379
  width: 80vw !important;
385
380
  min-width: 80vw;
386
381
  max-width: 80vw;
387
382
  height: 100vh !important;
388
383
  max-height: 100vh !important;
389
- }
384
+ } */
390
385
 
391
386
  /* Custom width support - Top/Bottom panels (always 100vw) */
392
- .ina-drawer--position-top .ina-drawer__panel--width-40vw,
387
+ /* .ina-drawer--position-top .ina-drawer__panel--width-40vw,
393
388
  .ina-drawer--position-top .ina-drawer__panel--width-50vw,
394
389
  .ina-drawer--position-top .ina-drawer__panel--width-60vw,
395
390
  .ina-drawer--position-top .ina-drawer__panel--width-70vw,
@@ -404,7 +399,7 @@
404
399
  max-width: 100vw !important;
405
400
  height: 60vh !important;
406
401
  max-height: 60vh !important;
407
- }
402
+ } */
408
403
  }
409
404
 
410
405
  /* Header */
@@ -40,12 +40,6 @@
40
40
  background-color: var(--ina-neutral-50);
41
41
  }
42
42
 
43
- .ina-radio-input__option:focus-within {
44
- background-color: var(--ina-neutral-100);
45
- outline: 2px solid var(--ina-primary-500);
46
- outline-offset: 2px;
47
- }
48
-
49
43
  .ina-radio-input__option--disabled {
50
44
  cursor: not-allowed;
51
45
  opacity: 0.6;
@@ -60,24 +54,34 @@
60
54
  appearance: none;
61
55
  width: 20px;
62
56
  height: 20px;
63
- border: 1px solid var(--ina-content-light-secondary) !important;
57
+ border: 1px solid var(--ina-stroke-tertiary, #141414);
64
58
  border-radius: 50%;
65
- background-color: transparent;
59
+ background-color: var(--ina-background-primary, var(--ina-neutral-25));
66
60
  cursor: pointer;
67
61
  position: relative;
68
62
  transition: all var(--ina-transition-base);
69
63
  flex-shrink: 0;
70
64
  }
71
65
 
72
- /* Hover state */
66
+ /* Hover state - Add drop shadow */
73
67
  .ina-radio-input__field:hover:not(:disabled) {
74
- border-color: #666666;
68
+ filter: drop-shadow(0 0 3px #737373);
69
+ }
70
+
71
+ /* Focus state - Add drop shadow */
72
+ .ina-radio-input__field:focus-visible:not(:disabled) {
73
+ filter: drop-shadow(0 0 3px #737373);
74
+ }
75
+
76
+ /* Active state - Add drop shadow */
77
+ .ina-radio-input__field:active:not(:disabled) {
78
+ filter: drop-shadow(0 0 3px #737373);
75
79
  }
76
80
 
77
81
  /* Selected state */
78
82
  .ina-radio-input__field:checked {
79
- border-color: #000000;
80
- background-color: #000000;
83
+ border-color: var(--ina-stroke-tertiary, #141414);
84
+ background-color: var(--ina-background-primary, var(--ina-neutral-25));
81
85
  }
82
86
 
83
87
  .ina-radio-input__field:checked::after {
@@ -86,24 +90,36 @@
86
90
  top: 50%;
87
91
  left: 50%;
88
92
  transform: translate(-50%, -50%);
89
- width: 8px;
90
- height: 8px;
93
+ width: 11px;
94
+ height: 11px;
91
95
  border-radius: 50%;
92
- background-color: #ffffff;
96
+ background-color: var(--ina-stroke-tertiary, #141414);
97
+ }
98
+
99
+ /* Checked + Hover/Focus/Active - Keep drop shadow */
100
+ .ina-radio-input__field:checked:hover:not(:disabled),
101
+ .ina-radio-input__field:checked:focus-visible:not(:disabled),
102
+ .ina-radio-input__field:checked:active:not(:disabled) {
103
+ filter: drop-shadow(0 0 3px #737373);
93
104
  }
94
105
 
95
106
  /* Disabled states */
96
107
  .ina-radio-input__field:disabled {
97
- border-color: #e0e0e0;
98
- background-color: transparent;
108
+ border-color: var(--ina-neutral-200, #e5e5e5);
109
+ background-color: var(--ina-background-secondary, var(--ina-neutral-50));
99
110
  cursor: not-allowed;
100
111
  opacity: 1;
112
+ filter: none;
101
113
  }
102
114
 
103
115
  /* Disabled + Checked state - Higher specificity */
104
116
  .ina-radio-input__field:disabled:checked {
105
- border-color: #e0e0e0 !important;
106
- background-color: transparent !important;
117
+ border-color: var(--ina-neutral-200, #e5e5e5) !important;
118
+ background-color: var(
119
+ --ina-background-secondary,
120
+ var(--ina-neutral-50)
121
+ ) !important;
122
+ filter: none;
107
123
  }
108
124
 
109
125
  .ina-radio-input__field:disabled:checked::after {
@@ -115,7 +131,7 @@
115
131
  width: 8px;
116
132
  height: 8px;
117
133
  border-radius: 50%;
118
- background-color: #e0e0e0;
134
+ background-color: var(--ina-neutral-200, #e5e5e5);
119
135
  }
120
136
 
121
137
  /* Radio option label */
@@ -134,7 +150,7 @@
134
150
  }
135
151
 
136
152
  /* Size variants */
137
- .ina-radio-input--size-sm .ina-radio-input__main-label {
153
+ /* .ina-radio-input--size-sm .ina-radio-input__main-label {
138
154
  font-size: var(--ina-font-xs);
139
155
  }
140
156
 
@@ -145,9 +161,9 @@
145
161
  .ina-radio-input--size-sm .ina-radio-input__field {
146
162
  width: 16px;
147
163
  height: 16px;
148
- }
164
+ } */
149
165
 
150
- .ina-radio-input--size-lg .ina-radio-input__main-label {
166
+ /* .ina-radio-input--size-lg .ina-radio-input__main-label {
151
167
  font-size: var(--ina-font-base);
152
168
  }
153
169
 
@@ -158,7 +174,7 @@
158
174
  .ina-radio-input--size-lg .ina-radio-input__field {
159
175
  width: 24px;
160
176
  height: 24px;
161
- }
177
+ } */
162
178
 
163
179
  /* Orientation variants */
164
180
  .ina-radio-input--orientation-horizontal .ina-radio-input__group {
@@ -176,7 +192,7 @@
176
192
 
177
193
  /* Focus indicators */
178
194
  .ina-radio-input__field:focus-visible {
179
- outline: 2px solid #000000;
195
+ outline: 2px solid var(--ina-stroke-tertiary, #141414);
180
196
  outline-offset: 2px;
181
197
  }
182
198
 
@@ -354,10 +354,10 @@
354
354
  border-color: transparent transparent transparent transparent;
355
355
  }
356
356
 
357
- /* Left arrows (pointing right to trigger) - arrow at right of tooltip */
357
+ /* Left arrows (pointing right to trigger) - arrow at right edge of tooltip */
358
358
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left::after {
359
359
  top: 50%;
360
- right: 100%; /* To the left of tooltip content */
360
+ right: -5px; /* Positioned at right edge, pointing right */
361
361
  margin-top: -5px;
362
362
  border-width: 5px;
363
363
  border-color: transparent transparent transparent transparent;
@@ -365,7 +365,7 @@
365
365
 
366
366
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left-start::after {
367
367
  top: 16px;
368
- right: 100%;
368
+ right: -5px;
369
369
  margin-top: -5px;
370
370
  border-width: 5px;
371
371
  border-color: transparent transparent transparent transparent;
@@ -373,16 +373,16 @@
373
373
 
374
374
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-left-end::after {
375
375
  bottom: 16px;
376
- right: 100%;
376
+ right: -5px;
377
377
  margin-top: -5px;
378
378
  border-width: 5px;
379
379
  border-color: transparent transparent transparent transparent;
380
380
  }
381
381
 
382
- /* Right arrows (pointing left to trigger) - arrow at left of tooltip */
382
+ /* Right arrows (pointing left to trigger) - arrow at left edge of tooltip */
383
383
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right::after {
384
384
  top: 50%;
385
- left: 100%; /* To the right of tooltip content */
385
+ left: -5px; /* Positioned at left edge, pointing left */
386
386
  margin-top: -5px;
387
387
  border-width: 5px;
388
388
  border-color: transparent transparent transparent transparent;
@@ -390,7 +390,7 @@
390
390
 
391
391
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right-start::after {
392
392
  top: 16px;
393
- left: 100%;
393
+ left: -5px;
394
394
  margin-top: -5px;
395
395
  border-width: 5px;
396
396
  border-color: transparent transparent transparent transparent;
@@ -398,7 +398,7 @@
398
398
 
399
399
  .ina-tooltip__content--show-arrow.ina-tooltip--placement-right-end::after {
400
400
  bottom: 16px;
401
- left: 100%;
401
+ left: -5px;
402
402
  margin-top: -5px;
403
403
  border-width: 5px;
404
404
  border-color: transparent transparent transparent transparent;