@idds/styles 1.2.11 → 1.2.13

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.
Files changed (96) hide show
  1. package/README.md +178 -42
  2. package/dist/base.css +1071 -0
  3. package/dist/base.min.css +1 -0
  4. package/dist/index.css +14801 -0
  5. package/dist/index.min.css +15 -0
  6. package/dist/tailwind/css/bgn.min.css +1 -0
  7. package/dist/tailwind/css/bkn.min.css +1 -0
  8. package/dist/tailwind/css/idds.min.css +1 -0
  9. package/dist/tailwind/css/inagov.min.css +1 -0
  10. package/dist/tailwind/css/inaku.min.css +1 -0
  11. package/dist/tailwind/css/inapas.min.css +1 -0
  12. package/dist/tailwind/css/lan.min.css +1 -0
  13. package/dist/tailwind/css/pan-rb.min.css +1 -0
  14. package/package.json +31 -21
  15. package/src/colors/brands/bgn.css +0 -30
  16. package/src/colors/brands/bkn.css +0 -33
  17. package/src/colors/brands/inagov.css +0 -40
  18. package/src/colors/brands/inaku.css +0 -29
  19. package/src/colors/brands/inapas.css +0 -29
  20. package/src/colors/brands/lan.css +0 -39
  21. package/src/colors/brands/pan-rb.css +0 -31
  22. package/src/colors/index.css +0 -11
  23. package/src/colors/primitives/index.css +0 -175
  24. package/src/colors/product/index.css +0 -205
  25. package/src/colors/utilities/index.css +0 -77
  26. package/src/components/accordion-card.css +0 -99
  27. package/src/components/accordion.css +0 -120
  28. package/src/components/action-dropdown.css +0 -140
  29. package/src/components/alert.css +0 -180
  30. package/src/components/avatar.css +0 -182
  31. package/src/components/badge.css +0 -247
  32. package/src/components/bottom-sheet.css +0 -61
  33. package/src/components/breadcrumb.css +0 -97
  34. package/src/components/button-group.css +0 -130
  35. package/src/components/button.css +0 -241
  36. package/src/components/card.css +0 -576
  37. package/src/components/carousel.css +0 -100
  38. package/src/components/chart.css +0 -81
  39. package/src/components/checkbox.css +0 -211
  40. package/src/components/chip.css +0 -245
  41. package/src/components/collapse.css +0 -84
  42. package/src/components/confirmation.css +0 -131
  43. package/src/components/date-picker.css +0 -1059
  44. package/src/components/divider.css +0 -174
  45. package/src/components/drawer.css +0 -752
  46. package/src/components/dropdown.css +0 -370
  47. package/src/components/field-input-table.css +0 -347
  48. package/src/components/file-upload.css +0 -333
  49. package/src/components/input-search.css +0 -428
  50. package/src/components/linear-progress-indicator.css +0 -34
  51. package/src/components/modal.css +0 -507
  52. package/src/components/month-picker.css +0 -326
  53. package/src/components/multiple-choice-grid.css +0 -383
  54. package/src/components/one-time-password.css +0 -119
  55. package/src/components/pagination.css +0 -429
  56. package/src/components/password-input.css +0 -477
  57. package/src/components/phone-input.css +0 -412
  58. package/src/components/progress-bar.css +0 -447
  59. package/src/components/radio-input.css +0 -277
  60. package/src/components/reset.css +0 -431
  61. package/src/components/select-dropdown.css +0 -663
  62. package/src/components/select-option.css +0 -217
  63. package/src/components/single-file-upload.css +0 -186
  64. package/src/components/skeleton.css +0 -488
  65. package/src/components/spinner.css +0 -450
  66. package/src/components/stepper.css +0 -260
  67. package/src/components/tab-horizontal.css +0 -278
  68. package/src/components/tab-vertical.css +0 -261
  69. package/src/components/table-progress-bar.css +0 -48
  70. package/src/components/table.css +0 -538
  71. package/src/components/text-area.css +0 -220
  72. package/src/components/text-field.css +0 -278
  73. package/src/components/theme-toggle.css +0 -259
  74. package/src/components/time-picker.css +0 -436
  75. package/src/components/toast.css +0 -265
  76. package/src/components/toggle.css +0 -195
  77. package/src/components/tooltip.css +0 -343
  78. package/src/components/year-picker.css +0 -424
  79. package/src/index.css +0 -3
  80. /package/{src → dist}/tailwind/css/bgn.css +0 -0
  81. /package/{src → dist}/tailwind/css/bkn.css +0 -0
  82. /package/{src → dist}/tailwind/css/idds.css +0 -0
  83. /package/{src → dist}/tailwind/css/inagov.css +0 -0
  84. /package/{src → dist}/tailwind/css/inaku.css +0 -0
  85. /package/{src → dist}/tailwind/css/inapas.css +0 -0
  86. /package/{src → dist}/tailwind/css/lan.css +0 -0
  87. /package/{src → dist}/tailwind/css/pan-rb.css +0 -0
  88. /package/{src → dist}/tailwind/ts/bgn.ts +0 -0
  89. /package/{src → dist}/tailwind/ts/bkn.ts +0 -0
  90. /package/{src → dist}/tailwind/ts/default.ts +0 -0
  91. /package/{src → dist}/tailwind/ts/idds.ts +0 -0
  92. /package/{src → dist}/tailwind/ts/inagov.ts +0 -0
  93. /package/{src → dist}/tailwind/ts/inaku.ts +0 -0
  94. /package/{src → dist}/tailwind/ts/inapas.ts +0 -0
  95. /package/{src → dist}/tailwind/ts/lan.ts +0 -0
  96. /package/{src → dist}/tailwind/ts/pan-rb.ts +0 -0
