histoire 0.0.0 → 0.0.3

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 (204) hide show
  1. package/LICENSE +21 -0
  2. package/client.d.ts +2 -0
  3. package/dist/client/app/App.vue +84 -21
  4. package/dist/client/app/assets/histoire-text-dark.svg +89 -0
  5. package/dist/client/app/assets/histoire-text.svg +89 -0
  6. package/dist/client/app/assets/histoire.svg +51 -0
  7. package/dist/client/app/codegen/serialize-js.d.ts +1 -0
  8. package/dist/client/app/codegen/serialize-js.js +113 -0
  9. package/dist/client/app/codegen/serialize-js.ts +119 -0
  10. package/dist/client/app/codegen/util.d.ts +10 -0
  11. package/dist/client/app/codegen/util.js +70 -0
  12. package/dist/client/app/codegen/util.ts +79 -0
  13. package/dist/client/app/codegen/vue3.d.ts +2 -0
  14. package/dist/client/app/codegen/vue3.js +238 -0
  15. package/dist/client/app/codegen/vue3.ts +240 -0
  16. package/dist/client/app/components/HomeView.vue +15 -1
  17. package/dist/client/app/components/StoryControls.vue +7 -2
  18. package/dist/client/app/components/StoryList.vue +20 -13
  19. package/dist/client/app/components/StoryListFolder.vue +87 -0
  20. package/dist/client/app/components/StoryListItem.vue +38 -12
  21. package/dist/client/app/components/StorySourceCode.vue +121 -0
  22. package/dist/client/app/components/StoryVariantGridItem.vue +32 -17
  23. package/dist/client/app/components/StoryVariantListItem.vue +46 -0
  24. package/dist/client/app/components/StoryVariantSingleView.vue +145 -15
  25. package/dist/client/app/components/StoryView.vue +88 -54
  26. package/dist/client/app/components/app/AppHeader.vue +56 -0
  27. package/dist/client/app/components/app/AppLogo.vue +24 -0
  28. package/dist/client/app/components/base/BaseEmpty.vue +1 -1
  29. package/dist/client/app/components/base/BaseListItemLink.vue +55 -0
  30. package/dist/client/app/components/base/BaseSplitPane.vue +57 -21
  31. package/dist/client/app/components/exposed/Story.vue +23 -58
  32. package/dist/client/app/components/exposed/Variant.vue +24 -47
  33. package/dist/client/app/components/misc/HatchedPattern.vue +25 -0
  34. package/dist/client/app/components/{SandboxVue.vue → sandbox/SandboxVue3.vue} +31 -12
  35. package/dist/client/app/components/search/SearchItem.vue +110 -0
  36. package/dist/client/app/components/search/SearchModal.vue +179 -0
  37. package/dist/client/app/composable/variant.js +0 -1
  38. package/dist/client/app/composable/variant.ts +20 -0
  39. package/dist/client/app/global-components.js +0 -1
  40. package/dist/client/app/global-components.ts +10 -0
  41. package/dist/client/app/index.d.ts +1 -0
  42. package/dist/client/app/index.js +10 -2
  43. package/dist/client/app/index.ts +24 -0
  44. package/dist/client/app/router.js +0 -1
  45. package/dist/client/app/router.ts +17 -0
  46. package/dist/client/app/sandbox.d.ts +1 -0
  47. package/dist/client/app/sandbox.js +53 -0
  48. package/dist/client/app/sandbox.ts +60 -0
  49. package/dist/client/app/stores/story.d.ts +167 -50
  50. package/dist/client/app/stores/story.js +33 -16
  51. package/dist/client/app/stores/story.ts +58 -0
  52. package/dist/client/app/style/floating-vue.css +31 -0
  53. package/dist/client/app/style/main.css +17 -2
  54. package/dist/client/app/style/sandbox.css +14 -0
  55. package/dist/client/app/types.d.ts +36 -4
  56. package/dist/client/app/types.js +0 -1
  57. package/dist/client/app/types.ts +59 -0
  58. package/dist/client/app/util/config.d.ts +3 -0
  59. package/dist/client/app/util/config.js +4 -0
  60. package/dist/client/app/util/config.ts +6 -0
  61. package/dist/client/app/util/const.d.ts +1 -0
  62. package/dist/client/app/util/const.js +1 -0
  63. package/dist/client/app/util/const.ts +1 -0
  64. package/dist/client/app/util/dark.d.ts +2 -0
  65. package/dist/client/app/util/dark.js +3 -0
  66. package/dist/client/app/util/dark.ts +4 -0
  67. package/dist/client/app/util/env.d.ts +1 -0
  68. package/dist/client/app/util/env.js +1 -0
  69. package/dist/client/app/util/env.ts +1 -0
  70. package/dist/client/app/util/keyboard.d.ts +8 -0
  71. package/dist/client/app/util/keyboard.js +82 -0
  72. package/dist/client/app/util/keyboard.ts +99 -0
  73. package/dist/client/app/util/mapping.d.ts +3 -0
  74. package/dist/client/app/util/mapping.js +39 -0
  75. package/dist/client/app/util/mapping.ts +41 -0
  76. package/dist/client/app/util/tooltip.d.ts +6 -0
  77. package/dist/client/app/util/tooltip.js +11 -0
  78. package/dist/client/app/util/tooltip.ts +13 -0
  79. package/dist/client/index.d.ts +8 -0
  80. package/dist/client/index.js +3 -0
  81. package/dist/client/index.ts +12 -0
  82. package/dist/client/server/Story.server.vue +65 -0
  83. package/dist/client/server/Variant.server.vue +50 -0
  84. package/dist/client/server/index.d.ts +2 -0
  85. package/dist/client/server/index.js +25 -0
  86. package/dist/client/server/index.ts +29 -0
  87. package/dist/client/shim.d.ts +5 -0
  88. package/dist/node/alias.js +0 -1
  89. package/dist/node/bin.js +8 -3
  90. package/dist/node/build.d.ts +2 -0
  91. package/dist/node/build.js +71 -0
  92. package/dist/node/collect.d.ts +12 -0
  93. package/dist/node/collect.js +65 -0
  94. package/dist/node/colors.d.ts +286 -0
  95. package/dist/node/colors.js +324 -0
  96. package/dist/node/commands/build.d.ts +1 -0
  97. package/dist/node/commands/build.js +10 -0
  98. package/dist/node/commands/dev.d.ts +1 -1
  99. package/dist/node/commands/dev.js +45 -13
  100. package/dist/node/config.d.ts +112 -1
  101. package/dist/node/config.js +124 -2
  102. package/dist/node/context.d.ts +13 -0
  103. package/dist/node/context.js +12 -2
  104. package/dist/node/dom/dom-keys.d.ts +4 -0
  105. package/dist/node/dom/dom-keys.js +223 -0
  106. package/dist/node/dom/env.d.ts +5 -0
  107. package/dist/node/dom/env.js +22 -0
  108. package/dist/node/index.d.ts +2 -0
  109. package/dist/node/index.js +2 -2
  110. package/dist/node/plugin.d.ts +8 -2
  111. package/dist/node/plugin.js +150 -22
  112. package/dist/node/server.d.ts +4 -1
  113. package/dist/node/server.js +80 -21
  114. package/dist/node/stories.d.ts +8 -9
  115. package/dist/node/stories.js +42 -23
  116. package/dist/node/tree.d.ts +19 -0
  117. package/dist/node/tree.js +54 -0
  118. package/dist/node/types.d.ts +38 -0
  119. package/dist/node/types.js +1 -0
  120. package/dist/style.css +610 -53
  121. package/package.json +45 -25
  122. package/scripts/copy.mjs +11 -0
  123. package/src/client/app/App.vue +84 -21
  124. package/src/client/app/assets/histoire-text-dark.svg +89 -0
  125. package/src/client/app/assets/histoire-text.svg +89 -0
  126. package/src/client/app/assets/histoire.svg +51 -0
  127. package/src/client/app/codegen/serialize-js.ts +119 -0
  128. package/src/client/app/codegen/util.ts +79 -0
  129. package/src/client/app/codegen/vue3.ts +240 -0
  130. package/src/client/app/components/HomeView.vue +15 -1
  131. package/src/client/app/components/StoryControls.vue +7 -2
  132. package/src/client/app/components/StoryList.vue +20 -13
  133. package/src/client/app/components/StoryListFolder.vue +87 -0
  134. package/src/client/app/components/StoryListItem.vue +38 -12
  135. package/src/client/app/components/StorySourceCode.vue +121 -0
  136. package/src/client/app/components/StoryVariantGridItem.vue +32 -17
  137. package/src/client/app/components/StoryVariantListItem.vue +46 -0
  138. package/src/client/app/components/StoryVariantSingleView.vue +145 -15
  139. package/src/client/app/components/StoryView.vue +88 -54
  140. package/src/client/app/components/app/AppHeader.vue +56 -0
  141. package/src/client/app/components/app/AppLogo.vue +24 -0
  142. package/src/client/app/components/base/BaseEmpty.vue +1 -1
  143. package/src/client/app/components/base/BaseListItemLink.vue +55 -0
  144. package/src/client/app/components/base/BaseSplitPane.vue +57 -21
  145. package/src/client/app/components/exposed/Story.vue +23 -58
  146. package/src/client/app/components/exposed/Variant.vue +24 -47
  147. package/src/client/app/components/misc/HatchedPattern.vue +25 -0
  148. package/src/client/app/components/{SandboxVue.vue → sandbox/SandboxVue3.vue} +31 -12
  149. package/src/client/app/components/search/SearchItem.vue +110 -0
  150. package/src/client/app/components/search/SearchModal.vue +179 -0
  151. package/src/client/app/index.ts +10 -1
  152. package/src/client/app/sandbox.ts +60 -0
  153. package/src/client/app/stores/story.ts +39 -15
  154. package/src/client/app/style/floating-vue.css +31 -0
  155. package/src/client/app/style/main.css +17 -2
  156. package/src/client/app/style/sandbox.css +14 -0
  157. package/src/client/app/types.ts +42 -4
  158. package/src/client/app/util/config.ts +6 -0
  159. package/src/client/app/util/const.ts +1 -0
  160. package/src/client/app/util/dark.ts +4 -0
  161. package/src/client/app/util/env.ts +1 -0
  162. package/src/client/app/util/keyboard.ts +99 -0
  163. package/src/client/app/util/mapping.ts +41 -0
  164. package/src/client/app/util/tooltip.ts +13 -0
  165. package/src/client/index.ts +12 -0
  166. package/src/client/server/Story.server.vue +65 -0
  167. package/src/client/server/Variant.server.vue +50 -0
  168. package/src/client/server/index.ts +29 -0
  169. package/src/node/bin.ts +9 -2
  170. package/src/node/build.ts +80 -0
  171. package/src/node/collect.ts +78 -0
  172. package/src/node/colors.ts +340 -0
  173. package/src/node/commands/build.ts +12 -0
  174. package/src/node/commands/dev.ts +49 -12
  175. package/src/node/config.ts +240 -1
  176. package/src/node/context.ts +21 -1
  177. package/src/node/dom/dom-keys.ts +227 -0
  178. package/src/node/dom/env.ts +26 -0
  179. package/src/node/index.ts +2 -0
  180. package/src/node/plugin.ts +155 -22
  181. package/src/node/server.ts +95 -20
  182. package/src/node/stories.ts +53 -31
  183. package/src/node/tree.spec.ts +28 -0
  184. package/src/node/tree.ts +88 -0
  185. package/src/node/types.ts +40 -0
  186. package/tailwind.config.cjs +41 -1
  187. package/tsconfig.json +2 -1
  188. package/dist/client/app/components/StoryVariantItem.vue +0 -29
  189. package/dist/client/app/composable/variant.js.map +0 -1
  190. package/dist/client/app/global-components.js.map +0 -1
  191. package/dist/client/app/index.js.map +0 -1
  192. package/dist/client/app/router.js.map +0 -1
  193. package/dist/client/app/stores/story.js.map +0 -1
  194. package/dist/client/app/types.js.map +0 -1
  195. package/dist/node/alias.js.map +0 -1
  196. package/dist/node/bin.js.map +0 -1
  197. package/dist/node/commands/dev.js.map +0 -1
  198. package/dist/node/config.js.map +0 -1
  199. package/dist/node/context.js.map +0 -1
  200. package/dist/node/index.js.map +0 -1
  201. package/dist/node/plugin.js.map +0 -1
  202. package/dist/node/server.js.map +0 -1
  203. package/dist/node/stories.js.map +0 -1
  204. package/src/client/app/components/StoryVariantItem.vue +0 -29
