@idds/styles 1.2.11 → 1.2.12

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 (95) hide show
  1. package/dist/base.css +1071 -0
  2. package/dist/base.min.css +1 -0
  3. package/dist/index.css +14801 -0
  4. package/dist/index.min.css +15 -0
  5. package/dist/tailwind/css/bgn.min.css +1 -0
  6. package/dist/tailwind/css/bkn.min.css +1 -0
  7. package/dist/tailwind/css/idds.min.css +1 -0
  8. package/dist/tailwind/css/inagov.min.css +1 -0
  9. package/dist/tailwind/css/inaku.min.css +1 -0
  10. package/dist/tailwind/css/inapas.min.css +1 -0
  11. package/dist/tailwind/css/lan.min.css +1 -0
  12. package/dist/tailwind/css/pan-rb.min.css +1 -0
  13. package/package.json +31 -21
  14. package/src/colors/brands/bgn.css +0 -30
  15. package/src/colors/brands/bkn.css +0 -33
  16. package/src/colors/brands/inagov.css +0 -40
  17. package/src/colors/brands/inaku.css +0 -29
  18. package/src/colors/brands/inapas.css +0 -29
  19. package/src/colors/brands/lan.css +0 -39
  20. package/src/colors/brands/pan-rb.css +0 -31
  21. package/src/colors/index.css +0 -11
  22. package/src/colors/primitives/index.css +0 -175
  23. package/src/colors/product/index.css +0 -205
  24. package/src/colors/utilities/index.css +0 -77
  25. package/src/components/accordion-card.css +0 -99
  26. package/src/components/accordion.css +0 -120
  27. package/src/components/action-dropdown.css +0 -140
  28. package/src/components/alert.css +0 -180
  29. package/src/components/avatar.css +0 -182
  30. package/src/components/badge.css +0 -247
  31. package/src/components/bottom-sheet.css +0 -61
  32. package/src/components/breadcrumb.css +0 -97
  33. package/src/components/button-group.css +0 -130
  34. package/src/components/button.css +0 -241
  35. package/src/components/card.css +0 -576
  36. package/src/components/carousel.css +0 -100
  37. package/src/components/chart.css +0 -81
  38. package/src/components/checkbox.css +0 -211
  39. package/src/components/chip.css +0 -245
  40. package/src/components/collapse.css +0 -84
  41. package/src/components/confirmation.css +0 -131
  42. package/src/components/date-picker.css +0 -1059
  43. package/src/components/divider.css +0 -174
  44. package/src/components/drawer.css +0 -752
  45. package/src/components/dropdown.css +0 -370
  46. package/src/components/field-input-table.css +0 -347
  47. package/src/components/file-upload.css +0 -333
  48. package/src/components/input-search.css +0 -428
  49. package/src/components/linear-progress-indicator.css +0 -34
  50. package/src/components/modal.css +0 -507
  51. package/src/components/month-picker.css +0 -326
  52. package/src/components/multiple-choice-grid.css +0 -383
  53. package/src/components/one-time-password.css +0 -119
  54. package/src/components/pagination.css +0 -429
  55. package/src/components/password-input.css +0 -477
  56. package/src/components/phone-input.css +0 -412
  57. package/src/components/progress-bar.css +0 -447
  58. package/src/components/radio-input.css +0 -277
  59. package/src/components/reset.css +0 -431
  60. package/src/components/select-dropdown.css +0 -663
  61. package/src/components/select-option.css +0 -217
  62. package/src/components/single-file-upload.css +0 -186
  63. package/src/components/skeleton.css +0 -488
  64. package/src/components/spinner.css +0 -450
  65. package/src/components/stepper.css +0 -260
  66. package/src/components/tab-horizontal.css +0 -278
  67. package/src/components/tab-vertical.css +0 -261
  68. package/src/components/table-progress-bar.css +0 -48
  69. package/src/components/table.css +0 -538
  70. package/src/components/text-area.css +0 -220
  71. package/src/components/text-field.css +0 -278
  72. package/src/components/theme-toggle.css +0 -259
  73. package/src/components/time-picker.css +0 -436
  74. package/src/components/toast.css +0 -265
  75. package/src/components/toggle.css +0 -195
  76. package/src/components/tooltip.css +0 -343
  77. package/src/components/year-picker.css +0 -424
  78. package/src/index.css +0 -3
  79. /package/{src → dist}/tailwind/css/bgn.css +0 -0
  80. /package/{src → dist}/tailwind/css/bkn.css +0 -0
  81. /package/{src → dist}/tailwind/css/idds.css +0 -0
  82. /package/{src → dist}/tailwind/css/inagov.css +0 -0
  83. /package/{src → dist}/tailwind/css/inaku.css +0 -0
  84. /package/{src → dist}/tailwind/css/inapas.css +0 -0
  85. /package/{src → dist}/tailwind/css/lan.css +0 -0
  86. /package/{src → dist}/tailwind/css/pan-rb.css +0 -0
  87. /package/{src → dist}/tailwind/ts/bgn.ts +0 -0
  88. /package/{src → dist}/tailwind/ts/bkn.ts +0 -0
  89. /package/{src → dist}/tailwind/ts/default.ts +0 -0
  90. /package/{src → dist}/tailwind/ts/idds.ts +0 -0
  91. /package/{src → dist}/tailwind/ts/inagov.ts +0 -0
  92. /package/{src → dist}/tailwind/ts/inaku.ts +0 -0
  93. /package/{src → dist}/tailwind/ts/inapas.ts +0 -0
  94. /package/{src → dist}/tailwind/ts/lan.ts +0 -0
  95. /package/{src → dist}/tailwind/ts/pan-rb.ts +0 -0