@@ -1,217 +0,0 @@
1
- /* =========================== */
2
- /* SELECT OPTION COMPONENT */
3
- /* =========================== */
4
-
5
- .ina-select-option {
6
- /* Base container styling */
7
- width: 100%;
8
- display: flex;
9
- flex-direction: column;
10
- gap: var(--ina-spacing-2);
11
- }
12
-
13
- /* Label styling */
14
- .ina-select-option__label {
15
- display: flex;
16
- align-items: center;
17
- font-size: var(--ina-font-sm);
18
- color: var(--ina-primary-600);
19
- font-weight: var(--ina-font-medium);
20
- }
21
-
22
- .ina-select-option__label-required {
23
- margin-left: var(--ina-spacing-1);
24
- color: var(--ina-error-500);
25
- font-weight: var(--ina-font-bold);
26
- }
27
-
28
- /* Value display */
29
- .ina-select-option__value {
30
- flex: 1;
31
- font-size: var(--ina-font-sm);
32
- color: var(--ina-primary-600);
33
- font-weight: var(--ina-font-medium);
34
- }
35
-
36
- .ina-select-option__value--placeholder {
37
- color: var(--ina-content-tertiary);
38
- }
39
-
40
- /* Bottom sheet container */
41
- .ina-select-option__bottom-sheet {
42
- position: relative;
43
- margin-bottom: var(--ina-spacing-8);
44
- }
45
-
46
- /* Header section */
47
- .ina-select-option__header {
48
- position: sticky;
49
- top: 0;
50
- background-color: var(--ina-background-primary);
51
- padding: var(--ina-spacing-4) var(--ina-spacing-4) var(--ina-spacing-3)
52
- var(--ina-spacing-4);
53
- border-bottom: 1px solid var(--ina-stroke-primary);
54
- }
55
-
56
- .ina-select-option__header-title {
57
- display: flex;
58
- align-items: center;
59
- font-size: var(--ina-font-base);
60
- font-weight: var(--ina-font-semibold);
61
- color: var(--ina-primary-600);
62
- }
63
-
64
- .ina-select-option__header-back {
65
- margin-right: var(--ina-spacing-2);
66
- cursor: pointer;
67
- color: var(--ina-primary-600);
68
- }
69
-
70
- .ina-select-option__header-back:hover {
71
- color: var(--ina-primary-700);
72
- }
73
-
74
- /* Search section */
75
- .ina-select-option__search {
76
- padding: var(--ina-spacing-4);
77
- }
78
-
79
- /* Options grid */
80
- .ina-select-option__options {
81
- display: grid;
82
- padding: var(--ina-spacing-4);
83
- gap: var(--ina-spacing-2);
84
- }
85
-
86
- /* Option item */
87
- .ina-select-option__option {
88
- display: flex;
89
- align-items: center;
90
- justify-content: space-between;
91
- padding: var(--ina-spacing-3);
92
- border-radius: var(--ina-radius-md);
93
- cursor: pointer;
94
- transition: background-color 0.2s ease;
95
- border: 1px solid transparent;
96
- }
97
-
98
- .ina-select-option__option:hover {
99
- background-color: var(--ina-background-secondary);
100
- }
101
-
102
- .ina-select-option__option--selected {
103
- background-color: var(--ina-primary-50);
104
- border-color: var(--ina-primary-200);
105
- }
106
-
107
- .ina-select-option__option-label {
108
- font-size: var(--ina-font-sm);
109
- color: var(--ina-content-primary);
110
- font-weight: var(--ina-font-medium);
111
- }
112
-
113
- .ina-select-option__option-check {
114
- color: var(--ina-primary-600);
115
- font-size: var(--ina-font-lg);
116
- }
117
-
118
- /* Empty state */
119
- .ina-select-option__empty {
120
- display: flex;
121
- flex-direction: column;
122
- align-items: center;
123
- justify-content: center;
124
- gap: var(--ina-spacing-4);
125
- padding: var(--ina-spacing-8);
126
- text-align: center;
127
- }
128
-
129
- .ina-select-option__empty-title {
130
- font-size: var(--ina-font-lg);
131
- font-weight: var(--ina-font-bold);
132
- color: var(--ina-content-secondary);
133
- }
134
-
135
- .ina-select-option__empty-description {
136
- font-size: var(--ina-font-sm);
137
- color: var(--ina-content-secondary);
138
- line-height: 1.5;
139
- }
140
-
141
- /* Responsive design */
142
- @media (max-width: 640px) {
143
- .ina-select-option__label {
144
- font-size: var(--ina-font-xs); /* Turun dari sm ke xs */
145
- }
146
-
147
- .ina-select-option__value {
148
- font-size: var(--ina-font-xs); /* Turun dari sm ke xs */
149
- }
150
-
151
- .ina-select-option__header-title {
152
- font-size: var(--ina-font-sm); /* Turun dari base ke sm */
153
- }
154
-
155
- .ina-select-option__option-label {
156
- font-size: var(--ina-font-xs); /* Turun dari sm ke xs */
157
- }
158
-
159
- .ina-select-option__empty-title {
160
- font-size: var(--ina-font-base); /* Turun dari lg ke base */
161
- }
162
-
163
- .ina-select-option__empty-description {
164
- font-size: var(--ina-font-xs); /* Turun dari sm ke xs */
165
- }
166
- }
167
-
168
- @media (min-width: 640px) {
169
- .ina-select-option__options {
170
- grid-template-columns: repeat(2, 1fr);
171
- }
172
- }
173
-
174
- @media (min-width: 768px) {
175
- .ina-select-option__options {
176
- grid-template-columns: repeat(3, 1fr);
177
- }
178
- }
179
-
180
- @media (min-width: 1024px) {
181
- .ina-select-option__options {
182
- grid-template-columns: repeat(4, 1fr);
183
- }
184
- }
185
-
186
- /* Dark mode support */
187
- /* @media (prefers-color-scheme: dark) {
188
- .ina-select-option__header {
189
- background-color: var(--ina-background-primary);
190
- border-bottom-color: var(--ina-stroke-primary);
191
- }
192
-
193
- .ina-select-option__option:hover {
194
- background-color: var(--ina-background-secondary);
195
- }
196
-
197
- .ina-select-option__option--selected {
198
- background-color: var(--ina-primary-50);
199
- border-color: var(--ina-primary-200);
200
- }
201
- } */
202
-
203
- [data-theme='dark'] {
204
- .ina-select-option__header {
205
- background-color: var(--ina-background-primary);
206
- border-bottom-color: var(--ina-stroke-primary);
207
- }
208
-
209
- .ina-select-option__option:hover {
210
- background-color: var(--ina-background-secondary);
211
- }
212
-
213
- .ina-select-option__option--selected {
214
- background-color: var(--ina-primary-50);
215
- border-color: var(--ina-primary-200);
216
- }
217
- }
@@ -1,186 +0,0 @@
1
- /**
2
- * Single File Upload Component Styles
3
- * Menggunakan BEM naming convention dengan prefix "ina-"
4
- * Sesuai dengan design Figma
5
- */
6
-
7
- .ina-single-file-upload {
8
- width: 300px;
9
- height: 72px;
10
- position: relative;
11
- }
12
-
13
- .ina-single-file-upload__container {
14
- width: 100%;
15
- height: 100%;
16
- border: 1px solid var(--ina-stroke-primary);
17
- border-radius: var(--ina-rounded-lg, 8px);
18
- background: var(--ina-background-primary, #fff);
19
- padding: 12px;
20
- display: flex;
21
- align-items: center;
22
- gap: 12px;
23
- cursor: pointer;
24
- transition: all 0.2s ease;
25
- box-sizing: border-box;
26
- }
27
-
28
- .ina-single-file-upload__container:hover:not(
29
- .ina-single-file-upload__container--disabled
30
- ) {
31
- border-color: var(--ina-guide-500, #0968f6);
32
- }
33
-
34
- .ina-single-file-upload__container--active {
35
- border: 1px solid var(--ina-guide-500, #0968f6);
36
- box-shadow: 0 0 6px 0 rgba(9, 104, 246, 0.1),
37
- 0 0 4px 6px rgba(9, 104, 246, 0.04);
38
- }
39
-
40
- .ina-single-file-upload__container--disabled {
41
- background: var(--ina-background-secondary);
42
- border-color: var(--ina-stroke-primary);
43
- cursor: not-allowed;
44
- pointer-events: none;
45
- }
46
-
47
- .ina-single-file-upload__input {
48
- display: none;
49
- }
50
-
51
- /* Default State - Upload Icon */
52
- .ina-single-file-upload__icon-wrapper {
53
- width: 32px;
54
- height: 32px;
55
- min-width: 32px;
56
- min-height: 32px;
57
- display: flex;
58
- align-items: center;
59
- justify-content: center;
60
- flex-shrink: 0;
61
- }
62
-
63
- .ina-single-file-upload__icon-wrapper--default {
64
- color: var(--ina-content-primary);
65
- }
66
-
67
- .ina-single-file-upload__icon-wrapper--disabled {
68
- color: var(--ina-content-tertiary);
69
- }
70
-
71
- /* Success State - File Icon */
72
- .ina-single-file-upload__icon-wrapper--file {
73
- width: 32px;
74
- height: 32px;
75
- min-width: 32px;
76
- min-height: 32px;
77
- padding: 8px;
78
- background: var(--ina-background-secondary);
79
- border-radius: var(--ina-rounded-lg, 8px);
80
- display: flex;
81
- align-items: center;
82
- justify-content: center;
83
- flex-shrink: 0;
84
- }
85
-
86
- .ina-single-file-upload__file-icon {
87
- width: 100%;
88
- height: 100%;
89
- object-fit: contain;
90
- }
91
-
92
- /* Content Area */
93
- .ina-single-file-upload__content {
94
- flex: 1;
95
- min-width: 0;
96
- display: flex;
97
- flex-direction: column;
98
- gap: 2px;
99
- }
100
-
101
- .ina-single-file-upload__title {
102
- font-size: 14px;
103
- font-weight: 600;
104
- line-height: 20px;
105
- color: var(--ina-content-primary);
106
- margin: 0;
107
- white-space: nowrap;
108
- overflow: hidden;
109
- text-overflow: ellipsis;
110
- }
111
-
112
- .ina-single-file-upload__description {
113
- font-size: 12px;
114
- font-weight: 400;
115
- line-height: 16px;
116
- color: var(--ina-content-secondary);
117
- margin: 0;
118
- white-space: nowrap;
119
- overflow: hidden;
120
- text-overflow: ellipsis;
121
- }
122
-
123
- .ina-single-file-upload__container--disabled .ina-single-file-upload__title,
124
- .ina-single-file-upload__container--disabled
125
- .ina-single-file-upload__description {
126
- color: var(--ina-content-tertiary);
127
- }
128
-
129
- /* Progress State */
130
- .ina-single-file-upload__progress {
131
- flex: 1;
132
- min-width: 0;
133
- display: flex;
134
- flex-direction: column;
135
- gap: 4px;
136
- }
137
-
138
- .ina-single-file-upload__progress-bar {
139
- width: 100%;
140
- height: 4px;
141
- background: var(--ina-background-secondary);
142
- border-radius: 2px;
143
- overflow: hidden;
144
- }
145
-
146
- .ina-single-file-upload__progress-fill {
147
- height: 100%;
148
- background: var(--ina-guide-500, #0968f6);
149
- transition: width 0.3s ease;
150
- }
151
-
152
- .ina-single-file-upload__progress-text {
153
- font-size: 12px;
154
- font-weight: 400;
155
- line-height: 16px;
156
- color: var(--ina-content-secondary);
157
- margin: 0;
158
- }
159
-
160
- /* Delete Button */
161
- .ina-single-file-upload__delete-button {
162
- width: 20px;
163
- height: 20px;
164
- min-width: 20px;
165
- min-height: 20px;
166
- padding: 0;
167
- border: none;
168
- background: transparent;
169
- color: var(--ina-negative-500);
170
- cursor: pointer;
171
- display: flex;
172
- align-items: center;
173
- justify-content: center;
174
- flex-shrink: 0;
175
- transition: color 0.2s ease;
176
- }
177
-
178
- .ina-single-file-upload__delete-button:hover {
179
- color: var(--ina-negative-600, var(--ina-red-600));
180
- }
181
-
182
- .ina-single-file-upload__delete-button:focus-visible {
183
- outline: 2px solid var(--ina-guide-500, #0968f6);
184
- outline-offset: 2px;
185
- border-radius: 2px;
186
- }