carbon-preprocess-svelte 0.10.0 → 0.11.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.
Files changed (48) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +162 -348
  3. package/dist/component-index.d.ts +4 -0
  4. package/dist/component-index.js +1924 -0
  5. package/dist/constants.d.ts +9 -14
  6. package/dist/constants.js +8 -0
  7. package/dist/index.d.ts +3 -4
  8. package/dist/index.js +12 -83167
  9. package/dist/plugins/OptimizeCssPlugin.d.ts +8 -0
  10. package/dist/plugins/OptimizeCssPlugin.js +49 -0
  11. package/dist/plugins/compare-diff.d.ts +6 -0
  12. package/dist/plugins/compare-diff.js +36 -0
  13. package/dist/plugins/create-optimized-css.d.ts +25 -0
  14. package/dist/plugins/create-optimized-css.js +90 -0
  15. package/dist/plugins/optimize-css.d.ts +3 -10
  16. package/dist/plugins/optimize-css.js +49 -0
  17. package/dist/preprocessors/optimize-imports.d.ts +3 -3
  18. package/dist/preprocessors/optimize-imports.js +65 -0
  19. package/dist/utils.d.ts +3 -11
  20. package/dist/utils.js +16 -0
  21. package/package.json +21 -49
  22. package/CHANGELOG.md +0 -136
  23. package/dist/build/build-components.d.ts +0 -9
  24. package/dist/build/build-elements.d.ts +0 -10
  25. package/dist/build/build-icons.d.ts +0 -15
  26. package/dist/build/build-pictograms.d.ts +0 -54
  27. package/dist/build/index.d.ts +0 -19
  28. package/dist/build/type.d.ts +0 -11
  29. package/dist/carbon-components-svelte.d.ts +0 -681
  30. package/dist/carbon-elements.d.ts +0 -833
  31. package/dist/carbon-icons.d.ts +0 -84420
  32. package/dist/carbon-pictograms.d.ts +0 -8839
  33. package/dist/extractors/extract-selectors.d.ts +0 -14
  34. package/dist/extractors/index.d.ts +0 -1
  35. package/dist/index.cjs.d.ts +0 -4
  36. package/dist/index.mjs +0 -83182
  37. package/dist/plugins/index.d.ts +0 -1
  38. package/dist/plugins/optimize-css.cjs.d.ts +0 -10
  39. package/dist/preprocessors/collect-headings.d.ts +0 -27
  40. package/dist/preprocessors/elements.d.ts +0 -22
  41. package/dist/preprocessors/icons.d.ts +0 -2
  42. package/dist/preprocessors/include.d.ts +0 -49
  43. package/dist/preprocessors/index.d.ts +0 -6
  44. package/dist/preprocessors/pictograms.d.ts +0 -2
  45. package/dist/presets/index.d.ts +0 -1
  46. package/dist/presets/preset-carbon.d.ts +0 -7
  47. package/dist/walk-and-replace.d.ts +0 -117
  48. package/src/carbon-components-svelte.js +0 -513