package/dist/style.css CHANGED
@@ -36,7 +36,8 @@
36
36
  .v-popper__popper.v-popper__popper--hidden{
37
37
  visibility:hidden;
38
38
  opacity:0;
39
- transition:opacity .15s,visibility .15s
39
+ transition:opacity .15s,visibility .15s;
40
+ pointer-events:none
40
41
  }
41
42
 
42
43
  .v-popper__popper.v-popper__popper--shown{
@@ -49,6 +50,15 @@
49
50
  transition:none!important
50
51
  }
51
52
 
53
+ .v-popper__backdrop{
54
+ position:absolute;
55
+ top:0;
56
+ left:0;
57
+ width:100%;
58
+ height:100%;
59
+ display:none
60
+ }
61
+
52
62
  .v-popper__inner{
53
63
  position:relative;
54
64
  box-sizing:border-box;
@@ -57,7 +67,9 @@
57
67
 
58
68
  .v-popper__inner>div{
59
69
  position:relative;
60
- z-index:1
70
+ z-index:1;
71
+ max-width:inherit;
72
+ max-height:inherit
61
73
  }
62
74
 
63
75
  .v-popper__arrow-container{
@@ -66,7 +78,7 @@
66
78
  height:10px
67
79
  }
68
80
 
69
- .v-popper__popper--arrow-overflow .v-popper__arrow-container{
81
+ .v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{
70
82
  display:none
71
83
  }
72
84
 
@@ -200,6 +212,38 @@
200
212
 
201
213
  /* @TODO custom themes */
202
214
 
215
+ .v-popper {
216
+ line-height: 0;
217
+ }
218
+
219
+ .htw-dark .v-popper--theme-dropdown .v-popper__inner{
220
+ --tw-border-opacity:1;
221
+ border-color:rgb(var(--_histoire-color-gray-850) / var(--tw-border-opacity));
222
+ --tw-bg-opacity:1;
223
+ background-color:rgb(var(--_histoire-color-gray-700) / var(--tw-bg-opacity));
224
+ --tw-text-opacity:1;
225
+ color:rgb(var(--_histoire-color-gray-100) / var(--tw-text-opacity))
226
+ }
227
+
228
+ .htw-dark .v-popper--theme-dropdown .v-popper__arrow-inner{
229
+ --tw-border-opacity:1;
230
+ border-color:rgb(var(--_histoire-color-gray-700) / var(--tw-border-opacity))
231
+ }
232
+
233
+ .htw-dark .v-popper--theme-dropdown .v-popper__arrow-outer{
234
+ --tw-border-opacity:1;
235
+ border-color:rgb(var(--_histoire-color-gray-850) / var(--tw-border-opacity))
236
+ }
237
+
238
+ .v-popper--theme-dropdown.v-popper__popper--show-from .v-popper__wrapper {
239
+ transform: scale(.75);
240
+ }
241
+
242
+ .v-popper--theme-dropdown.v-popper__popper--show-to .v-popper__wrapper {
243
+ transform: none;
244
+ transition: transform .15s cubic-bezier(0, 1, .5, 1);
245
+ }
246
+
203
247
  *,
204
248
  ::before,
205
249
  ::after {
@@ -209,11 +253,28 @@
209
253
  border-color: #e5e7eb;
210
254
  }
211
255
 
212
- a {
256
+ a,
257
+ input,
258
+ button {
213
259
  color: inherit;
260
+ }
261
+
262
+ a {
214
263
  text-decoration: inherit;
215
264
  }
216
265
 
266
+ input {
267
+ font-family: inherit;
268
+ }
269
+
270
+ a,
271
+ button {
272
+ -webkit-user-select: none;
273
+ -moz-user-select: none;
274
+ -ms-user-select: none;
275
+ user-select: none;
276
+ }
277
+
217
278
  *, ::before, ::after{
218
279
  --tw-translate-x:0;
219
280
  --tw-translate-y:0;
@@ -263,6 +324,14 @@ a {
263
324
  pointer-events:none
264
325
  }
265
326
 
327
+ .htw-invisible{
328
+ visibility:hidden
329
+ }
330
+
331
+ .htw-fixed{
332
+ position:fixed
333
+ }
334
+
266
335
  .htw-absolute{
267
336
  position:absolute
268
337
  }
@@ -271,6 +340,53 @@ a {
271
340
  position:relative
272
341
  }
273
342
 
343
+ .htw-inset-0{
344
+ top:0px;
345
+ right:0px;
346
+ bottom:0px;
347
+ left:0px
348
+ }
349
+
350
+ .htw-top-2{
351
+ top:0.5rem
352
+ }
353
+
354
+ .htw-right-6{
355
+ right:1.5rem
356
+ }
357
+
358
+ .htw-top-1{
359
+ top:0.25rem
360
+ }
361
+
362
+ .htw-left-4{
363
+ left:1rem
364
+ }
365
+
366
+ .htw-right-4{
367
+ right:1rem
368
+ }
369
+
370
+ .htw-bottom-1{
371
+ bottom:0.25rem
372
+ }
373
+
374
+ .htw-left-1{
375
+ left:0.25rem
376
+ }
377
+
378
+ .htw-top-4{
379
+ top:1rem
380
+ }
381
+
382
+ .htw-bottom-4{
383
+ bottom:1rem
384
+ }
385
+
386
+ .htw-right-1{
387
+ right:0.25rem
388
+ }
389
+
274
390
  .htw-top-0{
275
391
  top:0px
276
392
  }
@@ -295,10 +411,34 @@ a {
295
411
  z-index:20
296
412
  }
297
413
 
414
+ .htw-m-1{
415
+ margin:0.25rem
416
+ }
417
+
418
+ .htw-m-0{
419
+ margin:0px
420
+ }
421
+
298
422
  .htw-m-4{
299
423
  margin:1rem
300
424
  }
301
425
 
426
+ .htw-ml-auto{
427
+ margin-left:auto
428
+ }
429
+
430
+ .htw-mt-2{
431
+ margin-top:0.5rem
432
+ }
433
+
434
+ .htw-mt-0\.5{
435
+ margin-top:0.125rem
436
+ }
437
+
438
+ .htw-mt-0{
439
+ margin-top:0px
440
+ }
441
+
302
442
  .htw-flex{
303
443
  display:flex
304
444
  }
@@ -311,28 +451,121 @@ a {
311
451
  display:none
312
452
  }
313
453
 
454
+ .htw-h-screen{
455
+ height:100vh
456
+ }
457
+
314
458
  .htw-h-full{
315
459
  height:100%
316
460
  }
317
461
 
462
+ .htw-h-64{
463
+ height:16rem
464
+ }
465
+
466
+ .htw-h-4{
467
+ height:1rem
468
+ }
469
+
470
+ .htw-h-5{
471
+ height:1.25rem
472
+ }
473
+
474
+ .htw-h-2{
475
+ height:0.5rem
476
+ }
477
+
478
+ .htw-h-px{
479
+ height:1px
480
+ }
481
+
482
+ .htw-h-16{
483
+ height:4rem
484
+ }
485
+
486
+ .htw-max-h-full{
487
+ max-height:100%
488
+ }
489
+
490
+ .htw-max-h-\[400px\]{
491
+ max-height:400px
492
+ }
493
+
494
+ .htw-w-64{
495
+ width:16rem
496
+ }
497
+
498
+ .htw-w-4{
499
+ width:1rem
500
+ }
501
+
502
+ .htw-w-5{
503
+ width:1.25rem
504
+ }
505
+
506
+ .htw-w-full{
507
+ width:100%
508
+ }
509
+
318
510
  .htw-w-max{
319
511
  width:-webkit-max-content;
320
512
  width:-moz-max-content;
321
513
  width:max-content
322
514
  }
323
515
 
324
- .htw-w-full{
325
- width:100%
516
+ .htw-w-16{
517
+ width:4rem
326
518
  }
327
519
 
328
- .htw-cursor-default{
329
- cursor:default
520
+ .htw-w-px{
521
+ width:1px
522
+ }
523
+
524
+ .htw-w-2{
525
+ width:0.5rem
526
+ }
527
+
528
+ .htw-w-screen{
529
+ width:100vw
530
+ }
531
+
532
+ .htw-min-w-0{
533
+ min-width:0px
534
+ }
535
+
536
+ .htw-min-w-16{
537
+ min-width:4rem
538
+ }
539
+
540
+ .htw-max-w-full{
541
+ max-width:100%
542
+ }
543
+
544
+ .htw-max-w-\[512px\]{
545
+ max-width:512px
546
+ }
547
+
548
+ .htw-flex-none{
549
+ flex:none
550
+ }
551
+
552
+ .htw-flex-1{
553
+ flex:1 1 0%
554
+ }
555
+
556
+ .htw-rotate-90{
557
+ --tw-rotate:90deg;
558
+ transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
330
559
  }
331
560
 
332
561
  .htw-cursor-pointer{
333
562
  cursor:pointer
334
563
  }
335
564
 
565
+ .htw-cursor-default{
566
+ cursor:default
567
+ }
568
+
336
569
  .htw-cursor-ew-resize{
337
570
  cursor:ew-resize
338
571
  }
@@ -341,6 +574,17 @@ a {
341
574
  cursor:ns-resize
342
575
  }
343
576
 
577
+ .htw-select-none{
578
+ -webkit-user-select:none;
579
+ -moz-user-select:none;
580
+ -ms-user-select:none;
581
+ user-select:none
582
+ }
583
+
584
+ .htw-resize-none{
585
+ resize:none
586
+ }
587
+
344
588
  .htw-flex-col{
345
589
  flex-direction:column
346
590
  }
@@ -349,24 +593,36 @@ a {
349
593
  align-items:center
350
594
  }
351
595
 
596
+ .htw-items-stretch{
597
+ align-items:stretch
598
+ }
599
+
352
600
  .htw-justify-center{
353
601
  justify-content:center
354
602
  }
355
603
 
604
+ .htw-gap-2{
605
+ gap:0.5rem
606
+ }
607
+
608
+ .htw-gap-1{
609
+ gap:0.25rem
610
+ }
611
+
356
612
  .htw-gap-4{
357
613
  gap:1rem
358
614
  }
359
615
 
360
- .htw-space-x-2 > :not([hidden]) ~ :not([hidden]){
361
- --tw-space-x-reverse:0;
362
- margin-right:calc(0.5rem * var(--tw-space-x-reverse));
363
- margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))
616
+ .htw-gap-0\.5{
617
+ gap:0.125rem
364
618
  }
365
619
 
366
- .htw-space-y-1 > :not([hidden]) ~ :not([hidden]){
367
- --tw-space-y-reverse:0;
368
- margin-top:calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
369
- margin-bottom:calc(0.25rem * var(--tw-space-y-reverse))
620
+ .htw-gap-0{
621
+ gap:0px
622
+ }
623
+
624
+ .htw-gap-y-1{
625
+ row-gap:0.25rem
370
626
  }
371
627
 
372
628
  .htw-space-y-4 > :not([hidden]) ~ :not([hidden]){
@@ -375,14 +631,39 @@ a {
375
631
  margin-bottom:calc(1rem * var(--tw-space-y-reverse))
376
632
  }
377
633
 
634
+ .htw-divide-y > :not([hidden]) ~ :not([hidden]){
635
+ --tw-divide-y-reverse:0;
636
+ border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));
637
+ border-bottom-width:calc(1px * var(--tw-divide-y-reverse))
638
+ }
639
+
640
+ .htw-divide-gray-200 > :not([hidden]) ~ :not([hidden]){
641
+ --tw-divide-opacity:1;
642
+ border-color:rgb(var(--_histoire-color-gray-200) / var(--tw-divide-opacity))
643
+ }
644
+
378
645
  .htw-overflow-auto{
379
646
  overflow:auto
380
647
  }
381
648
 
649
+ .htw-overflow-hidden{
650
+ overflow:hidden
651
+ }
652
+
382
653
  .htw-overflow-y-auto{
383
654
  overflow-y:auto
384
655
  }
385
656
 
657
+ .htw-truncate{
658
+ overflow:hidden;
659
+ text-overflow:ellipsis;
660
+ white-space:nowrap
661
+ }
662
+
663
+ .htw-rounded-sm{
664
+ border-radius:0.25rem
665
+ }
666
+
386
667
  .htw-rounded{
387
668
  border-radius:0.375rem
388
669
  }
@@ -401,6 +682,11 @@ a {
401
682
  border-bottom-right-radius:0.75rem
402
683
  }
403
684
 
685
+ .htw-rounded-b-lg{
686
+ border-bottom-right-radius:0.75rem;
687
+ border-bottom-left-radius:0.75rem
688
+ }
689
+
404
690
  .htw-border{
405
691
  border-width:1px
406
692
  }
@@ -409,6 +695,10 @@ a {
409
695
  border-left-width:2px
410
696
  }
411
697
 
698
+ .htw-border-b-2{
699
+ border-bottom-width:2px
700
+ }
701
+
412
702
  .htw-border-r{
413
703
  border-right-width:1px
414
704
  }
@@ -419,31 +709,44 @@ a {
419
709
 
420
710
  .htw-border-gray-100{
421
711
  --tw-border-opacity:1;
422
- border-color:rgb(243 244 246 / var(--tw-border-opacity))
712
+ border-color:rgb(var(--_histoire-color-gray-100) / var(--tw-border-opacity))
423
713
  }
424
714
 
425
715
  .htw-border-primary-200{
426
716
  --tw-border-opacity:1;
427
- border-color:rgb(199 210 254 / var(--tw-border-opacity))
717
+ border-color:rgb(var(--_histoire-color-primary-200) / var(--tw-border-opacity))
718
+ }
719
+
720
+ .htw-border-gray-200{
721
+ --tw-border-opacity:1;
722
+ border-color:rgb(var(--_histoire-color-gray-200) / var(--tw-border-opacity))
428
723
  }
429
724
 
430
725
  .htw-border-gray-500\/10{
431
- border-color:rgb(107 114 128 / 0.1)
726
+ border-color:rgb(var(--_histoire-color-gray-500) / 0.1)
432
727
  }
433
728
 
434
- .htw-border-gray-200{
729
+ .htw-border-gray-600{
435
730
  --tw-border-opacity:1;
436
- border-color:rgb(229 231 235 / var(--tw-border-opacity))
731
+ border-color:rgb(var(--_histoire-color-gray-600) / var(--tw-border-opacity))
437
732
  }
438
733
 
439
- .htw-bg-primary-500{
734
+ .htw-border-transparent{
735
+ border-color:transparent
736
+ }
737
+
738
+ .htw-bg-gray-100{
440
739
  --tw-bg-opacity:1;
441
- background-color:rgb(99 102 241 / var(--tw-bg-opacity))
740
+ background-color:rgb(var(--_histoire-color-gray-100) / var(--tw-bg-opacity))
741
+ }
742
+
743
+ .htw-bg-transparent{
744
+ background-color:transparent
442
745
  }
443
746
 
444
747
  .htw-bg-primary-200{
445
748
  --tw-bg-opacity:1;
446
- background-color:rgb(199 210 254 / var(--tw-bg-opacity))
749
+ background-color:rgb(var(--_histoire-color-primary-200) / var(--tw-bg-opacity))
447
750
  }
448
751
 
449
752
  .htw-bg-white{
@@ -451,31 +754,93 @@ a {
451
754
  background-color:rgb(255 255 255 / var(--tw-bg-opacity))
452
755
  }
453
756
 
757
+ .htw-bg-primary-500{
758
+ --tw-bg-opacity:1;
759
+ background-color:rgb(var(--_histoire-color-primary-500) / var(--tw-bg-opacity))
760
+ }
761
+
454
762
  .htw-bg-gray-200{
455
763
  --tw-bg-opacity:1;
456
- background-color:rgb(229 231 235 / var(--tw-bg-opacity))
764
+ background-color:rgb(var(--_histoire-color-gray-200) / var(--tw-bg-opacity))
457
765
  }
458
766
 
459
767
  .htw-bg-gray-50{
460
768
  --tw-bg-opacity:1;
461
- background-color:rgb(249 250 251 / var(--tw-bg-opacity))
769
+ background-color:rgb(var(--_histoire-color-gray-50) / var(--tw-bg-opacity))
770
+ }
771
+
772
+ .htw-bg-gray-500{
773
+ --tw-bg-opacity:1;
774
+ background-color:rgb(var(--_histoire-color-gray-500) / var(--tw-bg-opacity))
462
775
  }
463
776
 
464
777
  .htw-bg-primary-500\/25{
465
- background-color:rgb(99 102 241 / 0.25)
778
+ background-color:rgb(var(--_histoire-color-primary-500) / 0.25)
779
+ }
780
+
781
+ .htw-bg-white\/80{
782
+ background-color:rgb(255 255 255 / 0.8)
466
783
  }
467
784
 
468
785
  .htw-p-2{
469
786
  padding:0.5rem
470
787
  }
471
788
 
789
+ .htw-p-2\.5{
790
+ padding:0.625rem
791
+ }
792
+
793
+ .htw-p-1{
794
+ padding:0.25rem
795
+ }
796
+
472
797
  .htw-p-4{
473
798
  padding:1rem
474
799
  }
475
800
 
476
- .htw-px-1\.5{
477
- padding-left:0.375rem;
478
- padding-right:0.375rem
801
+ .htw-px-0\.5{
802
+ padding-left:0.125rem;
803
+ padding-right:0.125rem
804
+ }
805
+
806
+ .htw-py-1\.5{
807
+ padding-top:0.375rem;
808
+ padding-bottom:0.375rem
809
+ }
810
+
811
+ .htw-px-0{
812
+ padding-left:0px;
813
+ padding-right:0px
814
+ }
815
+
816
+ .htw-py-1{
817
+ padding-top:0.25rem;
818
+ padding-bottom:0.25rem
819
+ }
820
+
821
+ .htw-px-2{
822
+ padding-left:0.5rem;
823
+ padding-right:0.5rem
824
+ }
825
+
826
+ .htw-py-0\.5{
827
+ padding-top:0.125rem;
828
+ padding-bottom:0.125rem
829
+ }
830
+
831
+ .htw-py-0{
832
+ padding-top:0px;
833
+ padding-bottom:0px
834
+ }
835
+
836
+ .htw-px-4{
837
+ padding-left:1rem;
838
+ padding-right:1rem
839
+ }
840
+
841
+ .htw-py-3{
842
+ padding-top:0.75rem;
843
+ padding-bottom:0.75rem
479
844
  }
480
845
 
481
846
  .htw-px-1{
@@ -483,15 +848,57 @@ a {
483
848
  padding-right:0.25rem
484
849
  }
485
850
 
851
+ .htw-py-4{
852
+ padding-top:1rem;
853
+ padding-bottom:1rem
854
+ }
855
+
486
856
  .htw-py-12{
487
857
  padding-top:3rem;
488
858
  padding-bottom:3rem
489
859
  }
490
860
 
861
+ .htw-px-6{
862
+ padding-left:1.5rem;
863
+ padding-right:1.5rem
864
+ }
865
+
866
+ .htw-pl-0\.5{
867
+ padding-left:0.125rem
868
+ }
869
+
870
+ .htw-pr-2{
871
+ padding-right:0.5rem
872
+ }
873
+
874
+ .htw-pl-0{
875
+ padding-left:0px
876
+ }
877
+
878
+ .htw-pl-5{
879
+ padding-left:1.25rem
880
+ }
881
+
882
+ .htw-pl-6{
883
+ padding-left:1.5rem
884
+ }
885
+
886
+ .htw-pr-6{
887
+ padding-right:1.5rem
888
+ }
889
+
890
+ .htw-text-left{
891
+ text-align:left
892
+ }
893
+
491
894
  .htw-text-center{
492
895
  text-align:center
493
896
  }
494
897
 
898
+ .htw-font-mono{
899
+ font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
900
+ }
901
+
495
902
  .htw-text-sm{
496
903
  font-size:0.875rem;
497
904
  line-height:1.25rem
@@ -502,34 +909,81 @@ a {
502
909
  line-height:1.75rem
503
910
  }
504
911
 
505
- .htw-font-bold{
506
- font-weight:700
912
+ .htw-text-primary-500{
913
+ --tw-text-opacity:1;
914
+ color:rgb(var(--_histoire-color-primary-500) / var(--tw-text-opacity))
507
915
  }
508
916
 
509
- .htw-text-white{
917
+ .htw-text-red-500{
510
918
  --tw-text-opacity:1;
511
- color:rgb(255 255 255 / var(--tw-text-opacity))
919
+ color:rgb(239 68 68 / var(--tw-text-opacity))
512
920
  }
513
921
 
514
922
  .htw-text-gray-500{
515
923
  --tw-text-opacity:1;
516
- color:rgb(107 114 128 / var(--tw-text-opacity))
924
+ color:rgb(var(--_histoire-color-gray-500) / var(--tw-text-opacity))
517
925
  }
518
926
 
519
927
  .htw-text-primary-800{
520
928
  --tw-text-opacity:1;
521
- color:rgb(55 48 163 / var(--tw-text-opacity))
929
+ color:rgb(var(--_histoire-color-primary-800) / var(--tw-text-opacity))
930
+ }
931
+
932
+ .htw-text-white{
933
+ --tw-text-opacity:1;
934
+ color:rgb(255 255 255 / var(--tw-text-opacity))
935
+ }
936
+
937
+ .htw-text-black\/\[2\%\]{
938
+ color:rgb(0 0 0 / 2%)
522
939
  }
523
940
 
524
941
  .htw-text-gray-400{
525
942
  --tw-text-opacity:1;
526
- color:rgb(156 163 175 / var(--tw-text-opacity))
943
+ color:rgb(var(--_histoire-color-gray-400) / var(--tw-text-opacity))
944
+ }
945
+
946
+ .htw-opacity-25{
947
+ opacity:0.25
948
+ }
949
+
950
+ .htw-opacity-30{
951
+ opacity:0.3
527
952
  }
528
953
 
529
954
  .htw-opacity-40{
530
955
  opacity:0.4
531
956
  }
532
957
 
958
+ .htw-opacity-50{
959
+ opacity:0.5
960
+ }
961
+
962
+ .htw-opacity-70{
963
+ opacity:0.7
964
+ }
965
+
966
+ .htw-opacity-60{
967
+ opacity:0.6
968
+ }
969
+
970
+ .htw-shadow-xl{
971
+ --tw-shadow:0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
972
+ --tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
973
+ box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
974
+ }
975
+
976
+ .htw-outline-none{
977
+ outline:2px solid transparent;
978
+ outline-offset:2px
979
+ }
980
+
981
+ .htw-transition-transform{
982
+ transition-property:transform;
983
+ transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
984
+ transition-duration:150ms
985
+ }
986
+
533
987
  .htw-transition-colors{
534
988
  transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
535
989
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;
@@ -546,7 +1000,8 @@ a {
546
1000
  transition-duration:150ms
547
1001
  }
548
1002
 
549
- body {
1003
+ body,
1004
+ pre {
550
1005
  margin: 0;
551
1006
  }
552
1007
 
@@ -564,44 +1019,146 @@ body,
564
1019
 
565
1020
  .hover\:htw-bg-primary-100:hover{
566
1021
  --tw-bg-opacity:1;
567
- background-color:rgb(224 231 255 / var(--tw-bg-opacity))
1022
+ background-color:rgb(var(--_histoire-color-primary-100) / var(--tw-bg-opacity))
568
1023
  }
569
1024
 
570
- .hover\:htw-bg-primary-600:hover{
1025
+ .hover\:htw-bg-gray-200:hover{
571
1026
  --tw-bg-opacity:1;
572
- background-color:rgb(79 70 229 / var(--tw-bg-opacity))
1027
+ background-color:rgb(var(--_histoire-color-gray-200) / var(--tw-bg-opacity))
573
1028
  }
574
1029
 
575
- .hover\:htw-bg-gray-200:hover{
1030
+ .hover\:htw-bg-primary-300:hover{
576
1031
  --tw-bg-opacity:1;
577
- background-color:rgb(229 231 235 / var(--tw-bg-opacity))
1032
+ background-color:rgb(var(--_histoire-color-primary-300) / var(--tw-bg-opacity))
578
1033
  }
579
1034
 
580
- .hover\:htw-bg-primary-300:hover{
1035
+ .hover\:htw-bg-primary-600:hover{
581
1036
  --tw-bg-opacity:1;
582
- background-color:rgb(165 180 252 / var(--tw-bg-opacity))
1037
+ background-color:rgb(var(--_histoire-color-primary-600) / var(--tw-bg-opacity))
1038
+ }
1039
+
1040
+ .hover\:htw-bg-primary-500\/50:hover{
1041
+ background-color:rgb(var(--_histoire-color-primary-500) / 0.5)
1042
+ }
1043
+
1044
+ .hover\:htw-text-primary-500:hover{
1045
+ --tw-text-opacity:1;
1046
+ color:rgb(var(--_histoire-color-primary-500) / var(--tw-text-opacity))
583
1047
  }
584
1048
 
585
- .hover\:htw-bg-primary-500\/25:hover{
586
- background-color:rgb(99 102 241 / 0.25)
1049
+ .focus\:htw-opacity-100:focus{
1050
+ opacity:1
1051
+ }
1052
+
1053
+ .focus-visible\:htw-border-primary-500:focus-visible{
1054
+ --tw-border-opacity:1;
1055
+ border-color:rgb(var(--_histoire-color-primary-500) / var(--tw-border-opacity))
1056
+ }
1057
+
1058
+ .htw-dark .dark\:htw-divide-gray-850 > :not([hidden]) ~ :not([hidden]){
1059
+ --tw-divide-opacity:1;
1060
+ border-color:rgb(var(--_histoire-color-gray-850) / var(--tw-divide-opacity))
587
1061
  }
588
1062
 
589
1063
  .htw-dark .dark\:htw-border-gray-800{
590
1064
  --tw-border-opacity:1;
591
- border-color:rgb(31 41 55 / var(--tw-border-opacity))
1065
+ border-color:rgb(var(--_histoire-color-gray-800) / var(--tw-border-opacity))
1066
+ }
1067
+
1068
+ .htw-dark .dark\:htw-border-primary-900{
1069
+ --tw-border-opacity:1;
1070
+ border-color:rgb(var(--_histoire-color-primary-900) / var(--tw-border-opacity))
1071
+ }
1072
+
1073
+ .htw-dark .dark\:htw-border-gray-850{
1074
+ --tw-border-opacity:1;
1075
+ border-color:rgb(var(--_histoire-color-gray-850) / var(--tw-border-opacity))
1076
+ }
1077
+
1078
+ .htw-dark .dark\:htw-border-gray-700\/30{
1079
+ border-color:rgb(var(--_histoire-color-gray-700) / 0.3)
592
1080
  }
593
1081
 
594
- .htw-dark .dark\:htw-bg-primary-900{
1082
+ .htw-dark .dark\:htw-bg-gray-700{
595
1083
  --tw-bg-opacity:1;
596
- background-color:rgb(49 46 129 / var(--tw-bg-opacity))
1084
+ background-color:rgb(var(--_histoire-color-gray-700) / var(--tw-bg-opacity))
597
1085
  }
598
1086
 
599
1087
  .htw-dark .dark\:htw-bg-gray-800{
600
1088
  --tw-bg-opacity:1;
601
- background-color:rgb(31 41 55 / var(--tw-bg-opacity))
1089
+ background-color:rgb(var(--_histoire-color-gray-800) / var(--tw-bg-opacity))
1090
+ }
1091
+
1092
+ .htw-dark .dark\:htw-bg-primary-700{
1093
+ --tw-bg-opacity:1;
1094
+ background-color:rgb(var(--_histoire-color-primary-700) / var(--tw-bg-opacity))
1095
+ }
1096
+
1097
+ .htw-dark .dark\:htw-bg-gray-850{
1098
+ --tw-bg-opacity:1;
1099
+ background-color:rgb(var(--_histoire-color-gray-850) / var(--tw-bg-opacity))
1100
+ }
1101
+
1102
+ .htw-dark .dark\:htw-bg-gray-750{
1103
+ --tw-bg-opacity:1;
1104
+ background-color:rgb(var(--_histoire-color-gray-750) / var(--tw-bg-opacity))
1105
+ }
1106
+
1107
+ .htw-dark .dark\:htw-bg-gray-700\/80{
1108
+ background-color:rgb(var(--_histoire-color-gray-700) / 0.8)
1109
+ }
1110
+
1111
+ .htw-dark .dark\:htw-text-gray-100{
1112
+ --tw-text-opacity:1;
1113
+ color:rgb(var(--_histoire-color-gray-100) / var(--tw-text-opacity))
1114
+ }
1115
+
1116
+ .htw-dark .dark\:htw-text-primary-200{
1117
+ --tw-text-opacity:1;
1118
+ color:rgb(var(--_histoire-color-primary-200) / var(--tw-text-opacity))
1119
+ }
1120
+
1121
+ .htw-dark .dark\:htw-text-black{
1122
+ --tw-text-opacity:1;
1123
+ color:rgb(0 0 0 / var(--tw-text-opacity))
1124
+ }
1125
+
1126
+ .htw-dark .dark\:htw-text-white\/\[2\%\]{
1127
+ color:rgb(255 255 255 / 2%)
1128
+ }
1129
+
1130
+ .htw-dark .dark\:hover\:htw-bg-primary-900:hover{
1131
+ --tw-bg-opacity:1;
1132
+ background-color:rgb(var(--_histoire-color-primary-900) / var(--tw-bg-opacity))
1133
+ }
1134
+
1135
+ .htw-dark .dark\:hover\:htw-bg-gray-800:hover{
1136
+ --tw-bg-opacity:1;
1137
+ background-color:rgb(var(--_histoire-color-gray-800) / var(--tw-bg-opacity))
602
1138
  }
603
1139
 
604
- .htw-dark .dark\:htw-text-gray-600{
1140
+ .htw-dark .dark\:hover\:htw-bg-primary-800:hover{
1141
+ --tw-bg-opacity:1;
1142
+ background-color:rgb(var(--_histoire-color-primary-800) / var(--tw-bg-opacity))
1143
+ }
1144
+
1145
+ .htw-dark .dark\:hover\:htw-bg-primary-700:hover{
1146
+ --tw-bg-opacity:1;
1147
+ background-color:rgb(var(--_histoire-color-primary-700) / var(--tw-bg-opacity))
1148
+ }
1149
+
1150
+ .htw-dark .dark\:hover\:htw-text-primary-400:hover{
605
1151
  --tw-text-opacity:1;
606
- color:rgb(75 85 99 / var(--tw-text-opacity))
1152
+ color:rgb(var(--_histoire-color-primary-400) / var(--tw-text-opacity))
1153
+ }
1154
+
1155
+ @media (min-width: 768px){
1156
+ .md\:htw-mx-auto{
1157
+ margin-left:auto;
1158
+ margin-right:auto
1159
+ }
1160
+
1161
+ .md\:htw-mt-16{
1162
+ margin-top:4rem
1163
+ }
607
1164
  }