@idds/styles 1.0.41 → 1.0.42

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.42",
4
4
  "description": "Shared CSS styles and colors for INA Digital Design System",
5
5
  "type": "module",
6
6
  "main": "./src/index.css",
@@ -268,16 +268,15 @@
268
268
  }
269
269
 
270
270
  /* Width variants for desktop - Side panels (left/right) */
271
- .ina-drawer--position-left .ina-drawer__panel--width-sm,
271
+ /* .ina-drawer--position-left .ina-drawer__panel--width-sm,
272
272
  .ina-drawer--position-right .ina-drawer__panel--width-sm {
273
- width: 320px !important;
274
273
  min-width: 320px !important;
275
274
  max-width: 400px !important;
276
275
  height: 100vh !important;
277
276
  max-height: 100vh !important;
278
- }
277
+ } */
279
278
 
280
- .ina-drawer--position-left .ina-drawer__panel--width-md,
279
+ /* .ina-drawer--position-left .ina-drawer__panel--width-md,
281
280
  .ina-drawer--position-right .ina-drawer__panel--width-md {
282
281
  width: 400px !important;
283
282
  min-width: 400px !important;
@@ -311,16 +310,16 @@
311
310
  max-width: 800px !important;
312
311
  height: 100vh !important;
313
312
  max-height: 100vh !important;
314
- }
313
+ } */
315
314
 
316
- .ina-drawer--position-left .ina-drawer__panel--width-full,
315
+ /* .ina-drawer--position-left .ina-drawer__panel--width-full,
317
316
  .ina-drawer--position-right .ina-drawer__panel--width-full {
318
317
  width: 80vw !important;
319
318
  min-width: 80vw !important;
320
319
  max-width: 80vw !important;
321
320
  height: 100vh !important;
322
321
  max-height: 100vh !important;
323
- }
322
+ } */
324
323
 
325
324
  /* Width variants for desktop - Top/Bottom panels (always 100vw) */
326
325
  .ina-drawer--position-top .ina-drawer__panel--width-sm,
@@ -343,7 +342,7 @@
343
342
  }
344
343
 
345
344
  /* Custom width support - for values like '40vw', '500px', etc. - Side panels */
346
- .ina-drawer--position-left .ina-drawer__panel--width-40vw,
345
+ /* .ina-drawer--position-left .ina-drawer__panel--width-40vw,
347
346
  .ina-drawer--position-right .ina-drawer__panel--width-40vw {
348
347
  width: 40vw !important;
349
348
  min-width: 40vw;
@@ -377,19 +376,19 @@
377
376
  max-width: 70vw;
378
377
  height: 100vh !important;
379
378
  max-height: 100vh !important;
380
- }
379
+ } */
381
380
 
382
- .ina-drawer--position-left .ina-drawer__panel--width-80vw,
381
+ /* .ina-drawer--position-left .ina-drawer__panel--width-80vw,
383
382
  .ina-drawer--position-right .ina-drawer__panel--width-80vw {
384
383
  width: 80vw !important;
385
384
  min-width: 80vw;
386
385
  max-width: 80vw;
387
386
  height: 100vh !important;
388
387
  max-height: 100vh !important;
389
- }
388
+ } */
390
389
 
391
390
  /* Custom width support - Top/Bottom panels (always 100vw) */
392
- .ina-drawer--position-top .ina-drawer__panel--width-40vw,
391
+ /* .ina-drawer--position-top .ina-drawer__panel--width-40vw,
393
392
  .ina-drawer--position-top .ina-drawer__panel--width-50vw,
394
393
  .ina-drawer--position-top .ina-drawer__panel--width-60vw,
395
394
  .ina-drawer--position-top .ina-drawer__panel--width-70vw,
@@ -404,7 +403,7 @@
404
403
  max-width: 100vw !important;
405
404
  height: 60vh !important;
406
405
  max-height: 60vh !important;
407
- }
406
+ } */
408
407
  }
409
408
 
410
409
  /* Header */