@@ -1,681 +0,0 @@
1
- export namespace components {
2
- namespace metadata {
3
- const _package: string;
4
- export { _package as package };
5
- export const version: string;
6
- export const exports: number;
7
- }
8
- namespace components {
9
- namespace Accordion {
10
- const path: string;
11
- }
12
- namespace AccordionItem {
13
- const path_1: string;
14
- export { path_1 as path };
15
- }
16
- namespace AccordionSkeleton {
17
- const path_2: string;
18
- export { path_2 as path };
19
- }
20
- namespace AspectRatio {
21
- const path_3: string;
22
- export { path_3 as path };
23
- }
24
- namespace Breadcrumb {
25
- const path_4: string;
26
- export { path_4 as path };
27
- }
28
- namespace BreadcrumbItem {
29
- const path_5: string;
30
- export { path_5 as path };
31
- }
32
- namespace BreadcrumbSkeleton {
33
- const path_6: string;
34
- export { path_6 as path };
35
- }
36
- namespace Breakpoint {
37
- const path_7: string;
38
- export { path_7 as path };
39
- }
40
- namespace Button {
41
- const path_8: string;
42
- export { path_8 as path };
43
- }
44
- namespace ButtonSet {
45
- const path_9: string;
46
- export { path_9 as path };
47
- }
48
- namespace ButtonSkeleton {
49
- const path_10: string;
50
- export { path_10 as path };
51
- }
52
- namespace Checkbox {
53
- const path_11: string;
54
- export { path_11 as path };
55
- }
56
- namespace CheckboxSkeleton {
57
- const path_12: string;
58
- export { path_12 as path };
59
- }
60
- namespace ClickableTile {
61
- const path_13: string;
62
- export { path_13 as path };
63
- }
64
- namespace CodeSnippet {
65
- const path_14: string;
66
- export { path_14 as path };
67
- }
68
- namespace CodeSnippetSkeleton {
69
- const path_15: string;
70
- export { path_15 as path };
71
- }
72
- namespace Column {
73
- const path_16: string;
74
- export { path_16 as path };
75
- }
76
- namespace ComboBox {
77
- const path_17: string;
78
- export { path_17 as path };
79
- }
80
- namespace ComposedModal {
81
- const path_18: string;
82
- export { path_18 as path };
83
- }
84
- namespace Content {
85
- const path_19: string;
86
- export { path_19 as path };
87
- }
88
- namespace ContentSwitcher {
89
- const path_20: string;
90
- export { path_20 as path };
91
- }
92
- namespace ContextMenu {
93
- const path_21: string;
94
- export { path_21 as path };
95
- }
96
- namespace ContextMenuDivider {
97
- const path_22: string;
98
- export { path_22 as path };
99
- }
100
- namespace ContextMenuGroup {
101
- const path_23: string;
102
- export { path_23 as path };
103
- }
104
- namespace ContextMenuOption {
105
- const path_24: string;
106
- export { path_24 as path };
107
- }
108
- namespace ContextMenuRadioGroup {
109
- const path_25: string;
110
- export { path_25 as path };
111
- }
112
- namespace CopyButton {
113
- const path_26: string;
114
- export { path_26 as path };
115
- }
116
- namespace DataTable {
117
- const path_27: string;
118
- export { path_27 as path };
119
- }
120
- namespace DataTableSkeleton {
121
- const path_28: string;
122
- export { path_28 as path };
123
- }
124
- namespace DatePicker {
125
- const path_29: string;
126
- export { path_29 as path };
127
- }
128
- namespace DatePickerInput {
129
- const path_30: string;
130
- export { path_30 as path };
131
- }
132
- namespace DatePickerSkeleton {
133
- const path_31: string;
134
- export { path_31 as path };
135
- }
136
- namespace Dropdown {
137
- const path_32: string;
138
- export { path_32 as path };
139
- }
140
- namespace DropdownSkeleton {
141
- const path_33: string;
142
- export { path_33 as path };
143
- }
144
- namespace ExpandableTile {
145
- const path_34: string;
146
- export { path_34 as path };
147
- }
148
- namespace FileUploader {
149
- const path_35: string;
150
- export { path_35 as path };
151
- }
152
- namespace FileUploaderButton {
153
- const path_36: string;
154
- export { path_36 as path };
155
- }
156
- namespace FileUploaderDropContainer {
157
- const path_37: string;
158
- export { path_37 as path };
159
- }
160
- namespace FileUploaderItem {
161
- const path_38: string;
162
- export { path_38 as path };
163
- }
164
- namespace FileUploaderSkeleton {
165
- const path_39: string;
166
- export { path_39 as path };
167
- }
168
- namespace Filename {
169
- const path_40: string;
170
- export { path_40 as path };
171
- }
172
- namespace FluidForm {
173
- const path_41: string;
174
- export { path_41 as path };
175
- }
176
- namespace Form {
177
- const path_42: string;
178
- export { path_42 as path };
179
- }
180
- namespace FormGroup {
181
- const path_43: string;
182
- export { path_43 as path };
183
- }
184
- namespace FormItem {
185
- const path_44: string;
186
- export { path_44 as path };
187
- }
188
- namespace FormLabel {
189
- const path_45: string;
190
- export { path_45 as path };
191
- }
192
- namespace Grid {
193
- const path_46: string;
194
- export { path_46 as path };
195
- }
196
- namespace Header {
197
- const path_47: string;
198
- export { path_47 as path };
199
- }
200
- namespace HeaderAction {
201
- const path_48: string;
202
- export { path_48 as path };
203
- }
204
- namespace HeaderActionLink {
205
- const path_49: string;
206
- export { path_49 as path };
207
- }
208
- namespace HeaderGlobalAction {
209
- const path_50: string;
210
- export { path_50 as path };
211
- }
212
- namespace HeaderNav {
213
- const path_51: string;
214
- export { path_51 as path };
215
- }
216
- namespace HeaderNavItem {
217
- const path_52: string;
218
- export { path_52 as path };
219
- }
220
- namespace HeaderNavMenu {
221
- const path_53: string;
222
- export { path_53 as path };
223
- }
224
- namespace HeaderPanelDivider {
225
- const path_54: string;
226
- export { path_54 as path };
227
- }
228
- namespace HeaderPanelLink {
229
- const path_55: string;
230
- export { path_55 as path };
231
- }
232
- namespace HeaderPanelLinks {
233
- const path_56: string;
234
- export { path_56 as path };
235
- }
236
- namespace HeaderSearch {
237
- const path_57: string;
238
- export { path_57 as path };
239
- }
240
- namespace HeaderUtilities {
241
- const path_58: string;
242
- export { path_58 as path };
243
- }
244
- namespace ImageLoader {
245
- const path_59: string;
246
- export { path_59 as path };
247
- }
248
- namespace InlineLoading {
249
- const path_60: string;
250
- export { path_60 as path };
251
- }
252
- namespace InlineNotification {
253
- const path_61: string;
254
- export { path_61 as path };
255
- }
256
- namespace Link {
257
- const path_62: string;
258
- export { path_62 as path };
259
- }
260
- namespace ListBox {
261
- const path_63: string;
262
- export { path_63 as path };
263
- }
264
- namespace ListBoxField {
265
- const path_64: string;
266
- export { path_64 as path };
267
- }
268
- namespace ListBoxMenu {
269
- const path_65: string;
270
- export { path_65 as path };
271
- }
272
- namespace ListBoxMenuIcon {
273
- const path_66: string;
274
- export { path_66 as path };
275
- }
276
- namespace ListBoxMenuItem {
277
- const path_67: string;
278
- export { path_67 as path };
279
- }
280
- namespace ListBoxSelection {
281
- const path_68: string;
282
- export { path_68 as path };
283
- }
284
- namespace ListItem {
285
- const path_69: string;
286
- export { path_69 as path };
287
- }
288
- namespace Loading {
289
- const path_70: string;
290
- export { path_70 as path };
291
- }
292
- namespace LocalStorage {
293
- const path_71: string;
294
- export { path_71 as path };
295
- }
296
- namespace Modal {
297
- const path_72: string;
298
- export { path_72 as path };
299
- }
300
- namespace ModalBody {
301
- const path_73: string;
302
- export { path_73 as path };
303
- }
304
- namespace ModalFooter {
305
- const path_74: string;
306
- export { path_74 as path };
307
- }
308
- namespace ModalHeader {
309
- const path_75: string;
310
- export { path_75 as path };
311
- }
312
- namespace MultiSelect {
313
- const path_76: string;
314
- export { path_76 as path };
315
- }
316
- namespace NotificationActionButton {
317
- const path_77: string;
318
- export { path_77 as path };
319
- }
320
- namespace NotificationButton {
321
- const path_78: string;
322
- export { path_78 as path };
323
- }
324
- namespace NotificationIcon {
325
- const path_79: string;
326
- export { path_79 as path };
327
- }
328
- namespace NumberInput {
329
- const path_80: string;
330
- export { path_80 as path };
331
- }
332
- namespace NumberInputSkeleton {
333
- const path_81: string;
334
- export { path_81 as path };
335
- }
336
- namespace OrderedList {
337
- const path_82: string;
338
- export { path_82 as path };
339
- }
340
- namespace OutboundLink {
341
- const path_83: string;
342
- export { path_83 as path };
343
- }
344
- namespace OverflowMenu {
345
- const path_84: string;
346
- export { path_84 as path };
347
- }
348
- namespace OverflowMenuItem {
349
- const path_85: string;
350
- export { path_85 as path };
351
- }
352
- namespace Pagination {
353
- const path_86: string;
354
- export { path_86 as path };
355
- }
356
- namespace PaginationNav {
357
- const path_87: string;
358
- export { path_87 as path };
359
- }
360
- namespace PaginationSkeleton {
361
- const path_88: string;
362
- export { path_88 as path };
363
- }
364
- namespace PasswordInput {
365
- const path_89: string;
366
- export { path_89 as path };
367
- }
368
- namespace Popover {
369
- const path_90: string;
370
- export { path_90 as path };
371
- }
372
- namespace ProgressBar {
373
- const path_91: string;
374
- export { path_91 as path };
375
- }
376
- namespace ProgressIndicator {
377
- const path_92: string;
378
- export { path_92 as path };
379
- }
380
- namespace ProgressIndicatorSkeleton {
381
- const path_93: string;
382
- export { path_93 as path };
383
- }
384
- namespace ProgressStep {
385
- const path_94: string;
386
- export { path_94 as path };
387
- }
388
- namespace RadioButton {
389
- const path_95: string;
390
- export { path_95 as path };
391
- }
392
- namespace RadioButtonGroup {
393
- const path_96: string;
394
- export { path_96 as path };
395
- }
396
- namespace RadioButtonSkeleton {
397
- const path_97: string;
398
- export { path_97 as path };
399
- }
400
- namespace RadioTile {
401
- const path_98: string;
402
- export { path_98 as path };
403
- }
404
- namespace RecursiveList {
405
- const path_99: string;
406
- export { path_99 as path };
407
- }
408
- namespace Row {
409
- const path_100: string;
410
- export { path_100 as path };
411
- }
412
- namespace Search {
413
- const path_101: string;
414
- export { path_101 as path };
415
- }
416
- namespace SearchSkeleton {
417
- const path_102: string;
418
- export { path_102 as path };
419
- }
420
- namespace Select {
421
- const path_103: string;
422
- export { path_103 as path };
423
- }
424
- namespace SelectItem {
425
- const path_104: string;
426
- export { path_104 as path };
427
- }
428
- namespace SelectItemGroup {
429
- const path_105: string;
430
- export { path_105 as path };
431
- }
432
- namespace SelectSkeleton {
433
- const path_106: string;
434
- export { path_106 as path };
435
- }
436
- namespace SelectableTile {
437
- const path_107: string;
438
- export { path_107 as path };
439
- }
440
- namespace SideNav {
441
- const path_108: string;
442
- export { path_108 as path };
443
- }
444
- namespace SideNavDivider {
445
- const path_109: string;
446
- export { path_109 as path };
447
- }
448
- namespace SideNavItems {
449
- const path_110: string;
450
- export { path_110 as path };
451
- }
452
- namespace SideNavLink {
453
- const path_111: string;
454
- export { path_111 as path };
455
- }
456
- namespace SideNavMenu {
457
- const path_112: string;
458
- export { path_112 as path };
459
- }
460
- namespace SideNavMenuItem {
461
- const path_113: string;
462
- export { path_113 as path };
463
- }
464
- namespace SkeletonPlaceholder {
465
- const path_114: string;
466
- export { path_114 as path };
467
- }
468
- namespace SkeletonText {
469
- const path_115: string;
470
- export { path_115 as path };
471
- }
472
- namespace SkipToContent {
473
- const path_116: string;
474
- export { path_116 as path };
475
- }
476
- namespace Slider {
477
- const path_117: string;
478
- export { path_117 as path };
479
- }
480
- namespace SliderSkeleton {
481
- const path_118: string;
482
- export { path_118 as path };
483
- }
484
- namespace StructuredList {
485
- const path_119: string;
486
- export { path_119 as path };
487
- }
488
- namespace StructuredListBody {
489
- const path_120: string;
490
- export { path_120 as path };
491
- }
492
- namespace StructuredListCell {
493
- const path_121: string;
494
- export { path_121 as path };
495
- }
496
- namespace StructuredListHead {
497
- const path_122: string;
498
- export { path_122 as path };
499
- }
500
- namespace StructuredListInput {
501
- const path_123: string;
502
- export { path_123 as path };
503
- }
504
- namespace StructuredListRow {
505
- const path_124: string;
506
- export { path_124 as path };
507
- }
508
- namespace StructuredListSkeleton {
509
- const path_125: string;
510
- export { path_125 as path };
511
- }
512
- namespace Switch {
513
- const path_126: string;
514
- export { path_126 as path };
515
- }
516
- namespace Tab {
517
- const path_127: string;
518
- export { path_127 as path };
519
- }
520
- namespace TabContent {
521
- const path_128: string;
522
- export { path_128 as path };
523
- }
524
- namespace Table {
525
- const path_129: string;
526
- export { path_129 as path };
527
- }
528
- namespace TableBody {
529
- const path_130: string;
530
- export { path_130 as path };
531
- }
532
- namespace TableCell {
533
- const path_131: string;
534
- export { path_131 as path };
535
- }
536
- namespace TableContainer {
537
- const path_132: string;
538
- export { path_132 as path };
539
- }
540
- namespace TableHead {
541
- const path_133: string;
542
- export { path_133 as path };
543
- }
544
- namespace TableHeader {
545
- const path_134: string;
546
- export { path_134 as path };
547
- }
548
- namespace TableRow {
549
- const path_135: string;
550
- export { path_135 as path };
551
- }
552
- namespace Tabs {
553
- const path_136: string;
554
- export { path_136 as path };
555
- }
556
- namespace TabsSkeleton {
557
- const path_137: string;
558
- export { path_137 as path };
559
- }
560
- namespace Tag {
561
- const path_138: string;
562
- export { path_138 as path };
563
- }
564
- namespace TagSkeleton {
565
- const path_139: string;
566
- export { path_139 as path };
567
- }
568
- namespace TextArea {
569
- const path_140: string;
570
- export { path_140 as path };
571
- }
572
- namespace TextAreaSkeleton {
573
- const path_141: string;
574
- export { path_141 as path };
575
- }
576
- namespace TextInput {
577
- const path_142: string;
578
- export { path_142 as path };
579
- }
580
- namespace TextInputSkeleton {
581
- const path_143: string;
582
- export { path_143 as path };
583
- }
584
- namespace Theme {
585
- const path_144: string;
586
- export { path_144 as path };
587
- }
588
- namespace Tile {
589
- const path_145: string;
590
- export { path_145 as path };
591
- }
592
- namespace TileGroup {
593
- const path_146: string;
594
- export { path_146 as path };
595
- }
596
- namespace TimePicker {
597
- const path_147: string;
598
- export { path_147 as path };
599
- }
600
- namespace TimePickerSelect {
601
- const path_148: string;
602
- export { path_148 as path };
603
- }
604
- namespace ToastNotification {
605
- const path_149: string;
606
- export { path_149 as path };
607
- }
608
- namespace Toggle {
609
- const path_150: string;
610
- export { path_150 as path };
611
- }
612
- namespace ToggleSkeleton {
613
- const path_151: string;
614
- export { path_151 as path };
615
- }
616
- namespace Toolbar {
617
- const path_152: string;
618
- export { path_152 as path };
619
- }
620
- namespace ToolbarBatchActions {
621
- const path_153: string;
622
- export { path_153 as path };
623
- }
624
- namespace ToolbarContent {
625
- const path_154: string;
626
- export { path_154 as path };
627
- }
628
- namespace ToolbarMenu {
629
- const path_155: string;
630
- export { path_155 as path };
631
- }
632
- namespace ToolbarMenuItem {
633
- const path_156: string;
634
- export { path_156 as path };
635
- }
636
- namespace ToolbarSearch {
637
- const path_157: string;
638
- export { path_157 as path };
639
- }
640
- namespace Tooltip {
641
- const path_158: string;
642
- export { path_158 as path };
643
- }
644
- namespace TooltipDefinition {
645
- const path_159: string;
646
- export { path_159 as path };
647
- }
648
- namespace TooltipFooter {
649
- const path_160: string;
650
- export { path_160 as path };
651
- }
652
- namespace TooltipIcon {
653
- const path_161: string;
654
- export { path_161 as path };
655
- }
656
- namespace TreeView {
657
- const path_162: string;
658
- export { path_162 as path };
659
- }
660
- namespace Truncate {
661
- const path_163: string;
662
- export { path_163 as path };
663
- }
664
- namespace UnorderedList {
665
- const path_164: string;
666
- export { path_164 as path };
667
- }
668
- namespace breakpointObserver {
669
- const path_165: string;
670
- export { path_165 as path };
671
- }
672
- namespace breakpoints {
673
- const path_166: string;
674
- export { path_166 as path };
675
- }
676
- namespace truncate {
677
- const path_167: string;
678
- export { path_167 as path };
679
- }
680
- }
681
- }