@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,431 +0,0 @@
1
- /* =========================== */
2
- /* CSS RESET & BASE STYLES */
3
- /* =========================== */
4
-
5
- /* Import Google Fonts - Inter */
6
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
7
-
8
- /* =========================== */
9
- /* CSS RESET RULES */
10
- /* =========================== */
11
-
12
- /* Box sizing rules */
13
- *,
14
- *::before,
15
- *::after {
16
- box-sizing: border-box;
17
- }
18
-
19
- /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
20
- ul[role='list'],
21
- ol[role='list'] {
22
- list-style: none;
23
- }
24
-
25
- /* Set core root defaults */
26
- html:focus-within {
27
- scroll-behavior: smooth;
28
- }
29
-
30
- /* Set core body defaults */
31
- body {
32
- min-height: 100vh;
33
- text-rendering: optimizeSpeed;
34
- line-height: 1.5;
35
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
36
- 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
37
- sans-serif;
38
- -webkit-font-smoothing: antialiased;
39
- -moz-osx-font-smoothing: grayscale;
40
- }
41
-
42
- /* A elements that don't have a class get default styles */
43
- a:not([class]) {
44
- text-decoration-skip-ink: auto;
45
- }
46
-
47
- /* Make images easier to work with */
48
- img,
49
- picture {
50
- max-width: 100%;
51
- display: block;
52
- }
53
-
54
- /* Inherit fonts for inputs and buttons */
55
- input,
56
- button,
57
- textarea,
58
- select {
59
- font: inherit;
60
- }
61
-
62
- /* Remove default styling from form elements */
63
- input,
64
- textarea,
65
- select {
66
- /* border: none; */
67
- outline: none;
68
- padding: 0;
69
- margin: 0;
70
- box-shadow: none;
71
- -webkit-appearance: none;
72
- -moz-appearance: none;
73
- appearance: none;
74
- }
75
-
76
- /* Remove default focus styles */
77
- input:focus,
78
- textarea:focus,
79
- select:focus,
80
- button:focus {
81
- outline: none;
82
- box-shadow: none;
83
- }
84
-
85
- /* Remove default border and background from specific input types */
86
- input[type='text'],
87
- input[type='email'],
88
- input[type='password'],
89
- input[type='search'],
90
- input[type='tel'],
91
- input[type='url'],
92
- input[type='number'],
93
- input[type='date'],
94
- input[type='time'],
95
- input[type='datetime-local'],
96
- input[type='month'],
97
- input[type='week'] {
98
- /* border: none; */
99
- outline: none;
100
- background: transparent;
101
- -webkit-appearance: none;
102
- -moz-appearance: none;
103
- appearance: none;
104
- }
105
-
106
- /* Remove default styling from textarea */
107
- textarea {
108
- /* border: none; */
109
- outline: none;
110
- background: transparent;
111
- resize: vertical;
112
- -webkit-appearance: none;
113
- -moz-appearance: none;
114
- appearance: none;
115
- }
116
-
117
- /* Remove default styling from select */
118
- select {
119
- /* border: none; */
120
- outline: none;
121
- background: transparent;
122
- -webkit-appearance: none;
123
- -moz-appearance: none;
124
- appearance: none;
125
- background-image: none;
126
- }
127
-
128
- /* Remove default button styling */
129
- button {
130
- /* border: none;
131
- outline: none; */
132
- cursor: pointer;
133
- -webkit-appearance: none;
134
- -moz-appearance: none;
135
- appearance: none;
136
- }
137
-
138
- /* Remove default styling from file inputs */
139
- input[type='file'] {
140
- /* border: none; */
141
- outline: none;
142
- background: transparent;
143
- -webkit-appearance: none;
144
- -moz-appearance: none;
145
- appearance: none;
146
- }
147
-
148
- /* Remove default styling from range inputs */
149
- input[type='range'] {
150
- /* border: none; */
151
- outline: none;
152
- background: transparent;
153
- -webkit-appearance: none;
154
- -moz-appearance: none;
155
- appearance: none;
156
- }
157
-
158
- /* Remove default styling from color inputs */
159
- input[type='color'] {
160
- /* border: none; */
161
- outline: none;
162
- background: transparent;
163
- -webkit-appearance: none;
164
- -moz-appearance: none;
165
- appearance: none;
166
- }
167
-
168
- /* Remove default styling from checkbox and radio */
169
- /* input[type='checkbox'],
170
- input[type='radio'] {
171
- border: none;
172
- outline: none;
173
- background: transparent;
174
- -webkit-appearance: none;
175
- -moz-appearance: none;
176
- appearance: none;
177
- box-shadow: none;
178
- } */
179
-
180
- /* Remove default styling from submit and reset buttons */
181
- /* input[type='submit'],
182
- input[type='reset'],
183
- input[type='button'] {
184
- border: none;
185
- outline: none;
186
- background: transparent;
187
- cursor: pointer;
188
- -webkit-appearance: none;
189
- -moz-appearance: none;
190
- appearance: none;
191
- } */
192
-
193
- /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
194
- @media (prefers-reduced-motion: reduce) {
195
- html:focus-within {
196
- scroll-behavior: auto;
197
- }
198
-
199
- *,
200
- *::before,
201
- *::after {
202
- animation-duration: 0.01ms !important;
203
- animation-iteration-count: 1 !important;
204
- transition-duration: 0.01ms !important;
205
- scroll-behavior: auto !important;
206
- }
207
- }
208
-
209
- /* =========================== */
210
- /* FORM ELEMENTS RESET */
211
- /* =========================== */
212
-
213
- /* Additional form element resets */
214
- optgroup {
215
- font-family: inherit;
216
- font-size: 100%;
217
- line-height: 1.15;
218
- margin: 0;
219
- }
220
-
221
- button,
222
- [type='button'],
223
- [type='reset'],
224
- [type='submit'] {
225
- -webkit-appearance: button;
226
- appearance: button;
227
- }
228
-
229
- button::-moz-focus-inner,
230
- [type='button']::-moz-focus-inner,
231
- [type='reset']::-moz-focus-inner,
232
- [type='submit']::-moz-focus-inner {
233
- border-style: none;
234
- padding: 0;
235
- }
236
-
237
- button:-moz-focusring,
238
- [type='button']:-moz-focusring,
239
- [type='reset']:-moz-focusring,
240
- [type='submit']:-moz-focusring {
241
- outline: 1px dotted ButtonText;
242
- }
243
-
244
- fieldset {
245
- padding: 0.35em 0.75em 0.625em;
246
- }
247
-
248
- legend {
249
- box-sizing: border-box;
250
- color: inherit;
251
- display: table;
252
- max-width: 100%;
253
- padding: 0;
254
- white-space: normal;
255
- }
256
-
257
- progress {
258
- vertical-align: baseline;
259
- }
260
-
261
- /* textarea overflow handled above */
262
-
263
- [type='checkbox'],
264
- [type='radio'] {
265
- box-sizing: border-box;
266
- padding: 0;
267
- }
268
-
269
- [type='number']::-webkit-inner-spin-button,
270
- [type='number']::-webkit-outer-spin-button {
271
- height: auto;
272
- }
273
-
274
- [type='search'] {
275
- -webkit-appearance: textfield;
276
- appearance: textfield;
277
- outline-offset: -2px;
278
- }
279
-
280
- [type='search']::-webkit-search-decoration {
281
- -webkit-appearance: none;
282
- appearance: none;
283
- }
284
-
285
- ::-webkit-file-upload-button {
286
- -webkit-appearance: button;
287
- appearance: button;
288
- font: inherit;
289
- }
290
-
291
- /* =========================== */
292
- /* MEDIA ELEMENTS RESET */
293
- /* =========================== */
294
-
295
- /* Reset media elements */
296
- /* img,
297
- svg,
298
- video,
299
- canvas,
300
- audio,
301
- iframe,
302
- embed,
303
- object {
304
- display: block;
305
- max-width: 100%;
306
- } */
307
-
308
- /* =========================== */
309
- /* TABLE RESET */
310
- /* =========================== */
311
-
312
- /* Reset tables */
313
- table {
314
- text-indent: 0;
315
- border-color: inherit;
316
- border-collapse: collapse;
317
- border-spacing: 0;
318
- width: 100%;
319
- }
320
-
321
- /* thead,
322
- tbody,
323
- tfoot,
324
- tr,
325
- td,
326
- th {
327
- border-color: inherit;
328
- border-style: solid;
329
- border-width: 0;
330
- } */
331
-
332
- /* th,
333
- td {
334
- padding: 0;
335
- text-align: left;
336
- vertical-align: top;
337
- } */
338
-
339
- /* th {
340
- font-weight: 600;
341
- } */
342
-
343
- /* =========================== */
344
- /* MISCELLANEOUS RESET */
345
- /* =========================== */
346
-
347
- /* Reset pagination and navigation */
348
- nav {
349
- display: block;
350
- }
351
-
352
- /* Reset semantic elements */
353
- section,
354
- article,
355
- aside,
356
- header,
357
- footer,
358
- main,
359
- figure,
360
- address,
361
- cite,
362
- mark,
363
- small,
364
- sub,
365
- sup,
366
- code,
367
- kbd,
368
- samp,
369
- abbr,
370
- del,
371
- ins,
372
- dfn {
373
- display: block;
374
- }
375
-
376
- /* Reset text elements */
377
- small {
378
- font-size: 80%;
379
- }
380
-
381
- sub,
382
- sup {
383
- font-size: 75%;
384
- line-height: 0;
385
- position: relative;
386
- vertical-align: baseline;
387
- }
388
-
389
- sub {
390
- bottom: -0.25em;
391
- }
392
-
393
- sup {
394
- top: -0.5em;
395
- }
396
-
397
- /* Reset code elements */
398
- code,
399
- kbd,
400
- samp {
401
- font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas,
402
- 'Courier New', monospace;
403
- font-size: 1em;
404
- }
405
-
406
- /* Reset abbreviation */
407
- abbr[title] {
408
- border-bottom: none;
409
- text-decoration: underline;
410
- text-decoration: underline dotted;
411
- }
412
-
413
- /* Reset mark */
414
- mark {
415
- background-color: #ff0;
416
- color: #000;
417
- }
418
-
419
- /* Reset del and ins */
420
- del {
421
- text-decoration: line-through;
422
- }
423
-
424
- ins {
425
- text-decoration: underline;
426
- }
427
-
428
- /* Reset dfn */
429
- dfn {
430
- font-style: italic;
431
- }