@@ -60,24 +60,34 @@
60
60
  appearance: none;
61
61
  width: 20px;
62
62
  height: 20px;
63
- border: 1px solid var(--ina-content-light-secondary) !important;
63
+ border: 1px solid var(--ina-stroke-tertiary, #141414);
64
64
  border-radius: 50%;
65
- background-color: transparent;
65
+ background-color: var(--ina-background-primary, var(--ina-neutral-25));
66
66
  cursor: pointer;
67
67
  position: relative;
68
68
  transition: all var(--ina-transition-base);
69
69
  flex-shrink: 0;
70
70
  }
71
71
 
72
- /* Hover state */
72
+ /* Hover state - Add drop shadow */
73
73
  .ina-radio-input__field:hover:not(:disabled) {
74
- border-color: #666666;
74
+ filter: drop-shadow(0 0 3px #737373);
75
+ }
76
+
77
+ /* Focus state - Add drop shadow */
78
+ .ina-radio-input__field:focus-visible:not(:disabled) {
79
+ filter: drop-shadow(0 0 3px #737373);
80
+ }
81
+
82
+ /* Active state - Add drop shadow */
83
+ .ina-radio-input__field:active:not(:disabled) {
84
+ filter: drop-shadow(0 0 3px #737373);
75
85
  }
76
86
 
77
87
  /* Selected state */
78
88
  .ina-radio-input__field:checked {
79
- border-color: #000000;
80
- background-color: #000000;
89
+ border-color: var(--ina-stroke-tertiary, #141414);
90
+ background-color: var(--ina-background-primary, var(--ina-neutral-25));
81
91
  }
82
92
 
83
93
  .ina-radio-input__field:checked::after {
@@ -89,21 +99,30 @@
89
99
  width: 8px;
90
100
  height: 8px;
91
101
  border-radius: 50%;
92
- background-color: #ffffff;
102
+ background-color: var(--ina-stroke-tertiary, #141414);
103
+ }
104
+
105
+ /* Checked + Hover/Focus/Active - Keep drop shadow */
106
+ .ina-radio-input__field:checked:hover:not(:disabled),
107
+ .ina-radio-input__field:checked:focus-visible:not(:disabled),
108
+ .ina-radio-input__field:checked:active:not(:disabled) {
109
+ filter: drop-shadow(0 0 3px #737373);
93
110
  }
94
111
 
95
112
  /* Disabled states */
96
113
  .ina-radio-input__field:disabled {
97
- border-color: #e0e0e0;
98
- background-color: transparent;
114
+ border-color: var(--ina-neutral-200, #E5E5E5);
115
+ background-color: var(--ina-background-secondary, var(--ina-neutral-50));
99
116
  cursor: not-allowed;
100
117
  opacity: 1;
118
+ filter: none;
101
119
  }
102
120
 
103
121
  /* Disabled + Checked state - Higher specificity */
104
122
  .ina-radio-input__field:disabled:checked {
105
- border-color: #e0e0e0 !important;
106
- background-color: transparent !important;
123
+ border-color: var(--ina-neutral-200, #E5E5E5) !important;
124
+ background-color: var(--ina-background-secondary, var(--ina-neutral-50)) !important;
125
+ filter: none;
107
126
  }
108
127
 
109
128
  .ina-radio-input__field:disabled:checked::after {
@@ -115,7 +134,7 @@
115
134
  width: 8px;
116
135
  height: 8px;
117
136
  border-radius: 50%;
118
- background-color: #e0e0e0;
137
+ background-color: var(--ina-neutral-200, #E5E5E5);
119
138
  }
120
139
 
121
140
  /* Radio option label */
@@ -176,7 +195,7 @@
176
195
 
177
196
  /* Focus indicators */
178
197
  .ina-radio-input__field:focus-visible {
179
- outline: 2px solid #000000;
198
+ outline: 2px solid var(--ina-stroke-tertiary, #141414);
180
199
  outline-offset: 2px;
181
200
  }
182
201
 
@@ -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;