@idds/styles 1.3.15 → 1.4.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/dist/index.css CHANGED
@@ -2362,7 +2362,7 @@ dialog.bottom-sheet-dropdown {
2362
2362
  /* Responsive font sizes */
2363
2363
  @media (max-width: 768px) {
2364
2364
  .ina-button-group {
2365
- max-width: 100vw;
2365
+ max-width: 100%;
2366
2366
  }
2367
2367
 
2368
2368
  .ina-button-group__button {
@@ -6237,8 +6237,8 @@ dialog.bottom-sheet-dropdown {
6237
6237
  display: flex;
6238
6238
  align-items: center;
6239
6239
  justify-content: center;
6240
- width: 20px;
6241
- height: 20px;
6240
+ width: 24px;
6241
+ height: 24px;
6242
6242
  border-radius: 50%;
6243
6243
  }
6244
6244
  .ina-file-upload__file-icon-placeholder {
@@ -6290,8 +6290,8 @@ dialog.bottom-sheet-dropdown {
6290
6290
  .ina-file-upload__file-actions {
6291
6291
  display: flex;
6292
6292
  align-items: center;
6293
- width: 20px;
6294
- height: 20px;
6293
+ width: 24px;
6294
+ height: 24px;
6295
6295
  gap: 8px;
6296
6296
  flex-shrink: 0;
6297
6297
  }
@@ -6307,9 +6307,8 @@ dialog.bottom-sheet-dropdown {
6307
6307
  display: flex;
6308
6308
  align-items: center;
6309
6309
  justify-content: center;
6310
- width: 20px;
6311
- height: 20px;
6312
- font-size: 16px;
6310
+ width: 24px;
6311
+ height: 24px;
6313
6312
  }
6314
6313
  .ina-file-upload__file-retry:hover,
6315
6314
  .ina-file-upload__file-remove:hover {
@@ -6380,6 +6379,15 @@ dialog.bottom-sheet-dropdown {
6380
6379
  .ina-file-upload__status--warning {
6381
6380
  color: var(--ina-warning-500, var(--Warning-500));
6382
6381
  }
6382
+ .ina-file-upload__file-icon-wrapper--success {
6383
+ background-color: var(--ina-positive-600, var(--ina-green-600));
6384
+ }
6385
+ .ina-file-upload__file-icon-wrapper--error {
6386
+ background-color: var(--ina-negative-500, var(--ina-red-600));
6387
+ }
6388
+ .ina-file-upload__file-icon-wrapper--warning {
6389
+ background-color: var(--ina-warning-500, var(--ina-orange-500));
6390
+ }
6383
6391
  /**
6384
6392
  * InputSearch Component Styles
6385
6393
  * Menggunakan BEM naming convention dengan prefix "ina-"
@@ -7538,7 +7546,7 @@ dialog.bottom-sheet-dropdown {
7538
7546
  /* Header Row */
7539
7547
  .ina-multiple-choice-grid__header {
7540
7548
  display: grid;
7541
- grid-template-columns: 200px repeat(auto-fit, minmax(120px, 1fr));
7549
+ grid-template-columns: 200px repeat(auto-fit, minmax(120px, auto));
7542
7550
  background-color: var(--ina-background-secondary);
7543
7551
  border-bottom: 1px solid var(--ina-stroke-primary);
7544
7552
  width: 100%;
@@ -7552,20 +7560,13 @@ dialog.bottom-sheet-dropdown {
7552
7560
  color: var(--ina-content-primary);
7553
7561
  text-align: center;
7554
7562
  border-right: 1px solid var(--ina-stroke-primary);
7555
- display: -webkit-box;
7556
- -webkit-box-orient: vertical;
7557
- -webkit-line-clamp: 3;
7558
- line-clamp: 3;
7563
+ display: flex;
7559
7564
  align-items: center;
7560
7565
  justify-content: center;
7561
7566
  min-height: 48px;
7562
- max-height: 80px;
7563
- overflow: hidden;
7564
- word-wrap: break-word;
7565
- word-break: break-word;
7566
- hyphens: auto;
7567
+ white-space: nowrap;
7568
+ overflow: visible;
7567
7569
  line-height: 1.4;
7568
- text-overflow: ellipsis;
7569
7570
  }
7570
7571
  .ina-multiple-choice-grid__header-cell:last-child {
7571
7572
  border-right: none;
@@ -7577,7 +7578,7 @@ dialog.bottom-sheet-dropdown {
7577
7578
  /* Data Rows */
7578
7579
  .ina-multiple-choice-grid__row {
7579
7580
  display: grid;
7580
- grid-template-columns: 200px repeat(auto-fit, minmax(120px, 1fr));
7581
+ grid-template-columns: 200px repeat(auto-fit, minmax(120px, auto));
7581
7582
  border-bottom: 1px solid var(--ina-stroke-primary);
7582
7583
  transition: background-color var(--ina-transition-fast);
7583
7584
  width: 100%;
@@ -7600,21 +7601,14 @@ dialog.bottom-sheet-dropdown {
7600
7601
  font-weight: var(--ina-font-medium);
7601
7602
  color: var(--ina-content-primary);
7602
7603
  border-right: 1px solid var(--ina-stroke-primary);
7603
- display: -webkit-box;
7604
- -webkit-box-orient: vertical;
7605
- -webkit-line-clamp: 3;
7606
- line-clamp: 3;
7604
+ display: flex;
7607
7605
  align-items: center;
7608
7606
  background-color: var(--ina-background-primary);
7609
7607
  min-height: 48px;
7610
- max-height: 80px;
7611
- overflow: hidden;
7612
- word-wrap: break-word;
7613
- word-break: break-word;
7614
- hyphens: auto;
7608
+ white-space: nowrap;
7609
+ overflow: visible;
7615
7610
  line-height: 1.4;
7616
7611
  text-align: left;
7617
- text-overflow: ellipsis;
7618
7612
  }
7619
7613
  /* Radio Button Cells */
7620
7614
  .ina-multiple-choice-grid__cell {
@@ -7784,7 +7778,7 @@ dialog.bottom-sheet-dropdown {
7784
7778
 
7785
7779
  .ina-multiple-choice-grid__header,
7786
7780
  .ina-multiple-choice-grid__row {
7787
- grid-template-columns: 150px repeat(auto-fit, minmax(100px, 1fr));
7781
+ grid-template-columns: 150px repeat(auto-fit, minmax(100px, auto));
7788
7782
  min-width: -moz-max-content;
7789
7783
  min-width: max-content;
7790
7784
  }
@@ -7799,7 +7793,7 @@ dialog.bottom-sheet-dropdown {
7799
7793
 
7800
7794
  .ina-multiple-choice-grid__header-cell,
7801
7795
  .ina-multiple-choice-grid__row-label {
7802
- max-height: 60px;
7796
+ white-space: nowrap;
7803
7797
  }
7804
7798
  }
7805
7799
  @media (max-width: 480px) {
@@ -7811,7 +7805,7 @@ dialog.bottom-sheet-dropdown {
7811
7805
 
7812
7806
  .ina-multiple-choice-grid__header,
7813
7807
  .ina-multiple-choice-grid__row {
7814
- grid-template-columns: 120px repeat(auto-fit, minmax(80px, 1fr));
7808
+ grid-template-columns: 120px repeat(auto-fit, minmax(80px, auto));
7815
7809
  min-width: -moz-max-content;
7816
7810
  min-width: max-content;
7817
7811
  }
@@ -7825,7 +7819,7 @@ dialog.bottom-sheet-dropdown {
7825
7819
 
7826
7820
  .ina-multiple-choice-grid__header-cell,
7827
7821
  .ina-multiple-choice-grid__row-label {
7828
- max-height: 50px;
7822
+ white-space: nowrap;
7829
7823
  }
7830
7824
  }
7831
7825
  /* Dark Mode Support */
@@ -7888,8 +7882,9 @@ dialog.bottom-sheet-dropdown {
7888
7882
  flex-direction: column;
7889
7883
  border-radius: var(--ina-rounded-lg, 8px);
7890
7884
  background-color: var(--ina-background-primary);
7891
- width: -moz-max-content;
7892
- width: max-content;
7885
+ width: 100%;
7886
+ max-width: 100%;
7887
+ overflow-x: auto;
7893
7888
  }
7894
7889
  /* Title */
7895
7890
  .ina-one-time-password__title {
@@ -7909,8 +7904,11 @@ dialog.bottom-sheet-dropdown {
7909
7904
  .ina-one-time-password__container {
7910
7905
  display: flex;
7911
7906
  align-items: center;
7907
+ flex-wrap: wrap;
7912
7908
  gap: 16px;
7913
7909
  margin-bottom: 16px;
7910
+ min-width: -moz-max-content;
7911
+ min-width: max-content;
7914
7912
  }
7915
7913
  /* Individual input field */
7916
7914
  .ina-one-time-password__input {
@@ -7976,7 +7974,8 @@ dialog.bottom-sheet-dropdown {
7976
7974
  /* Responsive adjustments */
7977
7975
  @media (max-width: 640px) {
7978
7976
  .ina-one-time-password {
7979
- padding: 24px 16px;
7977
+ padding: 12px 8px;
7978
+ max-width: 100%;
7980
7979
  }
7981
7980
 
7982
7981
  .ina-one-time-password__input {
@@ -7988,6 +7987,8 @@ dialog.bottom-sheet-dropdown {
7988
7987
 
7989
7988
  .ina-one-time-password__container {
7990
7989
  gap: 12px;
7990
+ min-width: -moz-max-content;
7991
+ min-width: max-content;
7991
7992
  }
7992
7993
  }
7993
7994
  /**
@@ -9879,19 +9880,6 @@ dialog.bottom-sheet-dropdown {
9879
9880
  height: 44px;
9880
9881
  }
9881
9882
  }
9882
- @media (max-width: 639px) {
9883
- .ina-select-dropdown__trigger--size-sm {
9884
- height: 32px;
9885
- }
9886
-
9887
- .ina-select-dropdown__trigger--size-md {
9888
- height: 36px;
9889
- }
9890
-
9891
- .ina-select-dropdown__trigger--size-lg {
9892
- height: 40px;
9893
- }
9894
- }
9895
9883
  .ina-select-dropdown__trigger:hover {
9896
9884
  background-color: var(--ina-background-secondary);
9897
9885
  }
@@ -10273,8 +10261,7 @@ dialog.bottom-sheet-dropdown {
10273
10261
  box-shadow var(--ina-transition-base);
10274
10262
  }
10275
10263
  .ina-select-dropdown__load-more-button:hover {
10276
- background-color: var(--ina-content-primary);
10277
- border-color: var(--ina-white);
10264
+ background-color: var(--ina-background-tertiary);
10278
10265
  }
10279
10266
  .ina-select-dropdown__load-more-button:focus-visible {
10280
10267
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
@@ -10355,7 +10342,7 @@ dialog.bottom-sheet-dropdown {
10355
10342
  /* Dark mode support - Updated to use new CSS variable system */
10356
10343
  /* CSS sekarang menggunakan variabel yang sudah di-override di css-variables.css */
10357
10344
  /* Responsive adjustments */
10358
- @media (max-width: 640px) {
10345
+ @media (max-width: 639px) {
10359
10346
  .ina-select-dropdown__option {
10360
10347
  min-height: 48px;
10361
10348
  padding: var(--ina-spacing-3);
@@ -10364,6 +10351,21 @@ dialog.bottom-sheet-dropdown {
10364
10351
  .ina-select-dropdown__preview-content {
10365
10352
  gap: var(--ina-spacing-2);
10366
10353
  }
10354
+
10355
+ .ina-select-dropdown__trigger--size-sm {
10356
+ height: 32px;
10357
+ }
10358
+
10359
+ .ina-select-dropdown__trigger--size-md {
10360
+ height: 36px;
10361
+ }
10362
+
10363
+ .ina-select-dropdown__trigger--size-lg {
10364
+ height: 40px;
10365
+ }
10366
+ .ina-select-dropdown__load-more-button {
10367
+ font-size: var(--ina-font-xs);
10368
+ }
10367
10369
  }
10368
10370
  /* Accessibility improvements */
10369
10371
  .ina-select-dropdown__trigger:focus-visible {
@@ -10612,12 +10614,11 @@ dialog.bottom-sheet-dropdown {
10612
10614
  .ina-single-file-upload__container:hover:not(
10613
10615
  .ina-single-file-upload__container--disabled
10614
10616
  ) {
10615
- border-color: var(--ina-guide-500, #0968f6);
10617
+ border-color: var(--ina-content-primary, #000);
10616
10618
  }
10617
10619
  .ina-single-file-upload__container--active {
10618
- border: 1px solid var(--ina-guide-500, #0968f6);
10619
- box-shadow: 0 0 6px 0 rgba(9, 104, 246, 0.1),
10620
- 0 0 4px 6px rgba(9, 104, 246, 0.04);
10620
+ border: 1px solid var(--ina-content-primary, #000);
10621
+ box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1), 0 0 0 3px #f3f3f3;
10621
10622
  }
10622
10623
  .ina-single-file-upload__container--disabled {
10623
10624
  background: var(--ina-background-secondary);
@@ -10695,7 +10696,9 @@ dialog.bottom-sheet-dropdown {
10695
10696
  }
10696
10697
  .ina-single-file-upload__container--disabled .ina-single-file-upload__title,
10697
10698
  .ina-single-file-upload__container--disabled
10698
- .ina-single-file-upload__description {
10699
+ .ina-single-file-upload__description,
10700
+ .ina-single-file-upload__container--disabled
10701
+ .ina-single-file-upload__icon-wrapper--default {
10699
10702
  color: var(--ina-content-tertiary);
10700
10703
  }
10701
10704
  /* Progress State */
@@ -10715,7 +10718,7 @@ dialog.bottom-sheet-dropdown {
10715
10718
  }
10716
10719
  .ina-single-file-upload__progress-fill {
10717
10720
  height: 100%;
10718
- background: var(--ina-guide-500, #0968f6);
10721
+ background: var(--ina-primary-300, #d4d4d4);
10719
10722
  transition: width 0.3s ease;
10720
10723
  }
10721
10724
  .ina-single-file-upload__progress-text {
@@ -10746,7 +10749,7 @@ dialog.bottom-sheet-dropdown {
10746
10749
  color: var(--ina-negative-600, var(--ina-red-600));
10747
10750
  }
10748
10751
  .ina-single-file-upload__delete-button:focus-visible {
10749
- outline: 2px solid var(--ina-guide-500, #0968f6);
10752
+ outline: 2px solid var(--ina-content-primary, #000);
10750
10753
  outline-offset: 2px;
10751
10754
  border-radius: 2px;
10752
10755
  }
@@ -11568,6 +11571,7 @@ dialog.bottom-sheet-dropdown {
11568
11571
  align-items: center;
11569
11572
  justify-content: space-between;
11570
11573
  width: 100%;
11574
+ max-width: 100%;
11571
11575
  min-height: 54px;
11572
11576
  }
11573
11577
  .ina-stepper--vertical .ina-stepper__separator {
@@ -11580,42 +11584,44 @@ dialog.bottom-sheet-dropdown {
11580
11584
  align-items: flex-start;
11581
11585
  height: 100%;
11582
11586
  }
11583
- /* Responsive: Horizontal stepper becomes vertical on mobile */
11587
+ /* Responsive: Horizontal stepper with horizontal scroll on mobile */
11584
11588
  .ina-stepper--horizontal-responsive {
11585
11589
  flex-direction: row;
11590
+ max-width: 100%;
11591
+ overflow-x: auto;
11592
+ overflow-y: hidden;
11593
+ /* Enable smooth scrolling on mobile */
11594
+ -webkit-overflow-scrolling: touch;
11595
+ /* Hide scrollbar for a cleaner look, but keep functionality */
11596
+ scrollbar-width: thin;
11597
+ scrollbar-color: var(--ina-stroke-primary, #e5e7eb) transparent;
11598
+ }
11599
+ .ina-stepper--horizontal-responsive::-webkit-scrollbar {
11600
+ height: 4px;
11601
+ }
11602
+ .ina-stepper--horizontal-responsive::-webkit-scrollbar-track {
11603
+ background: transparent;
11604
+ }
11605
+ .ina-stepper--horizontal-responsive::-webkit-scrollbar-thumb {
11606
+ background-color: var(--ina-stroke-primary, #e5e7eb);
11607
+ border-radius: 2px;
11608
+ }
11609
+ .ina-stepper--horizontal-responsive::-webkit-scrollbar-thumb:hover {
11610
+ background-color: var(--ina-content-tertiary, #9ca3af);
11586
11611
  }
11587
11612
  @media (max-width: 767px) {
11588
11613
  .ina-stepper--horizontal-responsive {
11589
- flex-direction: column;
11590
- align-items: flex-start;
11591
- height: 100%;
11592
- }
11593
-
11594
- .ina-stepper--horizontal-responsive .ina-stepper__item {
11614
+ /* Ensure horizontal scroll works on mobile */
11615
+ flex-wrap: nowrap;
11595
11616
  width: 100%;
11596
- align-items: flex-start;
11617
+ min-width: 100%;
11597
11618
  }
11598
11619
 
11599
- .ina-stepper--horizontal-responsive .ina-stepper__separator {
11600
- width: 2px;
11601
- min-height: 72px;
11602
- margin: 0;
11603
- flex-grow: 0;
11604
- align-self: flex-start;
11605
- /* Align to center of icon-wrapper: icon-wrapper is 24px, center is at 12px from left */
11606
- /* Separator width is 2px, so margin-left: 12px - 1px = 11px */
11607
- position: relative;
11608
- left: 12px;
11609
- bottom: 0;
11610
- }
11611
- .ina-stepper--horizontal-responsive .ina-stepper__label {
11612
- position: absolute;
11613
- left: 2rem;
11614
- top: 0.125rem;
11615
- }
11616
-
11617
- .ina-stepper--horizontal-responsive .ina-stepper__item:last-child {
11618
- margin-bottom: 0;
11620
+ .ina-stepper--horizontal-responsive .ina-stepper__item {
11621
+ /* Prevent items from shrinking, maintain their natural width */
11622
+ flex-shrink: 0;
11623
+ min-width: -moz-fit-content;
11624
+ min-width: fit-content;
11619
11625
  }
11620
11626
  }
11621
11627
  /* Step Item */