@@ -1,343 +0,0 @@
1
- /**
2
- * Tooltip Test Component Styles - Versi Sederhana
3
- * Menggunakan CSS murni seperti W3Schools
4
- * Support force :hover state dari developer tools
5
- */
6
-
7
- /* Base wrapper - sama seperti existing */
8
- .ina-tooltip {
9
- position: relative;
10
- display: inline-block;
11
- cursor: pointer;
12
- }
13
-
14
- /* Tooltip content - hidden by default, shown on hover */
15
- .ina-tooltip__content {
16
- visibility: hidden;
17
- opacity: 0;
18
- position: absolute;
19
- z-index: 999999;
20
- pointer-events: none;
21
- transition: opacity 0.2s ease, visibility 0.2s ease;
22
- }
23
-
24
- /* Show tooltip on hover - support force state dari dev tools */
25
- .ina-tooltip:hover .ina-tooltip__content,
26
- .ina-tooltip[data-hover='true'] .ina-tooltip__content,
27
- .ina-tooltip__content:hover {
28
- visibility: visible;
29
- opacity: 1;
30
- pointer-events: auto;
31
- }
32
-
33
- /* Hide tooltip when closed - override hover behavior */
34
- .ina-tooltip--closed .ina-tooltip__content,
35
- .ina-tooltip--closed:hover .ina-tooltip__content {
36
- visibility: hidden !important;
37
- opacity: 0 !important;
38
- pointer-events: none !important;
39
- }
40
-
41
- /* Basic Tooltip Bubble */
42
- .ina-tooltip__bubble {
43
- background-color: #000;
44
- color: #fff;
45
- text-align: center;
46
- padding: 8px 12px;
47
- border-radius: 6px;
48
- font-size: 12px;
49
- max-width: 320px;
50
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
51
- }
52
-
53
- /* Positioning - Top */
54
- .ina-tooltip--placement-top .ina-tooltip__content {
55
- bottom: calc(100% - 10px);
56
- left: 50%;
57
- transform: translateX(-50%);
58
- margin-bottom: 8px;
59
- }
60
-
61
- /* Positioning - Bottom */
62
- .ina-tooltip--placement-bottom .ina-tooltip__content {
63
- top: calc(100% - 10px);
64
- left: 50%;
65
- transform: translateX(-50%);
66
- margin-top: 8px;
67
- }
68
-
69
- /* Positioning - Left */
70
- .ina-tooltip--placement-left .ina-tooltip__content {
71
- right: calc(100% - 10px);
72
- top: 50%;
73
- transform: translateY(-50%);
74
- margin-right: 8px;
75
- }
76
-
77
- /* Positioning - Right */
78
- .ina-tooltip--placement-right .ina-tooltip__content {
79
- left: calc(100% - 10px);
80
- top: 50%;
81
- transform: translateY(-50%);
82
- margin-left: 8px;
83
- }
84
-
85
- /* Arrow untuk tooltip - menggunakan ::after */
86
- .ina-tooltip__content--show-arrow::after {
87
- content: '';
88
- position: absolute;
89
- width: 0;
90
- height: 0;
91
- border-style: solid;
92
- pointer-events: none;
93
- }
94
-
95
- /* Arrow untuk top placement (arrow di bawah, pointing down) */
96
- .ina-tooltip--placement-top .ina-tooltip__content--show-arrow::after {
97
- top: 100%;
98
- left: 50%;
99
- margin-left: -5px;
100
- border-width: 5px;
101
- border-color: #000 transparent transparent transparent;
102
- }
103
-
104
- /* Arrow untuk bottom placement (arrow di atas, pointing up) */
105
- .ina-tooltip--placement-bottom .ina-tooltip__content--show-arrow::after {
106
- bottom: 100%;
107
- left: 50%;
108
- margin-left: -5px;
109
- border-width: 5px;
110
- border-color: transparent transparent #000 transparent;
111
- }
112
-
113
- /* Arrow untuk left placement (arrow di kanan, pointing right) */
114
- .ina-tooltip--placement-left .ina-tooltip__content--show-arrow::after {
115
- left: 100%;
116
- top: 50%;
117
- margin-top: -5px;
118
- border-width: 5px;
119
- border-color: transparent transparent transparent #000;
120
- }
121
-
122
- /* Arrow untuk right placement (arrow di kiri, pointing left) */
123
- .ina-tooltip--placement-right .ina-tooltip__content--show-arrow::after {
124
- right: 100%;
125
- top: 50%;
126
- margin-top: -5px;
127
- border-width: 5px;
128
- border-color: transparent #000 transparent transparent;
129
- }
130
-
131
- /* Card Tooltip (Light, Dark, Media) */
132
- .ina-tooltip__card {
133
- position: relative;
134
- pointer-events: auto;
135
- border-radius: 8px;
136
- box-shadow: 0 12px 16px -4px rgba(10, 13, 18, 0.08),
137
- 0 4px 6px -2px rgba(10, 13, 18, 0.03);
138
- overflow: hidden;
139
- width: 320px;
140
- display: flex;
141
- flex-direction: column;
142
- background-color: #fff;
143
- color: #1a1a1a;
144
- }
145
-
146
- .ina-tooltip__card--light {
147
- background-color: #fff;
148
- color: #1a1a1a;
149
- }
150
-
151
- .ina-tooltip__card--dark {
152
- background-color: #1a1a1a;
153
- color: #fff;
154
- }
155
-
156
- .ina-tooltip__card--media {
157
- background-color: #fff;
158
- color: #1a1a1a;
159
- }
160
-
161
- /* Close button */
162
- .ina-tooltip__close {
163
- position: absolute;
164
- top: 12px;
165
- right: 12px;
166
- width: 24px;
167
- height: 24px;
168
- border-radius: 50%;
169
- background-color: rgba(0, 0, 0, 0.05);
170
- border: none;
171
- cursor: pointer;
172
- display: flex;
173
- align-items: center;
174
- justify-content: center;
175
- z-index: 10;
176
- transition: all 0.2s ease;
177
- color: #1a1a1a;
178
- padding: 0;
179
- }
180
-
181
- .ina-tooltip__close:hover {
182
- background-color: rgba(0, 0, 0, 0.1);
183
- }
184
-
185
- .ina-tooltip__card--dark .ina-tooltip__close {
186
- background-color: rgba(255, 255, 255, 0.1);
187
- color: #fff;
188
- }
189
-
190
- .ina-tooltip__card--dark .ina-tooltip__close:hover {
191
- background-color: rgba(255, 255, 255, 0.2);
192
- }
193
-
194
- .ina-tooltip__close svg {
195
- width: 16px;
196
- height: 16px;
197
- stroke: currentColor;
198
- }
199
-
200
- /* Image section (for media variant) */
201
- .ina-tooltip__image {
202
- width: 100%;
203
- height: 200px;
204
- overflow: hidden;
205
- background-color: #f5f5f5;
206
- display: flex;
207
- align-items: center;
208
- justify-content: center;
209
- }
210
-
211
- .ina-tooltip__image img {
212
- width: 100%;
213
- height: 100%;
214
- object-fit: cover;
215
- }
216
-
217
- /* Content section */
218
- .ina-tooltip__content-section {
219
- padding: 16px;
220
- display: flex;
221
- flex-direction: column;
222
- gap: 12px;
223
- }
224
-
225
- .ina-tooltip__title {
226
- font-size: 16px;
227
- font-weight: 600;
228
- line-height: 24px;
229
- color: #1a1a1a;
230
- margin: 0;
231
- }
232
-
233
- .ina-tooltip__card--dark .ina-tooltip__title {
234
- color: #fff;
235
- }
236
-
237
- .ina-tooltip__description {
238
- font-size: 12px;
239
- font-weight: 400;
240
- line-height: 16px;
241
- color: #666;
242
- margin: 0;
243
- }
244
-
245
- .ina-tooltip__card--dark .ina-tooltip__description {
246
- color: rgba(255, 255, 255, 0.7);
247
- }
248
-
249
- /* Action buttons */
250
- .ina-tooltip__actions {
251
- display: flex;
252
- gap: 8px;
253
- justify-content: flex-end;
254
- margin-top: 8px;
255
- }
256
-
257
- .ina-tooltip__action {
258
- padding: 8px 16px;
259
- border: none;
260
- border-radius: 6px;
261
- font-size: 14px;
262
- font-weight: 500;
263
- cursor: pointer;
264
- transition: all 0.2s ease;
265
- }
266
-
267
- .ina-tooltip__action--close {
268
- background-color: #fff;
269
- color: #1a1a1a;
270
- border: 1px solid #e0e0e0;
271
- }
272
-
273
- .ina-tooltip__action--close:hover {
274
- background-color: #f5f5f5;
275
- }
276
-
277
- .ina-tooltip__action--next {
278
- background-color: #e91e63;
279
- color: #fff;
280
- }
281
-
282
- .ina-tooltip__action--next:hover {
283
- background-color: #c2185b;
284
- }
285
-
286
- .ina-tooltip__card--dark .ina-tooltip__action--close {
287
- background-color: rgba(255, 255, 255, 0.1);
288
- color: #fff;
289
- border-color: rgba(255, 255, 255, 0.2);
290
- }
291
-
292
- .ina-tooltip__card--dark .ina-tooltip__action--close:hover {
293
- background-color: rgba(255, 255, 255, 0.2);
294
- }
295
-
296
- /* Arrow colors untuk card variant */
297
- .ina-tooltip--placement-top
298
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after,
299
- .ina-tooltip--placement-top
300
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after {
301
- border-top-color: #fff;
302
- }
303
-
304
- .ina-tooltip--placement-top
305
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after {
306
- border-top-color: #1a1a1a;
307
- }
308
-
309
- .ina-tooltip--placement-bottom
310
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after,
311
- .ina-tooltip--placement-bottom
312
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after {
313
- border-bottom-color: #fff;
314
- }
315
-
316
- .ina-tooltip--placement-bottom
317
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after {
318
- border-bottom-color: #1a1a1a;
319
- }
320
-
321
- .ina-tooltip--placement-left
322
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after,
323
- .ina-tooltip--placement-left
324
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after {
325
- border-left-color: #fff;
326
- }
327
-
328
- .ina-tooltip--placement-left
329
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after {
330
- border-left-color: #1a1a1a;
331
- }
332
-
333
- .ina-tooltip--placement-right
334
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after,
335
- .ina-tooltip--placement-right
336
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after {
337
- border-right-color: #fff;
338
- }
339
-
340
- .ina-tooltip--placement-right
341
- .ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after {
342
- border-right-color: #1a1a1a;
343
- }